Why Nostr? What is Njump?
2024-08-09 09:57:08

Wiki
Hypernote

# Hypernote A hypernote is a html-based frame that can be used as Stories or Widgets.

Hypernotes offer creators an interactive micro-website with Nostr-functionality that is guaranteed to display in the intended way in any app that implements hypernotes.

Limitations that make it work # Standard Dimensions ![Dimensions](https://cdn.satellite.earth/9d9fc4cc64e7376bf00031c4fb62381c59b3c98dfd6ca08a929b940da57f85f3.png) Hypernotes have a standard width of 360 pixels and a maximum height of 640 pixels. That way: - There can be a reasonable guarantee that they are properly displayed across clients and the creator doesn’t have to worry about viewers not experiencing the hypernote as intended - The html just has to work for one size and implementations don’t have to make everything responsive - Media, such as background video and images, can be scaled to that size and even low-bandwidth users can render the hypernotes reasonably fast - It is compatible with the ratio that is used by Big Tech and with the standard ratio of images - Builders can adapt the height to their use case, but cannot make it extend beyond the screens of mobile devices. This ensures that the Story/Widget can be displayed fully on nearly any screen, without having to scroll within the frame. - Apps can choose to what size they scale down/up the hypernote in their interfaces depending on the use case. When opened on mobile for example, they will probably prefer scaling it to the full width of the device.

### No legacy API calls Hypernotes cannot communicate with the legacy web. Hypernotes can communicate with the Nostr-verse: - fetch nostr events - fetch blossom files - …​

Keeping the communication channels 100% Nostr-based: - makes hypernotes more secure and easier to verify/understand - ensures more accountability (there’s an npub with a reputation behind everything) - avoids link-rot (the whole goal of events and blossom files is that they’re easily retrievable) - incentivizes the building out of Nostr native tools and content types - makes it very easy to remix any hypernote. Since all of the building blocks can be transparently displayed, interchanged, adapted and re-uploaded into another hypernote.

### No scrolling A hypernote is not scrollable by default. Since it is almost always displayed as a frame within another app, that has its own scroll and swipe actions, you run into UX conflicts when you allow hypernotes to also have native scroll functionalities.

Hypernotes creators can (and should) find other ways to let users navigate lists or content that is larger than the hypernote frame.

### Whitespace If used as a Story, hypernotes should have enough whitespace on the left and right side of the frame so users can easily click/tap through them. Many apps will overlay headers and footers on these Stories so it is best practice to leave 80 pixels free of any interactive elements on the top and bottom of the hypernote.

Author Public Key
npub149p5act9a5qm9p47elp8w8h3wpwn2d7s2xecw2ygnrxqp4wgsklq9g722q