example
load kinds 1064 events, limit 15, offset 6
get mimetype from tag "type"
serve result as browser expects
nostr_http_server.mjs
route nostr events through http server, supports different mimetypes and base64 decoding
eg. files can be linked in notes
however what is needed, are reliable tor services
tor services tend to be unreliable
although another solution is to use service announcements
eg. service publishes event on relays saying it is available in some specified address
this is the potential of #tor, #i2p, people don't realize
the source of #404 you see on the internet is #dmca take down notices and scared server owners
when they don't know the origin of content, even single #server gains enormous power
even single server don't have to take any file down
because it is cloaked, they don't know where it is and who is keeping it up
are #nostr #devs ignoring potential of #tor #i2p?
we should #build
#nostr #relays behind tor
#filehosting behind tor
nostr #clients using only tor
build systems where they don't know the origin of the content
#filehosting should be #filetype #agnostic
these non-inclusive rasist file hosts who only accept
image/png, image/jpg, image/jpeg, image/gif, image/webp, video/mp4,, video/quicktime, video/mpeg, video/webm, audio/mpeg, audio/mpg, audio/mpeg3 and audio/mp3
are not solving real problem which is: how to host ((any file)) and ((keep it available)) for ((anyone who wants to download it))
(wish there was bold text)
just as nostr relays are dump, they dont discriminate based on note content, so should any file host be
if file host does not allow uploading virus.exe, it is built wrong. build it again, build it the way they (who want to take your file down) don't know where the file originates
webtorrent through tor could be great, but the latency to load single image should be more like 100 ms rather than 30 seconds if we want to integrate it as image host
idk why its so slow to initialize
upload.mjs
status.mjs
#nip-96
good luck finding the files :))
nostr:note14ejwth58zkjhspa4g6zww8uwft4d9ynvtlngv4hveg7ge4ca86zq363acl
from these 6 servers, only 2 seems to accept my #uploads anymore
#nip-96 is broken at current state, or we need way more servers
nostrcheck.me
nostrage.com
sove.rent
nostr.build
files.sovbit.host
void.cat
so i'm #proposing some kind of #announce event for file #servers
any nip or #kind they are using, they should announce they are #file servers and you can #find files there. these server addresses could be #clearweb #domains, #ip addresses, #ipfs addresses or #onion addresses
