{"id":13832801,"url":"https://github.com/vdo/nostr-rs-relay-compose","last_synced_at":"2025-09-02T08:35:49.778Z","repository":{"id":117592108,"uuid":"460411134","full_name":"vdo/nostr-rs-relay-compose","owner":"vdo","description":"Docker compose deployment for nostr","archived":false,"fork":false,"pushed_at":"2023-02-03T08:24:16.000Z","size":10,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-02T13:07:39.913Z","etag":null,"topics":["docker-compose","nostr","relay"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/vdo.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":"2022-02-17T11:44:08.000Z","updated_at":"2024-06-11T19:01:38.000Z","dependencies_parsed_at":"2024-01-13T16:32:23.259Z","dependency_job_id":"30422763-9536-4386-8b2f-9452bbb07ff6","html_url":"https://github.com/vdo/nostr-rs-relay-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vdo/nostr-rs-relay-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdo%2Fnostr-rs-relay-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdo%2Fnostr-rs-relay-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdo%2Fnostr-rs-relay-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdo%2Fnostr-rs-relay-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdo","download_url":"https://codeload.github.com/vdo/nostr-rs-relay-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdo%2Fnostr-rs-relay-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273257044,"owners_count":25073528,"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-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["docker-compose","nostr","relay"],"created_at":"2024-08-04T11:00:31.029Z","updated_at":"2025-09-02T08:35:49.755Z","avatar_url":"https://github.com/vdo.png","language":"Shell","funding_links":[],"categories":["Install from Source","Tools"],"sub_categories":["Nostr","Client reviews and/or comparisons"],"readme":"# nostr-rs-relay-compose\n\nDocker compose deployment for [nostr](https://github.com/fiatjaf/nostr), using the Rust relay [nostr-rs-relay](https://sr.ht/~gheartsfield/nostr-rs-relay/) and [Traefik](https://traefik.io/).\n\n## Requirements\n\n- Docker (tested with 20.10.12)\n\n- Docker compose (tested with 1.29.2)\n\n## Instructions\n\n1. Edit the .env var and adjust it to your needs (domain, email for Let's Encrypt, ...)\n\n2. Edit the config file `config.toml` with your preferred settings.\n\n3. Pull and start:\n\n```\ndocker-compose pull\ndocker-compose up -d\n```\n\n4. Check the logs:\n\n```\ndocker-compose logs nostr-rs-relay\n\n```\n\n5. Done! You can test the WebSocket connectivity with [websocat](https://github.com/vi/websocat):\n\n```\n\u003e echo '[\"REQ\", \"test\", {}]' | websocat -1 -n wss://nostr.unknown.place\n[\"EVENT\",\"test\",{\"id\":\"19070d74d81118aa9b412b597615f380778ededd1df71f551a5aa83dd02ae91b\",\"pubkey\":\"48bd69736fa9e0a322aa132ec7613313b84fd064319c4f0ef4fdb8a55a66ad09\",\"created_at\":1645103669,\"kind\":1,\"tags\":[],\"content\":\"this is a test\",\"sig\":\"517f8073f2ea8d5e2de6d51b42e3c32d79994b02d744a1d28e5bd56213af0248e64119ec5d034dc5b3fbc4d6d535238b5cb3683752d3a392be5715136a063362\"}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdo%2Fnostr-rs-relay-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdo%2Fnostr-rs-relay-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdo%2Fnostr-rs-relay-compose/lists"}