File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 99- [x] CMS
1010- [x] Personal Nostr relay
1111- [x] Personal Blossom server
12+ - [x] [ NIP-05] ( https://github.com/nostr-protocol/nips/blob/master/05.md ) ("Nostr address") server
1213
1314### CMS
1415
Original file line number Diff line number Diff line change @@ -25,3 +25,7 @@ Servus implements the [Blossom API](https://github.com/hzrd149/blossom) and ther
2525* PUT ` /upload `
2626* GET ` /list/<pubkey> `
2727* DELETE ` /<sha256> `
28+
29+ ## NIP-05 API
30+
31+ * GET ` /.well-known/nostr.json ` will return a JSON that contains the site's Nostr pubkey
Original file line number Diff line number Diff line change @@ -1151,9 +1151,13 @@ async fn main() -> Result<(), std::io::Error> {
11511151 let bind_to = format ! ( "{addr}:{port}" ) ;
11521152 println ! ( "####################################" ) ;
11531153 for domain in domains {
1154+ println ! ( "++++++" ) ;
11541155 println ! ( "*** Your site: http://localhost:{port}/?{domain} ***" ) ;
1156+ println ! ( "*** Your Nostr identity (NIP-05): http://localhost:{port}/.well-known/nostr.json?{domain} ***" ) ;
1157+ println ! ( "++++++" ) ;
11551158 }
1156- println ! ( "*** The admin interface: http://localhost:{port}/.admin/ ***" ) ;
1159+ println ! ( "*** Admin interface: http://localhost:{port}/.admin/ ***" ) ;
1160+ println ! ( "++++++" ) ;
11571161 println ! ( "####################################" ) ;
11581162 app. listen ( bind_to) . await ?;
11591163 } ;
You can’t perform that action at this time.
0 commit comments