Steampipe plugin for the Hypothesis annotation system

Hypothesis Plugin for Steampipe

Prerequisites

Build

$ git clone https://github.com/judell/steampipe-plugin-hypothesis.git

$ cd steampipe-plugin-hypothesis

$ make # builds, then puts the plugin into your `~/.steampipe/plugins` directory

$ cp config/* ~/.steampipe/config # tells steampipe to load the plugin

Try it!

0 and "user" !~ 'judell' ] user | tags ----------+-------------------------------------------------------------- robins80 | ["rikersierra1"] robins80 | ["HypothesisTest", "3219099"] robins80 | ["HypothesisTest", "3219099"] ryany25 | ["asdf;", "asdfaasdf"] ryany25 | ["T-cell acute lymphoblastic leukemia-associated antigen 1"] ">
$ steampipe query

> select 
    "user",
    tags
  from 
    hypothesis_search 
  where 
    query = 'uri=https://www.example.com'
  and jsonb_array_length(tags) > 0
  and "user" !~ 'judell'
]

   user   |                             tags
----------+--------------------------------------------------------------
 robins80 | ["rikersierra1"]
 robins80 | ["HypothesisTest", "3219099"]
 robins80 | ["HypothesisTest", "3219099"]
 ryany25  | ["asdf;", "asdfaasdf"]
 ryany25  | ["T-cell acute lymphoblastic leukemia-associated antigen 1"]

API token

The token is optional. Without it, you can still query the Hypothesis public layer.

If you are a Hypothesis user wanting to query your own private notes, or notes in private groups you belong to, then log in, open https://hypothes.is/account/developer, generate a token, and copy it into ~/.steampipe/config/hypothesis.spc like so.

connection "hypothesis" {
  plugin  = "hypothesis"
  token   = "6879-35....3df5"
}

More examples

The plugin supports one table, hypothesis_search. For more example searches, see that table's documentation page.

Links

Steampipe: steampipe.io

Blog: steampipe.io/blog

Community: steampipe.io/community/join

Similar Resources

Cross-platform file system notifications for Go.

File system notifications for Go fsnotify utilizes golang.org/x/sys rather than syscall from the standard library. Ensure you have the latest version

Dec 30, 2022

go language generics system

Gotgo This document describes the third iteration of my attempt at a reasonable implementation of generics for go based on the idea of template packag

Dec 31, 2022

File system event notification library on steroids.

notify Filesystem event notification library on steroids. (under active development) Documentation godoc.org/github.com/rjeczalik/notify Installation

Jan 7, 2023

Mobile Blogging System

Mobile Blogging System

Mar 3, 2022

An unified key management system to make life easier.

An unified key management system to make life easier.

Safebox An unified key management system to make life easier. The main goal of safebox is to make key backup easier with single main key to derive the

Nov 15, 2022

Entitas-Go is a fast Entity Component System Framework (ECS) Go 1.17 port of Entitas v1.13.0 for C# and Unity.

Entitas-Go Entitas-GO is a fast Entity Component System Framework (ECS) Go 1.17 port of Entitas v1.13.0 for C# and Unity. Code Generator Install the l

Dec 26, 2022

Lithia is an experimental functional programming language with an implicit but strong and dynamic type system.

Lithia is an experimental functional programming language with an implicit but strong and dynamic type system. Lithia is designed around a few core concepts in mind all language features contribute to.

Dec 24, 2022

A golang application to mock the billing system

mock-billing-cli A golang application to mock the billing system in super markets Features View all items & items with filter Refill items with admin

Jan 13, 2022

a leaderboard system that can run on any Internet enabled device.

hacktoberfest-leaderboard a leaderboard system that can run on any Internet enabled device. How it works The app updates the leaderboard on README.md

Nov 1, 2021
A Sonobuoy plugin to assess @crossplane conformance.

Crossplane Conformance Suite A Sonobuoy plugin to assess Crossplane conformance. To try it, first download the sonobuoy CLI, then: # The version of Cr

Jun 19, 2022
Kong Verifier plugin for HSDP API signed requests

Kong Verifier plugin for HSDP API signed requests

Jan 7, 2022
mackerel metric plugin for count lines in log

mackerel metric plugin for count lines in log

Nov 13, 2021
Simple plugin to enable the /flip command inside of Mattermost

Plugin Starter Template This plugin serves as a starting point for writing a Mattermost plugin. Feel free to base your own plugin off this repository.

Nov 4, 2021
Rollup plugin go wasm

Rollup plugin go wasm

May 11, 2022
A helm plugin that shows a diff explaining what a helm upgrade would change
A helm plugin that shows a diff explaining what a helm upgrade would change

Helm Diff Plugin This is a Helm plugin giving your a preview of what a helm upgrade would change.

Jan 4, 2023
Traefik plugin for MaxMind GeoIP2

Traefik plugin for MaxMind GeoIP2 Traefik plugin that registers a custom middleware for getting data from MaxMind GeoIP databases and pass it downstre

Dec 19, 2021
The Webhooks Listener-Plugin library consists of two component libraries written in GoLang

The Webhooks Listener-Plugin library consists of two component libraries written in GoLang: WebHook Listener Libraries and Plugin (Event Consumer) Libraries.

Feb 3, 2022
:chart_with_upwards_trend: Monitors Go MemStats + System stats such as Memory, Swap and CPU and sends via UDP anywhere you want for logging etc...

Package stats Package stats allows for gathering of statistics regarding your Go application and system it is running on and sent them via UDP to a se

Nov 10, 2022
Real-time Charging System for Telecom & ISP environments

Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments Features Real-time Online/Offline Charging System (OCS). Account Balance

Dec 31, 2022