Oddbean new post about | logout

Notes by brugeman | export

 Bad understanding of Nostr to position as “social media.”

Being social-media-obsessed is leg... 
 Exactly. İt's a better way to build online spaces and services of all shapes and sizes. 
 Love it - post a new photo and it's instantly there, on my website mattyb.npub.pro 

nostr:nevent... 
 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. 
 Oh ok, we'll need to fetch your delete requests too! 
 Oh my! Thank you!  
 Exactly! Is there anything important we should fix or improve to make it happen? 
 You can change settings and theme here: https://npub.pro

Discover page you mean other people's sites? 
 Yes site discovery is needed. 
 I'm sat by the beach, chilling with the sound of the gently lapping water and I managed to get it... 
 You don't have to leave the beach to get yourself an outstanding website!

nostr:nevent1qqspp5vek8l8axw0mk2a4gd0344j6hs68dwye76dr5gsmj5atllanxcpzpmhxue69uhkummnw3ezumt0d5hsygx8l6f0srz3dsx9fv2735jk4srjsypkmy6w58lnn7cvmzs06emhxcpsgqqqqqqsfjvfnp 
 As well as everything else I need to catch up on I need to figure this out so I can have a cool #... 
 Not much to figure out, just watch a demo, it should take a couple minutes to set up:

nostr:nevent1qqsq6g0tytafts9pysutk56ah9jguy65kytqx9mg6g2hnh2a2525pvcpremhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet59upzqv6kmesm89j8jvww3vs5pv46hqm7pqgvpm63twlf9hszfqzqhz7aqvzqqqqqqyhwn30s 
 Amazing photography!  
 And with nice link previews 

https://i.nostr.build/xWXzUwrEF15SFRvX.jpg 
 Please let me know if there's something we need to improve to help you there! 
 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. 
 Yes! 
 Amazing work Pablo! 
 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 
 iOS? Phoenix android not opening the invoice for me :( 
 Will look into that, thanks! 
 Awesome! 
 Thanks! 
 Thanks, will look what that could mean  
 Oh wow awesome! Android or iOS? 
 Android or iOS? 
 Thanks! 
 BlueWallet android seems to work  
 Yes I cut them out from excerpts for now until we render them properly  
 Yes and yes, you can already build/customise Ghost themes and publish them, but new event kinds need more infrastructure first. 
 npub.pro is a game changer.  The web has been #redecentralized.  Finally. 
 Still not working for you? Please tell me more, os, browser, extension? Thanks! 
 It could host a nostr site 
 Thanks for a great report, will investigate! 
 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.jpg https://i.nostr.build/nAU5WaQzKorfCvXI.jpg https://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! 
 I guess they were already there, hopefully we'll help advance it 
 Can't see it :( 
 Hmm most links are broken there ( 
 On the homepage, all pics from creatr loaded fine. I see many broken pics from https://picsur.thesamecat.io/ - it seems dead. 
 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 
 Thanks for the report, I guess we need expiration for cached errors 
 Bitcoin & coffee!

nostr:nevent1qqsgrz2jhnldp50yyc8vpztqxx0d7sefhqntzw88pzhrscshm8hlrdspzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtczyrmy0j2k35y4jm3j8lwsz39cute44t6a4fpln66ek5pwn8vs7sm8xqcyqqqqqqg0qu395 
 @NotBiebs please take a look https://github.com/SamSamskies/nostr-zap/pull/24

Made some adjustments to nostr-zap to deploy it on npub.pro websites. 
 @The Fishcake🐶🐾 @nostr.build  Hi you have Disallow / in robots.txt, which means files hosted by nostr.build can't be used for link previews on Twitter.

This is how preview looks w/ nostr.build image:
https://i.nostr.build/BFQYR5lKopDK6eUf.png

And this is from another server open for crawlers:
https://i.nostr.build/2TssmMmt8CJ3zDGk.png

Is there a chance you'd allow twitterbot explicitly? It shouldn't abuse you, I guess. 
 Most probably yes, try uploading to files.v0l.io and see if that works  
 Thanks a lot! 
 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.  
 Here's all that you've ever wanted to know about npub.pro's interworkings 👀
nostr:nevent1qqsff... 
 "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. 
 You can also login with DM there. 
 # Log in with DM

For the first time I logged in to a #Nostr app, npub.pro in this case, with DM.... 
 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.  
 Looks pretty good! Do you have any feedback on it? Thanks! 
 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 
 nostr:nprofile1qqsrx4k7vxeev3unrn5ty9qt9w4cxlsgzrqw752mh6fduqjgqs9chhgppemhxue69uhkummn9ekx7mp0qy... 
 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 
 You're welcome! Looks good! 
 In site setting npub.pro/admin choose Posts in Kinds setting. 
 Everyone can have their own photo gallery website powered by Nostr with just a few clicks.
nostr:... 
 Lovely dog! 
 Everyone can have their own Instagram 

nostr:nevent1qqsd8z4u64sr0yrz05y5ds8emvhw6tn7lmv0cu7wrgpg38a964zegcgpz4mhxue69uhkummnw3ezummcw3ezuer9wchsygzs3u5x26udksmp202j8809qd9tcq63hrys4se7dv2k68l2vjefvqpsgqqqqqqsfcg9tw 
 It's been a week since launch, 200+ websites. I am skeptical too, but looks promising  
 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 
 Exactly! Pushing the flywheel is really hard at first, at least it seems like we're trying to push the right one the right way now. 
 Fixed, searching deeper now in case no relays are found. 
 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! 
 Since Npub.pro launched last week, more than 150 people created nostr-based websites!

Here are some awesome examples that stood out the most to me:

https://agichoote.npub.pro/

https://archjourney.npub.pro/

https://cider-str.npub.pro/

https://enrico.npub.pro/

https://heszap.npub.pro/

https://john-martinez.npub.pro/

https://jqw22.npub.pro/

https://moxie.npub.pro/

https://reiartur.npub.pro/

https://yeghro.npub.pro/

Amazing creators indeed are on Nostr! A beautiful website theme can really help your content stand out!

The announcement and a short video guide below:

nostr:nevent1qvzqqqqqqypzqv6kmesm89j8jvww3vs5pv46hqm7pqgvpm63twlf9hszfqzqhz7aqyt8wumn8ghj7ur4wfcxcetjv4kxz7fwvdhk6tcppemhxue69uhkummn9ekx7mp0qqsq6g0tytafts9pysutk56ah9jguy65kytqx9mg6g2hnh2a2525pvcr65n7n 
 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.  
 Exactly! 
 Are any of the nostr markers up and running yet?  I haven’t tried them in a long time, but last... 
 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. 
 It wouldn't. But we will get there, the general plan is to let anyone create plugins to support new kinds  
 No, İ mean there is no plugin infrastructure yet, you can add arbitrary js code now like analytics etc but no nostr-native plugins yet.