2f
shadow
2f2cb3e0d6d245dfe9c11e2568b105e097fda752484ca354e4d86acbe19d063c

logo has one benefit

we have many apps

but there exists a lot more apps

so how does one know that app x and y use same protocol, ie, you can find same content and people using these two apps

we should have a way to identify that these apps use same protocol

assumption is that general population do not know what nostr means

imagine you dont know what internet is

then you see two icons on your desktop: chrome, firefox

you have no clue these two applications use same protocol

there should be smaller icon next to the app icon to inform user that these applications are compatible and can read same content

im for the logo after all

some of my stuff in this directory

dserver.mjs - http server for nostr websites

index.html - this directory listing

hostr-upload.mjs - upload files

fileloader.html - for viewing larger files (split files)

filepublish.html - for uploading larger files and multiple files

media.html - images, videos

hostr_loader.xpi - experimental firefox addon for loading decentralized websites

content is available. use your favourite way to resolve these

pubkey:

npub1zqaq44rqz0h6vf2q2fhlvldy9d80pucuwhv0myf3pzu4v4nvw

d tag: as specified above for each file

request example:

["REQ","q",{"authors":["103a0ad46013efa62540526ff67da42b4ef0f31c75d8fd913108b956566c7126"], "#d": ["directory_test/simple_test.html"]}]

node dserver.mjs

http://localhost:3001/npub1zqaq44rqz0h6vf2q2fhlvldy9d80pucuwhv0myf3pzu4v4nvwynquf0rna/index.html

hostr.cc

https://h.hostr.cc/p/npub1zqaq44rqz0h6vf2q2fhlvldy9d80pucuwhv0myf3pzu4v4nvwynquf0rna/d/index.html

onion

http://shadowxcu2g6r6dfhnjsvojo5rqnlv42q25ko6zih5w3kwl2mfss3bad.onion/

maybe 5-6 hours doing performance optimization

from synchronous to concurrent

way faster

expect: any request can be bottleneck

continue doing stuff anyway

tor is good network performance throttling test

does your app work well on it?

NOTICE from wss://nos.lol: 'ERROR: too many concurrent REQs'

NOTICE from wss://r.hostr.cc: 'Subscription error: Maximum concurrent subscription count reached'

actually maybe just continue the program and let it do whatever it wants to wait

javascript errors be like:

Uncaught SyntaxError: missing ; after for-loop initializer

code be like:

for(let f og filenames){

yea, how is this error message related to the issue with code???

hostr needs protocol

i propose these:

web+hostr:/npub/d_tag

hostr:/npub/d_tag

web+hostr:/event_id

hostr:/event_id

also may need to register protocol handler for web+hostr at about:preferences#general, if firefox / os doesnt handle it correctly

this addon can open nostr relay hosted websites (html + js), as demonstrated in my previous notes

this will run nostr relat hosted websites (html + js), as demonstrated in my two previous notes

hostr_loader firefox addon can load urls like this

ext+hostr:80cd9c0d373c354ebdce97bd1da743e1c987cfd2e8423a27c7f665b039c32603

this development addon is available here:

https://www.mediafire.com/file/17hatrb7eq1mgmd/hostr_loader.xpi/file

https://x0.at/5n19.xpi

to install, go to

about:debugging#/runtime/this-firefox

and click "load temporary addon"

it will stay until you restart firefox

successfully loading media.html web app from nostr using extension

idk what is in the picture

this extension wont be in official addon site

mozilla do not accept extensions running externally loaded scripts

however it can be delivered as .xpi

firefox extension running full web page loaded from nostr event