maybe #http #fileupload with changing #tor #onion addresses would be best for keeping #files and ignoring toxic #dmca #takedown requests
these onion #servers could #announce their existence in nostr #events. their addresses could even change regularly, so that one could not know whether the file they requested comes from same or different server now or tomorrow, as same server could change their onion address.
#nip-96 is currently supported by 6 file upload servers, which is more than #nip-97 (probably one demo server), but less than any nip using relays directly (#nip-95, or kind 334/335)
nostrcheck.me
nostrage.com
sove.rent
nostr.build
files.sovbit.host
void.cat
#kind-334 / #kind-335 are exclusive kinds for #nostrfileviewer, which supports any size of #files #uploaded directly to #relays. it supports #uploading #images without additional #compression / quality loss as well as uploading any other file type, like #archives, executables, #videos etc..
investigating #nip-96. it is interesting sure, though way more complicated than #nip-97
also is there any kind of file replication? i guess i need to manually upload to each server, as there is no #nostr integration at server side. and manually query each server if my #file exists there.
still no idea what even is #kind-10096. some kind of undocumented event no one is using. but there must be a way to find files in relays. maybe its this event idk ...
echo '["REQ","q",{"kinds":[10096]}]' | websocat wss://relay.nostr.band
echo '["REQ","q",{"kinds":[10096]}]' | websocat wss://nos.lol
--> nothing
#nip-96 #nip-98 uploader in #nodejs
usage:
node upload.mjs "path to file" https://nostrcheck.me/api/v2/media
upload.mjs source:
tldr;
#host your #website on #iris
nostr:note1gkgsn4t9m9ytjg8w84uphrnhfn64gey6dhsu33a26ph4cuzxyt9qmnzx73
what is this?
#iris_ipfs hosted on #ipfs
iris-ipfs is iris with some fixes so that it runs well on ipfs, as well as some other fixes and added features, like support for #hostr content
now this link is to hostr content
its #html + #javascript app "nostr file viewer" hosted on hostr, eg, its source code is stored in nostr note
however, now as #iris + hostr has been integrated, there needs to be only one #webserver or another way to access the #sourcecode. it is available through ipfs gateways, but also you could access it through your local ipfs node
nostr:note1qkxfqd2c9rg59gxa3xgsqq0ckhd2ay00vxsfqlr33l9f7s0zf5wskhak8t
bafybeihn4pt25sfnasjjxo2byvp74jik6s3edafd47qkgh3sjh2m2ndyx4.ipfs.cf-ipfs.com/#/note1zmefkecr6twksx27q4k77n6lqd4rqr8g7s7ew2vrfa0zmrl9vamq4urr9v
#coracle does same as primal, exceptit adds additional space after -
