After several weeks of persistent effort, I'm excited to share Nostr Web Services (NWS). NWS makes your web service reachable without having a publicly accessible IP address or DNS. All you need is an npub and a set of Nostr relays. A wide range of existing services could be run on NWS without requiring any significant changes. NWS achieves this by establishing a TCP connection between client and server which can be used by these applications. Please keep in mind, that the software is in a very early state and not even released yet. https://github.com/asmogo/nws
How different is this then ENS?
ENS is overlays DNS, this overlays TCP/IP like Tor. Fairly useless without a browser
errrrr.... nostr:note1vdjx7x9cdmmynnfjj36evnvacc8xjz0yll6pke3x8k7k9y6v3xmsf9c5wa
SSH is on top TCP/IP
Was referring to > Fairly useless without a browser I'm pretty sure this design also enables use with browsers when combined with DNS and traffic is allowed to exit into the open internet.
Good luck getting regular niggas to use ssh or socks 😂 I've already tried that.
Good things get wrapped into invisible UX and adopted without notice. "good luck getting regular people to use SSL certificates!"
That's what browsers do. Nostr autists aren't solving any problem unless they write a better browser (than firefox)
This is a very powerful, useful and interesting new development. There's no reason to piss on it because it didn't also rebuild the entire world. Everything doesn't have to be relevant for every normal person on earth in order to be useful and exciting for some (at first).
It doesn't matter if I piss on it or not. It doesn't matter if it's exciting to autists. It needs to be useful for a good chunk of people or it's another joke fad.
We disagree. New things need to be useful to 1 person first. Then 3, then 20, etc. How do you think we got anything?
All software I use was useful to millions of people from the beginning. Browser, media player, terminal emulator. Remember the app economy that didn't happen? Now you know it's cause the modern userbase chose 10 apps and nothing custom. Regardless, what problem does Nostr solve? Talking about bitcoin was never a problem
"until," not "unless"
Semantics 😀
Why do we need this?
So when domains go down or are taken down, access to the services don't go with them
Same reason you need Nostr when "twitter already exists"
But what advantages does this have over Tor or I2p hidden services?
Cats should be skinned many ways. Different approaches are better or worse for different contexts. Also, surprising net-new discoveries are made beyond the frontier when you re-solve a problem with a new stack. Sometimes some property of the stack, in connection with the "already solved problem", reveals novel new territory. (Look at "the microblog UX" getting "re-solved" by Nostr)
Cats should probably not be skinned
No Shitcoin?
When someone tells you that Nostr is just a Twitter alternative, tell them that our developers are literally rebuilding the Internet. nostr:nevent1qqsv78sjt0u38tzgzvulema5kyf7f0va58xpcu0jcwn2esudtwg00vqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygxhqr7pp4zha6hy7qhtqnt3tgz5sdlx3ghz6qgfwyuzchsszmwfncpsgqqqqqqshazqcn
Wow!!!
Is there a "why not Tor"?
Exactly. I don't get all of the excitement around this, either.
Nostr provides discoverability
lol, discoverability is still a problem in nostr. But, suspending disbelief, the result of discovering something is an extractable address. We don't say that Twitter provides discoverability and then conclude that Twitter should implement a new transport protocol.
tor is slow, doesnt scale and its not flexible. A native nostr discoverablity layer (and anonimity layer) could be used in many ways. One of them is a better tor with lightning/ecash micropayment to actually scale the service
Tor is slow because it works and people use it. Bouncing requests through one or two nodes won't provide reliable anonymity, and using relays as TCP/IP will be unbearably slow if more than two people actually use it.
tor is slow because therse no anti-spam (actually they added a sort of proof of work client side, but it is not so effective), theres no incentive to run nodes that are the facto moslty feds and volountary. If you add micropayments as spam filter and as economic incentive for people to run relays, you can have a tor network that scales. Also its trivial to implement in a way that provide reliable anonimity, it just need to reimplement onion routing, all problems in theory are solved.
Tor doesn't work in a browser without additional software. This will.
Furthermore, you can't trust Tor servers and a huge part of them are run by governments. The difference here is that we can choose the relay servers and avoid the ones we don't exactly trust.
nostr isn't protected against that either
Tor does work in the browser if you're prepared to run a proxy. That is additional software.
Correct, I wrote "without additional software". A proxy is additional software.
NWS main components Entry node: It forwards tcp packets to the exit node using a SOCKS proxy and creates encrypted events for the public key of the exit node. Exit node: It is a TCP reverse proxy that listens for incoming Nostr subscriptions and forwards the payload to the designated backend service. https://m.primal.net/JbPA.png
nostr:note1jaclnk5n5xf4fvnzuectlqtf57t30xkmv7kn8gx8rzya3nftr95q8qrhju
https://primal.net/e/note10kjsna96qpg4am8fm99t77589k286yehhlms86lyw4faeed7p8dsvvfem0
This Will guy gets it. I should see what else he's doing
Probably the best nostr dev, rn
nostr:nprofile1qqsrs7xetkmms4xr5rfm944hh7dl9zekzc47vsex74fphfcu7w6956gpr9mhxue69uhks6tkv46xzmrt9ehx7um5wgcjucm0d5qscamnwvaz7tmzwf3zu6t0qy2hwumn8ghj7etyv4hzumn0wd68ytnvv9hxghnqlhg
Hope this fix nostr ip leak into the relays itself nostr:nevent1qqsv78sjt0u38tzgzvulema5kyf7f0va58xpcu0jcwn2esudtwg00vqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygxhqr7pp4zha6hy7qhtqnt3tgz5sdlx3ghz6qgfwyuzchsszmwfncpsgqqqqqqshazqcn
Casually replacing IP. 🚀 nostr:nevent1qqsv78sjt0u38tzgzvulema5kyf7f0va58xpcu0jcwn2esudtwg00vqpz9mhxue69uhkummnw3ezuamfdejj7q3q6uq0cyx52lh2unczavzdw9dq2jphu69zutgpp9cnstz7zqtdex0qxpqqqqqqzqgvxga
I already do the same thing, connect to any service I want, using keys, without nostr: https://github.com/bitfinexcom/hypertele
Got this running and tested, so far so good. Nice work! Will keep tinkering with it.
That was fast, nice
ok this shit is cool af. https://m.primal.net/JaoC.png nostr:note1eu0pyklezwkysyeelnhmfvgnuj7emgwvr3cl9sax4npc6kus77cqzsn396
This is awesome
ðŸŒðŸ‘€ nostr:nevent1qqsv78sjt0u38tzgzvulema5kyf7f0va58xpcu0jcwn2esudtwg00vqpz9mhxue69uhkummnw3ezuamfdejj7q3q6uq0cyx52lh2unczavzdw9dq2jphu69zutgpp9cnstz7zqtdex0qxpqqqqqqzqgvxga
This sounds incredibly exciting. My first thought: What if someone tries to DDoS attack a web service? Wouldn't that then in turn also DDoS many Nostr relays?
By having all TCP packets proxied by the entry node, the number of incoming IP addresses for the relay operator is significantly reduced. This simplifies IP blacklisting in case of an attack, as NWS funnels all client requests through the entry nodes. Consequently, the distribution of requests is determined by the total number of entry nodes. If your goal is to DDoS Nostr relays, it's likely more effective to flood them with normal events.
stared it on gh!
How can we help?
Any contribution is welcome! Whether you want to be a contributor, an exit or entry node runner, or just help spread the word. I'm currently working on adding an HTTPS reverse proxy with auto-generated self-signed certificates. This will allow exit node runners to accept encrypted HTTPS connections from public entry nodes without enabling TLS in their backend services at all. https://github.com/asmogo/nws/pull/21
Seems like you're expending quite the effort to reinvent the wheel, no? Exit/Entry nodes? Why wouldn't you just use a more simple system already in place established by P2P tech?
Are you interested in investing in bitcoin mining? Here is the opportunity to start earning large in crypto mining using my platform and strategy. Just a Dm away from your financial freedom
Wow big shout out to my crypto expert, I invested $1,000 and got back $10,000 just within 6 hours of investing, y’all dm him now and get paid today 🥳🥳@jiimmysong@jiimmysong
Weekly recap; nostr:nevent1qqsvzkwvvf0cq67lf7nddm4rtg7x8zaqdwurkw7nv9lx3yzcgx3andctt0vpy nostr:nevent1qqs93m8wedjpqxw5rxl869pzke45usgjqdhajxfm2609e3q743l55lse0je3h nostr:nevent1qqsq6uuhttuljvan690yc8hww4sy38sjwat5ldkqejzzdfa3hf8434grasj4v nostr:nevent1qqsv78sjt0u38tzgzvulema5kyf7f0va58xpcu0jcwn2esudtwg00vqn72g6q nostr:nevent1qqs2fp9zkylrxak94jkaznhj959systtsujdhvfxuwfjzvlemss25cgcl4emc nostr:nevent1qqstwe6n4qchk85zf79dn4r4332v4ulc484hf5zmrp0rt6kqcl7teugp54gf4 nostr:nevent1qqsxwjenpwf7wulg50sfhvkpjrvtrg7xrevkz5kpx70kya06ykslp2cdpfv5n nostr:nevent1qqspz3qg7n2fvtnx5m0504uew9x29kn4e6m2l2wtpugy0wc2wucecece7xwr3 nostr:nevent1qqsz4mtuhe0kamf9gu9n9thwnnkt98dq73n54qappqrkzhhwrdgznsspuckcn nostr:nevent1qqsdx35hmyxpsx2exxg73tjsd0lnrr4y6jyvmdgjw5fdw94t3xf4r4gcla6xy nostr:nevent1qqsdma665ydf7g9svzcxyt9za9nynkn4jzen6s73s2djyl0mweq6zmgw7afev nostr:nevent1qqsw98gy8yvknxgw0pmdd46dkkvrfnqlusafzjnj47h88kkllu20lvcqnmwx0 nostr:nevent1qqsqphqtj6jl25d05593zyum602s06d2ll5cncdec692rujp2n08n0g5rl9qx nostr:nevent1qqsge2w2w8xtvxuc4jfgkg25rh6frysrdnphv270tvl0xy0wseszwzq5gehzw nostr:nevent1qqsw077s2mzlz20449emvynlcwmwjz8p0k0rar6x70snnwn3wd78gkqpzdmhxue69uhkummnw3ezu7nzvshxwee0qgs8mez352yxc2r9yt838c9f0sfs86ey0ygh7e996qspx773957u95grqsqqqqqpvpn2w2 nostr:nevent1qqswgsx8qvx45h5hx8ln9c3ka95mf0jvn3m0c5xhg3puk0maswclrcqkvgj2y