{"id":15870956,"url":"https://github.com/sgreben/gopass-jsonapi-encode","last_synced_at":"2025-04-01T22:25:26.441Z","repository":{"id":80988916,"uuid":"170750705","full_name":"sgreben/gopass-jsonapi-encode","owner":"sgreben","description":"reads JSON on stdin and writes gopass JSONAPI messages on stdout. single binary, no dependencies. linux, osx, windows. #golang","archived":false,"fork":false,"pushed_at":"2020-06-05T01:43:20.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T14:39:52.913Z","etag":null,"topics":["api","create","gopass","import","json","query"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgreben.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-14T20:04:14.000Z","updated_at":"2021-04-24T06:03:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"fad09fea-7f29-4028-bdb7-4c514aa89fb3","html_url":"https://github.com/sgreben/gopass-jsonapi-encode","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fgopass-jsonapi-encode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fgopass-jsonapi-encode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fgopass-jsonapi-encode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgreben%2Fgopass-jsonapi-encode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgreben","download_url":"https://codeload.github.com/sgreben/gopass-jsonapi-encode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246719636,"owners_count":20822782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","create","gopass","import","json","query"],"created_at":"2024-10-06T00:41:06.650Z","updated_at":"2025-04-01T22:25:26.414Z","avatar_url":"https://github.com/sgreben.png","language":"Go","readme":"# gopass-jsonapi-encode\n\nEncode JSON as [gopass](https://github.com/gopasspw/gopass) JSONAPI messages.\n\n`gopass-jsonapi-encode` reads JSON on stdin and writes JSONAPI messages on stdout.\n\n## Contents\n\n- [Contents](#contents)\n  - [Examples](#examples)\n- [Get it](#get-it)\n  - [Using `go get`](#using-go-get)\n  - [Pre-built binary](#pre-built-binary)\n\n### Examples\n\n```sh\n$ jq -n '{\"type\":\"query\",\"query\":\"github.com\"}' | gopass-jsonapi-encode | gopass jsonapi listen\n\n_[\"github.com/example\"]\n```\n\n```sh\n$ jq -n '{\"type\":\"create\",\"entry_name\":\"127.0.0.1/admin\",\"login\":\"admin\",\"password\":\"hunter2\"}' | gopass-jsonapi-encode | gopass jsonapi listen\n\n_{\"username\":\"admin\",\"password\":\"hunter2\"}\n```\n\n## Get it\n\n### Using `go get`\n\n```sh\ngo get -u github.com/sgreben/gopass-jsonapi-encode\n```\n\n### Pre-built binary\n\nOr [download a binary](https://github.com/sgreben/gopass-jsonapi-encode/releases/latest) from the releases page, or from the shell:\n\n```sh\n# Linux\ncurl -L https://github.com/sgreben/gopass-jsonapi-encode/releases/download/0.0.3/gopass-jsonapi-encode_0.0.3_linux_x86_64.tar.gz | tar xz\n\n# OS X\ncurl -L https://github.com/sgreben/gopass-jsonapi-encode/releases/download/0.0.3/gopass-jsonapi-encode_0.0.3_osx_x86_64.tar.gz | tar xz\n\n# Windows\ncurl -LO https://github.com/sgreben/gopass-jsonapi-encode/releases/download/0.0.3/gopass-jsonapi-encode_0.0.3_windows_x86_64.zip\nunzip gopass-jsonapi-encode_0.0.3_windows_x86_64.zip\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgreben%2Fgopass-jsonapi-encode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgreben%2Fgopass-jsonapi-encode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgreben%2Fgopass-jsonapi-encode/lists"}