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 9
9
- [x] CMS
10
10
- [x] Personal Nostr relay
11
11
- [x] Personal Blossom server
12
+ - [x] [ NIP-05] ( https://github.com/nostr-protocol/nips/blob/master/05.md ) ("Nostr address") server
12
13
13
14
### CMS
14
15
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
25
25
* PUT ` /upload `
26
26
* GET ` /list/<pubkey> `
27
27
* 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> {
1151
1151
let bind_to = format ! ( "{addr}:{port}" ) ;
1152
1152
println ! ( "####################################" ) ;
1153
1153
for domain in domains {
1154
+ println ! ( "++++++" ) ;
1154
1155
println ! ( "*** Your site: http://localhost:{port}/?{domain} ***" ) ;
1156
+ println ! ( "*** Your Nostr identity (NIP-05): http://localhost:{port}/.well-known/nostr.json?{domain} ***" ) ;
1157
+ println ! ( "++++++" ) ;
1155
1158
}
1156
- println ! ( "*** The admin interface: http://localhost:{port}/.admin/ ***" ) ;
1159
+ println ! ( "*** Admin interface: http://localhost:{port}/.admin/ ***" ) ;
1160
+ println ! ( "++++++" ) ;
1157
1161
println ! ( "####################################" ) ;
1158
1162
app. listen ( bind_to) . await ?;
1159
1163
} ;
You can’t perform that action at this time.
0 commit comments