It takes your notes and makes a website out of them. Check the demo:
nostr:nevent1qqsq6g0tytafts9pysutk56ah9jguy65kytqx9mg6g2hnh2a2525pvcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59upzqv6kmesm89j8jvww3vs5pv46hqm7pqgvpm63twlf9hszfqzqhz7aqvzqqqqqqyhwn30s
You might want to change the accent color in your site settings (orange?) at https://npub.pro/admin - the Zap button under your posts is purple, the color was probably auto generated when you created the site.
You don't have to leave the beach to get yourself an outstanding website!
nostr:nevent1qqspp5vek8l8axw0mk2a4gd0344j6hs68dwye76dr5gsmj5atllanxcpzpmhxue69uhkummnw3ezumt0d5hsygx8l6f0srz3dsx9fv2735jk4srjsypkmy6w58lnn7cvmzs06emhxcpsgqqqqqqsfjvfnp
Not much to figure out, just watch a demo, it should take a couple minutes to set up:
nostr:nevent1qqsq6g0tytafts9pysutk56ah9jguy65kytqx9mg6g2hnh2a2525pvcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59upzqv6kmesm89j8jvww3vs5pv46hqm7pqgvpm63twlf9hszfqzqhz7aqvzqqqqqqyhwn30s
Footer depends on the theme, most themes don't allow adjustments to footer, but they can be customised. Eventually we will have a marketplace for theme customizations.
Adding feeds from other socials is already possible, you can inject any js code to the site in settings. Whether there's a widget for X posts - need to look that up.
This makes all the difference!
nostr:nevent1qqsqpzvlvmfyq9y8dp36x2xvgmad5486c4ct4ecdkmdxgtr9dxl5r2qpz4mhxue69uhhyetvv9ujumn0wd68ytnzvuhsyg86np9a0kajstc8u9h846rmy6320wdepdeydfz8w8cv7kh9sqv02gpsgqqqqqqsjc4xc3
We need help testing zaps on nostr sites. There is a wallet choice menu there that's supposed to open the invoice payment screen of the selected wallet. I found that Zeus works, and Phoenix doesn't. Do you have Cash App or Strike or other wallet? Please try it and let me know in comments. You can test on https://blog.npub.pro - no need to send, just try opening the payment screen. Thanks a lot!
nostr:nevent1qqsxkce88shnt47q403dkjdaxek7k9z88j6fxtde6zany3hgkarycggppemhxue69uhkummn9ekx7mp0qgsrx4k7vxeev3unrn5ty9qt9w4cxlsgzrqw752mh6fduqjgqs9chhgrqsqqqqqptktd33
Zap button deployed on @Npub.pro nostr sites!
There's now a big "Zap" button under each post, colored with the accent color of your site.
https://i.nostr.build/WAPi8Hpwe5B1L3a0.jpghttps://i.nostr.build/nAU5WaQzKorfCvXI.jpghttps://i.nostr.build/gfkcPxLt5wiTGrRi.jpg
Non-nostr visitors can now send you tips on your site, using their Cash App or Strike! Millions of people have these wallets, and they don't have to join nostr to tip - it will send anonymous zap if they aren't logged in.
We're using an existing slightly customized component by @NotBiebs, thank you for building it!
The zap UX is far from perfect yet, but looks like a great start!
We need help testing zaps on nostr sites. There is a wallet choice menu there that's supposed to open the invoice payment screen of the selected wallet. I found that Zeus works, and Phoenix doesn't. Do you have Cash App or Strike or other wallet? Please try it and let me know in comments. You can test on https://blog.npub.pro - no need to send, just try opening the payment screen. Thanks a lot!
nostr:nevent1qqsxkce88shnt47q403dkjdaxek7k9z88j6fxtde6zany3hgkarycggppemhxue69uhkummn9ekx7mp0qgsrx4k7vxeev3unrn5ty9qt9w4cxlsgzrqw752mh6fduqjgqs9chhgrqsqqqqqptktd33
Could you please reload and check again? Looks fine for me. If not try choosing Clear website data in your browser, maybe it failed to load once and got cached
https://i.nostr.build/5DOjvb2dQj8yQ8qf.jpg
Hi, this would depend on a theme, but also there is no second-level navigation in Ghost so no existing theme would support it, we would need to extend our data structure and then customize the themes. It's possible, but I'll have to leave it for later. Writing it down to the list of theme feature requests.
"Notes" are short notes you post using Damus/Primal/Amethyst. "Posts" are long-form content that you can post with habla.news or highlighter.com or yakihonne.com, and zap.cooking recipes are also long-form posts. Looks like we should rename "Posts" to "Long-form posts" - longer, but more obvious to new people.
Thanks! It's simple, but not for every app - there's a big tradeoff:
nostr:nevent1qvzqqqqqqypzqv6kmesm89j8jvww3vs5pv46hqm7pqgvpm63twlf9hszfqzqhz7aqy08wumn8ghj7mn0wd68yttsw43zuam9d3kx7unyv4ezumn9wshszrnhwden5te0dehhxtnvdakz7qpqhe3ewdmhfy4k6fpe83mfvgvd6h7l2f5rm0llcklw4u705aeskepq85j8s6
Thanks!
It does support long-form - choose "Posts" in https://npub.pro/admin settings (the "Kinds" setting).
Yes it depends on the theme whether website name is visible.
Also, to your question below, we don't show replies/quotes yet, mostly because those aren't rendered properly yet. Coming later.
That's because there are long nostr:naddr links which we don't yet render properly, theme could have handled them but I guess it didn't. It should fix itself when we implement proper link previews
Thanks a lot! Login with DM was out there on nostr.build and some other places, we needed it to make the app smooth for native-app users. It's not for every app, i.e. sites created in this mode are events signed by our server - but since we're hosting them and gifting subdomain names anyway, it's a nice tradeoff - eventually people will sign-in with real keys, republish the site with their own keys and the website url will be redirected to new event.
Great questions!
These nostr-sites are nostr events of kind 30512 https://nostr.band/?q=travel+kind%3A30512 - we just don't have an app to showcase them yet.
Themes are nostr events too of kind 30514 https://nostr.band/?q=ruby+kind%3A30514 - there will be a marketplace for them, imagine admin posting "please customize XYZ in my theme" and some developer adjusting it and publishing the update on nostr and admin applying it in 2 clicks.
Theme assets (templates, js, css etc) are on blossom servers, addressed by hashes by the themes, if some server dies files can be discovered through nostr on other server (no code for that yet).
The engine core is https://github.com/nostrband/libnostrsite - it can run on the client or on the server. We run it in three places: on the server to pre-render the sites we host, in the browser tab for the current self-hosted version, and in the service worker after the first page load. Our server does nothing after the first page load, all rendering happens by service worker talking to relays and blossom servers, all sites are PWAs that work offline, rendering nostr events cached in the browser's database.
We don't have a self-hosted version with server-side rendering, but that one's coming too. Current client-side rendered self-hosted code can be hosted on github pages - first page load takes a while, and you don't have nice pre-rendered meta tags, but aside from that it's identical, and sites don't depend on our infrastructure.
The nip-512 that we've drafted for nostr sites is meant to make "nostr site" description portable across the engines, so that you could switch from npub.pro engine to another implementation (Oracolo hopefully maybe), without having all your links or site structure broken.
To summarize: npub.pro sites are as much nostr as they could possibly be, our hosting and management app are just a convenience.
How nostr sites work:
nostr:nevent1qqsffujen8vvrus3nqw2ygc0kmcamuzucvc5l9xkkccqzlvq4408qssppemhxue69uhkummn9ekx7mp0qgsrx4k7vxeev3unrn5ty9qt9w4cxlsgzrqw752mh6fduqjgqs9chhgrqsqqqqqptadtwv
Everyone can have their own Instagram
nostr:nevent1qqsd8z4u64sr0yrz05y5ds8emvhw6tn7lmv0cu7wrgpg38a964zegcgpz4mhxue69uhkummnw3ezummcw3ezuer9wchsygzs3u5x26udksmp202j8809qd9tcq63hrys4se7dv2k68l2vjefvqpsgqqqqqqsfcg9tw
That's almost exactly how npub.pro sites work, you could render them inside an app without relying on the website url. All you're asking is us to rebuild html+css, which is too much to ask
nostr:nevent1qqsffujen8vvrus3nqw2ygc0kmcamuzucvc5l9xkkccqzlvq4408qssppemhxue69uhkummn9ekx7mp0qgsrx4k7vxeev3unrn5ty9qt9w4cxlsgzrqw752mh6fduqjgqs9chhgrqsqqqqqptadtwv
Great question. Yes the only method to group posts atm is with hashtags. Homepage shows notes from all hashtags atm, but there's already a feature request to allow only specified hashtags there.
You can edit those posts to add some tag, and then add navigation item leading to that tag (/tag/sometag) and give Articles label to that navigation item. Would that work!
Great questions!
These nostr-sites are nostr events of kind 30512 https://nostr.band/?q=travel+kind%3A30512 - we just don't have an app to showcase them yet.
Themes are nostr events too of kind 30514 https://nostr.band/?q=ruby+kind%3A30514 - there will be a marketplace for them, imagine admin posting "please customize XYZ in my theme" and some developer adjusting it and publishing the update on nostr and admin applying it in 2 clicks.
Theme assets (templates, js, css etc) are on blossom servers, addressed by hashes by the themes, if some server dies files can be discovered through nostr on other server (no code for that yet).
The engine core is https://github.com/nostrband/libnostrsite - it can run on the client or on the server. We run it in three places: on the server to pre-render the sites we host, in the browser tab for the current self-hosted version, and in the service worker after the first page load. Our server does nothing after the first page load, all rendering happens by service worker talking to relays and blossom servers, all sites are PWAs that work offline, rendering nostr events cached in the browser's database.
We don't have a self-hosted version with server-side rendering, but that one's coming too. Current client-side rendered self-hosted code can be hosted on github pages - first page load takes a while, and you don't have nice pre-rendered meta tags, but aside from that it's identical, and sites don't depend on our infrastructure.
The nip-512 that we've drafted for nostr sites is meant to make "nostr site" description portable across the engines, so that you could switch from npub.pro engine to another implementation (Oracolo hopefully maybe), without having all your links or site structure broken.
To summarize: npub.pro sites are as much nostr as they could possibly be, our hosting and management app are just a convenience.
Any kind can be added, the question is themes - we only have readymade Ghost themes for notes/posts. I think we might create some default built-in templates for other kinds and thus make it work with existing themes. Support for new kinds is definitely coming, but not an immediate priority, there are other basic issues to solve atm.
Notes by brugeman | export