{"id":17649118,"url":"https://github.com/bndw/vim-nostr","last_synced_at":"2025-03-30T08:43:01.232Z","repository":{"id":223752938,"uuid":"761394068","full_name":"bndw/vim-nostr","owner":"bndw","description":"Publish nostr events from vim.","archived":false,"fork":false,"pushed_at":"2024-02-21T20:25:47.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T10:50:13.013Z","etag":null,"topics":["nostr"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bndw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-02-21T19:37:33.000Z","updated_at":"2024-08-17T13:04:49.000Z","dependencies_parsed_at":"2024-02-21T22:44:18.425Z","dependency_job_id":null,"html_url":"https://github.com/bndw/vim-nostr","commit_stats":null,"previous_names":["bndw/vim-nostr"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fvim-nostr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fvim-nostr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fvim-nostr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fvim-nostr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bndw","download_url":"https://codeload.github.com/bndw/vim-nostr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246296583,"owners_count":20754632,"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":["nostr"],"created_at":"2024-10-23T11:24:10.900Z","updated_at":"2025-03-30T08:43:01.205Z","avatar_url":"https://github.com/bndw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-nostr\n\nExperimental tooling for publishing nostr events from vim.\n\nDraft your post in vim and when you're ready to publish, run `:NostrPost`.\nThis will create and publish a kind 1 note to your relays.\n\n## Setup\n\n1. Create the required config file at `~/.config/nostr/config.json`:\n\n\u003e Note: The config file is the same format used by [algia](https://github.com/mattn/algia?tab=readme-ov-file#configuration)\nand [noscl](https://github.com/fiatjaf/noscl).\n\n\n```json\n{\n  \"relays\": {\n    \"wss://relay.damus.io\": {\n      \"read\": true,\n      \"write\": true\n    }\n  },\n  \"privatekey\": \"\u003chex priv key\u003e\"\n}\n```\n\n2. Install the Go program that bridges vim and nostr:\n\n```\ngo install github.com/bndw/vim-nostr@latest\n```\n\n3. Install the vim-nostr vim plugin. We're going to use `vim-plug` but feel free to use other plugin managers instead. \n\n```\ncurl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\ngit clone https://github.com/bndw/vim-nostr.git ~/.vim/plugged/vim-nostr\n```\n\nCreate a `~/.vimrc` with the following:\n\n```\ncall plug#begin()\nPlug 'bndw/vim-nostr'\ncall plug#end()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbndw%2Fvim-nostr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbndw%2Fvim-nostr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbndw%2Fvim-nostr/lists"}