{"id":13832931,"url":"https://github.com/Dolu89/nodestr-relay","last_synced_at":"2025-07-09T20:30:48.927Z","repository":{"id":81573511,"uuid":"329067954","full_name":"Dolu89/nodestr-relay","owner":"Dolu89","description":null,"archived":true,"fork":false,"pushed_at":"2022-12-19T14:17:28.000Z","size":107,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T05:46:26.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"wss://nodestr-relay.dolu.dev/ws","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dolu89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-01-12T17:54:01.000Z","updated_at":"2025-05-02T18:37:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f44fc05-156c-4139-981a-c137b156113c","html_url":"https://github.com/Dolu89/nodestr-relay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dolu89/nodestr-relay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dolu89%2Fnodestr-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dolu89%2Fnodestr-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dolu89%2Fnodestr-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dolu89%2Fnodestr-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dolu89","download_url":"https://codeload.github.com/Dolu89/nodestr-relay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dolu89%2Fnodestr-relay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502642,"owners_count":23618663,"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":[],"created_at":"2024-08-04T11:00:34.102Z","updated_at":"2025-07-09T20:30:48.538Z","avatar_url":"https://github.com/Dolu89.png","language":"TypeScript","funding_links":[],"categories":["Install from Source","Deprecated"],"sub_categories":["Nostr","Client reviews and/or comparisons"],"readme":"⚠️ READ-ONLY. Please check https://github.com/Cameri/nostr-ts-relay for another Nostr relay written in TS.\r\n\r\n# Nodestr Relay - A [nostr](https://github.com/fiatjaf/nostr) implementation in Node.js\r\n\r\n---\r\n\r\nPlease refer to the official [NIPs](https://github.com/fiatjaf/nostr/tree/master/nips) repo\r\n\r\n- [x] NIP 01\r\n\t - [x] sub-key\r\n\t - [x] unsub-key\r\n\t - [x] req-feed\r\n\t - [x] req-event\r\n\t - [x] req-key\r\n\t - [x] event (publish)\r\n    \t - [x] set_metadata\r\n    \t - [x] text_note\r\n    \t - [x] recommend_server\r\n- [ ] NIP 02\r\n- [ ] NIP 03\r\n\r\n--- \r\n\r\n## How to install\r\n1. Clone \u0026 install\r\n``` bash\r\ngit clone https://github.com/Dolu89/nodestr-relay.git\r\ncd nodestr-relay\r\nyarn\r\nnode ace generate:key\r\n```\r\n2. Create .env file\r\n```\r\nPORT=3333\r\nHOST=0.0.0.0\r\nNODE_ENV=development\r\nAPP_KEY=YourSecretKey  # result of 'node ace generate:key'\r\nDB_CONNECTION=pg\r\nPG_HOST=localhost\r\nPG_PORT=5432\r\nPG_USER=admin\r\nPG_PASSWORD=admin\r\nPG_DB_NAME=nostr\r\n``` \r\n3. DB migration\r\n```\r\nnode ace migration:run\r\n```\r\n4. Launch\r\n``` bash\r\nyarn dev\r\n```\r\n5. Profit!\r\n\r\n`ws://localhost:3333/ws`\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDolu89%2Fnodestr-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDolu89%2Fnodestr-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDolu89%2Fnodestr-relay/lists"}