I just built & deployed njump.to which is a fast (and hopefully reliable) redirect service that provides a single URL to automatically forward users to random njump instances.
Discussion
I built it mostly for myself and for my own projects, but maybe it’s useful for someone else too. http://njump.to/_@dergigi.com
CC nostr:npub1aljazgxlpnpfp7n5sunlk3dvfp72456x6nezjw4sd850q879rxqsthg9jp nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 nostr:npub10000003zmk89narqpczy4ff6rnuht2wu05na7kpnh3mak7z2tqzsv8vwqk nostr:npub1uac67zc9er54ln0kl6e4qp2y6ta3enfcg7ywnayshvlw9r5w6ehsqq99rx nostr:npub1elta7cneng3w8p9y4dw633qzdjr4kyvaparuyuttyrx6e8xp7xnq32cume
Nice!
You know what I would love?
If it's not just a random service but also is kind of aware which service is currently down (because there's many times services like njump.me are not accessible or or down recently)
How does one enable domain.com as a NIP-05 ID? I have _@domain.com, and thought that was a clean as it gets.
You can just skip the `_@` as per NIP-05 https://github.com/nostr-protocol/nips/blob/master/05.md#showing-just-the-domain-as-an-identifier
..which is why `njump.to/dergigi.com` works (except for nostr.com, where it doesn’t, but that’s because nostr.com is broken lol)
Ahhh. That last bit explains what I was running into. Thanks.
Awesome work! Thanks for sharing, this sounds super useful and well thought out 🙌🧡🫵🏽
it isn’t very well thought out because it just picks a mirror at random, but I’m okay with hitting a mirror that is currently down if it means I have zero logic (and state) on the thing
Totally valid trade-off. Random mirror selection keeps the system stateless and simple. If occasional downtime is acceptable, it’s a clean and maintainable approach.
This sounds so much like an LLM answer, now I doubt you're real 😂🤣
Haha well, it’s not my fault I sound this good 🤣🤣😂😂
Didn’t expect that from you 😅🥸
links still goes to njump.me
it picked njump.me for you randomly, that’s the whole point. try again a couple of times and it will hit another portal
this is actually useful because my workflow was to visit njump.me, watch it fail to load or be very slow, get frustrated, and visit nostr.at, watch it give me some ssl error, then go to nostr.com. thanks for your work on this. i was going to deploy my own njump server because of this. maybe i still will do it?
Cool, we need to decentralized the hyper centralized njump.me! :)
Suggestion: I would test the availability of all instances in background, and temporary remove the not available ones. So njump.to can actually work like a load balancer.
I was thinking most relays should run an njump.me service on the relay https url. nevent + nprofile has the relay encoded, in which case the service should just do a redirect to the relay that can serve the content.
Would probably make the implementation way simpler.
All the Nostr links we add in Bitcoin Breakdown now uses njump.to by default. There are quite a few of them, especially in the Tuesday and Thursday issues.
Thank you for building this tool nostr:nprofile1qythwumn8ghj7ct5d3shxtnwdaehgu3wd3skuep0qyt8wumn8ghj7etyv4hzumn0wd68ytnvv9hxgtcqyphydppzm7m554ecwq4gsgaek2qk32atse2l4t9ks57dpms4mmhfx5ltf6v 🙏
