nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl it is the weekdays, please do what you said and enable users to choose public mutes because i only want public mutes

Exactly because it's a weekday, I might not have much time to develop, haha. I still have a full-time job.

Reply to this note

Please Login to reply.

Discussion

Time to nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 hire you for full time job on Nostr.

🤣

The main reason is that I'm currently working on a relay proxy service for nostr-relay-tray, making it easy for non-developers to expose their local nostr-relay-tray to the public internet. So, I might not have much time to work on jumble for now.

that is easy to do btw, i run wss://test.realy.lol here on my dev box connected via wireguard tunnel, you just need a tunnel client added to the relay tray and a VPS with configuration in the reverse proxy to point at it - https://github.com/mleku/lerproxy is one i built that also does golang vanity redirects and nip-05

i'm not sure how you can run a wireguard tunnel client in javascript but i'm sure it's doable

i literally have had no success in getting browser clients to talk to localhost for what it's worth, only by using the tunnel, with a domain and a reverse proxy

Yeah, there are plenty of ways to proxy local services nowadays. But integrating it into nostr-relay-tray without requiring any user configuration is a bit tricky, mainly because I’m too lazy to read through those tunnel tool docs, haha.

I’ve already built a simple proxy service that forwards nostr messages at the WebSocket layer, making it easier to integrate into other projects.

https://github.com/CodyTseng/pigeon

https://github.com/angristan/wireguard-install

this is the one i use, it's really point and shoot

It seems that this project cannot proxy multiple relays simultaneously. 🤔

nope, you need a reverse proxy for that, that's a HTTP layer problem, the proxy is just the network transport, tunneling tcp/ip or udp

i could probably extend my lerproxy with the ability to run a wireguard server, and even add some neat nip-98 auth and all this kinda jazz for automating the addition of new tunnels, delivery of client tunnel configs, and adding the path to the reverse proxy routing table but it would take me a few weeks

Yeah, pigeon is exactly a reverse proxy service

well, the app you want to build is something i've thought about for a long time

yes, it's a reverse proxy and tunnel server, and the clients relay will be a tunnel client and listen to that endpoint in addition

it doesn't have to be wireguard, it could just as easily be plain old TLS but the auth part will be annoying, and you have to issue the certs to the client to auth with, wireguard is just simpler

the two things you need are an accounting system to track subscriptions, payment rails to authorise updating the subscritpion records, and something that generates them their custom relay subdomain

i figured it would make sense to also throw in nip-05 auth into it as well, so that is always online on your server

i think it could be reasonably profitable and it enables a lot of decentralization, with a bunch of competing services running this thing and people using clients with outbox, it would be a lot closer to decentralized than the free relay model of the committee of dev payoors

Pigeon consists of two parts:

- pigeon_nest: A reverse proxy service deployed on a server.

- pigeon: A local client that forwards messages between the local relay and pigeon_nest.

Pigeon communicates with pigeon_nest via websocket. Upon connection, it performs a NIP-42 auth and uses the pubkey as the relay address. I've already deployed pigeon_nest on my server, you can compile pigeon and give it a try: https://github.com/CodyTseng/pigeon/tree/master/pigeon

Here's my local relay:

wss://proxy.nostr-relay.app/4de3d1195084605b44638f816d1e787ee984e1751001a659396466173c787bb9

I also see this project having potential as a paid service, similar to ngrok

i'm very glad to see someone actually doing this, i just didn't have the time

outbox model and webof trust open up so much possibilities, it's quite mindboggling how much potential there is and how it seems like so many people in nostr dev don't get it