{"id":19178050,"url":"https://github.com/cmdruid/pubnote","last_synced_at":"2026-02-04T09:43:22.051Z","repository":{"id":117493506,"uuid":"598006199","full_name":"cmdruid/pubnote","owner":"cmdruid","description":"Send encrypted notes between terminals, from anywhere to anywhere, using nostr.","archived":false,"fork":false,"pushed_at":"2023-02-07T03:47:28.000Z","size":242,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T07:28:44.439Z","etag":null,"topics":["nostr","pastebin","remote","terminal"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmdruid.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}},"created_at":"2023-02-06T07:34:47.000Z","updated_at":"2024-05-05T23:10:54.000Z","dependencies_parsed_at":"2023-11-12T07:00:09.675Z","dependency_job_id":null,"html_url":"https://github.com/cmdruid/pubnote","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"2d0f2513ccc5483f8e76d9969e7682fd506e25c6"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cmdruid/pubnote","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdruid%2Fpubnote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdruid%2Fpubnote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdruid%2Fpubnote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdruid%2Fpubnote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmdruid","download_url":"https://codeload.github.com/cmdruid/pubnote/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdruid%2Fpubnote/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266624799,"owners_count":23958300,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["nostr","pastebin","remote","terminal"],"created_at":"2024-11-09T10:36:33.724Z","updated_at":"2026-02-04T09:43:17.031Z","avatar_url":"https://github.com/cmdruid.png","language":"JavaScript","readme":"# pubnote\n\n![](res/alice.gif)  \n![](res/bob.gif)\n\nSend encrypted notes between terminals, from anywhere to anywhere, using the power of nostr.\n\n## Installation\n\nThis program is designed to run as a simple binary. No installation required.\n\n## Usage\n\n```ts\n/**\nUsage: \n  Machine A: pubnote -p 'secretphrase' recv\n  Machine B: pubnote -p 'secretphrase' send \"whatever\" \"you\" \"want\"\n\nOptions:\n  --key     -k privkey  : Specify a 32 byte private key to use for signatures.\n                          Must provide in string hex format.\n\n  --pass    -p password : Specify the secret passphrase to use. The secret is\n                          hashed and used for end-to-end routing and encryption.\n\n  --relay   -r address  : Set the relay to use.\n  \n  --silent  -s          : Enable silent output (for better use in scripts).\n\n  --timeout -t          : Time to keep socket open when connecting \n                          (in milliseconds). Default is 500ms.\n  \n  --verbose -v          : Enable verbose debug output.  \n*/\n```\n\n## How it Works\n\nYour secret is hashed and use to encrypt each note over the wire. The note itself is tagged with a secure hash of the secret, which both parties use to delvier the note. The note is delivered over a relay (of your choice) using the nostr protocol.\n\nThat's about it really. I wanted to keep this simple.\n\n## Development\n\nThe project is setup to build standalone binaries using `pkg`. Simply run `yarn build`, then check the `dist` folder for the output.\n\n## Resources\n\n**Noble-secp256k1 Library**  \nUsed for identity and signing events.  \nhttps://github.com/paulmillr/noble-secp256k1\n\n**Websockets** (nodejs only)  \nUsed for communicating over a websocket.  \nhttps://github.com/websockets/ws\n\n**Pkg**  \nPackage Node.js projects into an executable.  \nhttps://github.com/vercel/pkg\n\n**Nostr Implementation Possibilities**  \nhttps://github.com/nostr-protocol/nips\n\n**Nostr-Emitter**  \nhttps://github.com/cmdruid/nostr-emitter\n\n## Contributions\nAll contributions are welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdruid%2Fpubnote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmdruid%2Fpubnote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdruid%2Fpubnote/lists"}