{"id":13666713,"url":"https://github.com/lnbits/nostrnip5","last_synced_at":"2025-08-17T13:08:02.517Z","repository":{"id":73758129,"uuid":"601611799","full_name":"lnbits/nostrnip5","owner":"lnbits","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T12:44:05.000Z","size":348,"stargazers_count":3,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-17T13:37:52.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnbits.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":"2023-02-14T12:49:03.000Z","updated_at":"2025-02-17T12:43:43.000Z","dependencies_parsed_at":"2024-05-14T09:38:48.210Z","dependency_job_id":"a715e08c-610c-46b6-9ed2-d0397b893469","html_url":"https://github.com/lnbits/nostrnip5","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fnostrnip5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fnostrnip5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fnostrnip5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnbits%2Fnostrnip5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnbits","download_url":"https://codeload.github.com/lnbits/nostrnip5/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241567238,"owners_count":19983457,"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-02T06:01:24.017Z","updated_at":"2025-03-02T20:28:44.555Z","avatar_url":"https://github.com/lnbits.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Nostr NIP-05 - \u003csmall\u003e[LNbits](https://github.com/lnbits/lnbits) extension\u003c/small\u003e\n\n\u003csmall\u003eFor more about LNBits extension check [this tutorial](https://github.com/lnbits/lnbits/wiki/LNbits-Extensions)\u003c/small\u003e\n\n## Allow users to NIP-05 verify themselves at a domain you control\n\nThis extension allows users to sell NIP-05 verification to other nostr users on a domain they control.\n\n## Usage\n\n1. Create a Domain by clicking \"NEW DOMAIN\"\\\n2. Fill the options for your DOMAIN\n   - select the wallet\n   - select the fiat currency the invoice will be denominated in\n   - select an amount in fiat to charge users for verification\n   - enter the domain (or subdomain) you want to provide verification for\n     - Note, you must own this domain and have access to a web server\n3. You can then use share your signup link with your users to allow them to sign up\n\n## Installation\n\nIn order for this to work, you need to have ownership of a domain name, and access to a web server that this domain is pointed to.\n\nThen, you'll need to set up a proxy that points `https://{your_domain}/.well-known/nostr.json` to `https://{your_lnbits}/nostrnip5/api/v1/domain/{domain_id}/nostr.json`\n\nExample nginx configuration\n\n```\n## Proxy Server Caching\nproxy_cache_path /tmp/nginx_cache keys_zone=nip5_cache:5m levels=1:2 inactive=300s max_size=100m use_temp_path=off;\n\nlocation /.well-known/nostr.json {\n   proxy_pass https://{your_lnbits}/nostrnip5/api/v1/domain/{domain_id}/nostr.json;\n   proxy_set_header Host {your_lnbits};\n   proxy_ssl_server_name on;\n\n   expires 5m;\n   add_header Cache-Control \"public, no-transform\";\n\n   proxy_cache nip5_cache;\n   proxy_cache_lock on;\n   proxy_cache_valid 200 300s;\n   proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;\n}\n```\n\n### Example Caddy configuration\n\n```\nmy.lnbits.instance {\n    reverse_proxy {your_lnbits}\n}\n\nnip.5.domain {\n    route /.well-known/nostr.json {\n        rewrite * /nostrnip5/api/v1/domain/{domain_id}/nostr.json\n        reverse_proxy {your_lnbits}\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fnostrnip5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnbits%2Fnostrnip5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnbits%2Fnostrnip5/lists"}