Why Nostr? What is Njump?
2023-08-17 14:02:47

Derek Ross on Nostr: njump will help with nostr adoption by making nostr content easier to exist and be ...

njump will help with nostr adoption by making nostr content easier to exist and be found outside of nostr.
I'm happy to share that njump, after a lot of tweaks and fixes, exits the beta and is ready for production, hopefully :)

# What is njump?

Njump (https://github.com/fiatjaf/njump) is a static nostr gateway that allows you to browse profiles, notes and relays; it is an easy way to preview a resource and then open it with the preferred client.
Njump currently lives under nostr.com, you can reach it appending a nostr (NIP-19) entity (npub, nevent, naddr, etc) after the domain, nostr.com/p/{nip-19-entity}, for example:

https://nostr.com/npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6

https://nostr.com/nevent1qqs860kwt3m500hfnve6vxdpagkfqkm6hq03dnn2n7u8dev580kd2uszyztuwzjyxe4x2dwpgken87tna2rdlhpd02va5cvvgrrywpddnr3jydc2w4t

https://nostr.com/naddr1qqxnzd3cxqmrzv3exgmr2wfeqy08wumn8ghj7mn0wd68yttsw43zuam9d3kx7unyv4ezumn9wshszyrhwden5te0dehhxarj9ekk7mf0qy88wumn8ghj7mn0wvhxcmmv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qy2hwumn8ghj7un9d3shjtnwdaehgu3wvfnj7q3qdergggklka99wwrs92yz8wdjs952h2ux2ha2ed598ngwu9w7a6fsxpqqqp65wy2vhhv

The typical use of njump is to share a resource outside the nostr world (clients), where the nostr: schema is not (yet) active. There are several reasons to prefer njump to share a nostr resource, versus other web clients, let's see them.

## Clean, fast and solid

Pages by njump are extremely light and fast to load because there isn't any client side javascript involved; they are minimalistic with the right attention to typography, focusing the content without unecessary details. Furthermore they are cached, so sharing a page you can expect the other part will load it without any glitch in a fraction of second: the perfect tool to onboard new users!

## Good preview

Njump previews notes in a simple but effective way, including links (to other nostr resources and web), images, video, quotes, code. It is compatible with long form content so it also renders markdown. It shows the note parent, allowing to follow it up. It has custom css for printing or exporting to PDF, so it is a nice option to read long form contents offline.

## Cooperative (jump-out)

Njump is not interested into "capture" users at all, on the contrary it invites them to "jump" to the nostr resource with one of the proposed clients. It even remembers the most used one and put it on the top for fast click/tap.

## Search engine friendly (jump-in)
This is crucial: njump pages are static so search engines can index them, these means that njump can help others to discover great content on nostr, jump in and join us! Njump is the only nostr resource that has this explicit goal, if you care that a good note could be found online use njump to share it, this way you also help nostr flourish.

## Bonus: NIP-5 profiles

Now you can share your own profile with an pretty permalink: nostr.com/p/{nip-5}, example: https://nostr.com/p/fiatjaf.com
A profile shows the basic metadata infos, the used "outbox" relays (Gossip model) and the last notes.
Of course profiles are also static, fast and indexable, so start to promote your nostr presence this way!

## Bonus 2: relays

You can have a view of the last content posted to a relay using nostr.com/r/{relay-host}, example: https://nostr.com/r/nostr.wine
Some basic infos (NIP-11) are available; I hope operators will start to make them more personal and informative so users can have a way to evaluate if/when to join a relay.

## Bonus 3: Inspector tool

You know, we are all devs including our moms, so for every njump resource you can toggle the "Show more details" switch and inspect the full event's json; without installing other tools, like nak, this is probably the fastest way to obtain it.
Author Public Key
npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424