nostr_http_server.mjs
route nostr events through http server, supports different mimetypes and base64 decoding
eg. files can be linked in notes
http://bafybeifv7ocpq7pkbwtw5bygwzinfregj2gsvfxge2likxbiftcbik6ag4.ipfs.cf-ipfs.com/#/hostr/p/c489c2bb22c693fc4bfaf444cc34fb247c2132995683ab659222725270d81635/d/fileloader.html#d9c780558d636aa7d1ee217ef9f9403b04268d3cd047a23c2e3fc016a4d9578f/inline/quiet
example
load kinds 1064 events, limit 15, offset 6
get mimetype from tag "type"
serve result as browser expects
http://localhost:3000/kinds/1064/tag/type/15/6
Please Login to reply.
No replies yet.