Oddbean new post about | logout

Notes by brugeman | export

 Thank you for using it and for the feedback! Happy to help! 
Btw I guess you should remove html markup from site description - the homepage link preview has raw html showing up. 
 There is a pubkey who has uploaded over 6500 files to nostrcheck.me

Many of these files with adu... 
 DMed you  
 Hi apologies, please reload, fixed it.  
 Please remove hashtags from settings, or post something with those hashtags  
 @Juraj Hello, check DMs please 
 I replied, do you see the replies? 
 I need help with this! I want to make cashu.me wallet sit in the background and listen for push n... 
 I looked through my server, there's some irrelevant stuff there that could be removed, and then just change the event kind and it should work. Will make a prototype for you  
 Here you go: https://github.com/nostrband/nwcpush
Didn't test it though.  
 Took us a while to figure out how to inject video previews into Ghost themes.

nostr:nevent1qqs9wmyzj0an66ad43cpt4gygetmmsuq683mpemw596anw7ugu3e47gpz4mhxue69uhhyetvv9ujumn0wd68ytnzvuhsygqgat09ph63mf9y9awuq30rtvm3jqhqd44gq5s4hmpawtwxslxtqspsgqqqqqqsf4z9xe 
 Try reloading please, seems fine 
https://i.nostr.build/Xk2TnpYs0xvr0is0.jpg 
 Does the video play if you open the post w/ empty preview?
I see your previews just fine in Safari. Maybe try cleaning the website data/cache and retry?
Thanks!
https://i.nostr.build/o0MERHZOm5Tn2c7P.jpg 
 Took us a while to figure out how to inject video previews into Ghost themes.

nostr:nevent1qqs9wmyzj0an66ad43cpt4gygetmmsuq683mpemw596anw7ugu3e47gpz4mhxue69uhhyetvv9ujumn0wd68ytnzvuhsygqgat09ph63mf9y9awuq30rtvm3jqhqd44gq5s4hmpawtwxslxtqspsgqqqqqqsf4z9xe 
 nostr:nprofile1qqstwv08l009cxfd0yll2g9xajgld9jltk86rdjwzgt3pzdxte2q2fgpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uwuh3pm can we get source files to print these?

nostr:nevent1qqszfnt34l0cmesvlppfw4cl903v43rs4upl4fyrs5z95d49cc4vs9qpz4mhxue69uhhyetvv9ujumn0wd68ytnzvuhsygyqgl0esx5hm4qmfr64ftqqay9avg6glejnsnygau5sxtt49pt3gvpsgqqqqqqsynhp2p 
 Will get back to you a bit later with some code fixes 
 You can add "<div style='padding: 5px; width: 100%'>" and "</div>" around the widget code. Adjust padding value (5px - 5 pixels) to whichever you'd like. 
 You can take any Ghost theme, tweak it and then publish with our tool. Unfortunately it's not documented at all because I plan to rebuild it properly. Also there is no UI to use a third-party theme yet, you would have to edit the site event manually.

For now you can try making small adjustments using code injection in site settings, just add some style and script tags. 
 Y'know what...

Now I know I'm just being demanding...

But wouldn't it be cool if images which I... 
 Do you mean we should auto-replace the images with links? How would we know which image links to what product?

Or maybe you could use long form content for publishing on your site, it supports adding links to images, you can try long form posts with habla.news

Please let me know if I misunderstood this.

Thanks!
 
 Ok thanks for the clarification, need to think about it  
 Thanks for the zap!!! 
 nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy what black magic did you us... 
 It asks to enable push notifs, then sends the push endpoint to server along with pubkey and relay, server monitors the pubkey on relay for unanswered nip46 messages, when detected sends a push to wake up the service worker.

Nwc flow is quite similar, so it should be possible to have the same thing there.

Server side is https://github.com/nostrband/noauthd - not a beautiful piece of code, but can be an inspiration.

You'll also need strfry or other relay that stores ephemeral events for a while so that woken up service worker could fetch them.
 
 Added embeds and link previews to @Npub.pro nostr sites.

It's still early, but the system of plugins and templates is slowly taking form.

The embeds/previews are a separate plugin, not part of the core engine - we include it everywhere for now, but it's a separate thing, so that you'd be able to eventually swap one implementation to another if needed.

What's cool is that preview plugin only fetches the linked page metadata and oembed info, and then asks the core to render that info. There is a built-in template for rendering previews, but later on themes and other plugins will be able to override the default template and modify the output.

Logic in plugins, presentation layer in templates, all pluggable and connected through the engine. These Lego blocks will produce infinite custom nostr apps, interoperable with existing web. 

Exciting! 

nostr:nevent1qqs2kluym6wmapmr7gr2tr8phfmf353wr5ucegy6f8lvant0sqt4yxcpz4mhxue69uhkummnw3ezummcw3ezuer9wchsygqgat09ph63mf9y9awuq30rtvm3jqhqd44gq5s4hmpawtwxslxtqspsgqqqqqqsmu3ppw
 
 Cool "Donate" widgets at https://widgets.twentyuno.net - never seen them before, great work nostr:nprofile1qqsv695mmraa29u792x5nrlux8f6urjqsf0l9w9gt634n3z9tgg8e2qpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qyt8wumn8ghj7etyv4hzumn0wd68ytnvv9hxgtcz6hpj6 and nostr:nprofile1qqstwv08l009cxfd0yll2g9xajgld9jltk86rdjwzgt3pzdxte2q2fgpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uwuh3pm !

You can get one for yourself and place it on your nostr:nprofile1qqsq36k72r04rkj2gt6acpz7xkehrypwqmt2spfpt0kr6ukudp7vkpqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcpzpmhxue69uhkummnw3ezumt0d5hsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0v2l6t9 site, just paste the code in "Code injection in footer" field.

Being able to use any web component on your nostr site it a superpower, and it's gonna get way better!

nostr:nevent1qqsxzx5wm65yujul098sawcj6p0h0x486uf0hde6gs7k2eacsjhty4cpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtczypnd7czk9kfe4k5xzfpkfzv5tf8v78tzx34nm9rcm652xw8nyq7xgqcyqqqqqqgp2dkn9 
 Nostr version sounds cool! I guess we'll get back to this if more people start using this widget 
 Great work! You should be able to inject css by placing it in <style></style> tags, same with scripts - <script></script>. Those code injections are just placed into the final html of the page, not wrapped or transformed in any way. 
 Cool "Donate" widgets at https://widgets.twentyuno.net - never seen them before, great work nostr:nprofile1qqsv695mmraa29u792x5nrlux8f6urjqsf0l9w9gt634n3z9tgg8e2qpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qyt8wumn8ghj7etyv4hzumn0wd68ytnvv9hxgtcz6hpj6 and nostr:nprofile1qqstwv08l009cxfd0yll2g9xajgld9jltk86rdjwzgt3pzdxte2q2fgpr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9uwuh3pm !

You can get one for yourself and place it on your nostr:nprofile1qqsq36k72r04rkj2gt6acpz7xkehrypwqmt2spfpt0kr6ukudp7vkpqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcpzpmhxue69uhkummnw3ezumt0d5hsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0v2l6t9 site, just paste the code in "Code injection in footer" field.

Being able to use any web component on your nostr site it a superpower, and it's gonna get way better!

nostr:nevent1qqsxzx5wm65yujul098sawcj6p0h0x486uf0hde6gs7k2eacsjhty4cpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtczypnd7czk9kfe4k5xzfpkfzv5tf8v78tzx34nm9rcm652xw8nyq7xgqcyqqqqqqgp2dkn9 
 Looks awesome! 
 Was about to subscribe to Npub.Pro - Pro, but realized it's not active yet. Looking forward to pu... 
 Attaching a custom domain needs some serious work to make it as scalable and reliable as the rest of our infrastructure. Plus we're still considering trying some non-traditional business-model approaches. Please give us some time here, I really appreciate that you value the product this much!   
 GM Nostr 🌳🌧️🌳

I'm sitting here listening to the rain and the forest, drinking a cup c... 
 I just moved into Spain, from a place that sucked more. It's better here, but I have similar concerns. I know it's a temporary solution.

It looks like there can't be a good answer. You either get good quality of life, or freedom, not both. Until some jurisdiction rebuilds itself around sound money separated from the state.   
 Hey nostr:nprofile1qqs8d3c64cayj8canmky0jap0c3fekjpzwsthdhx4cthd4my8c5u47spzemhxue69uhhyetvv9ujum... 
 Your personal page just got better with link previews and oembeds! 
 Looks like you haven't finished setting it up. Could you please try again? Thank you! 
  nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy is there a github or somet... 
 Npub.pro app (site creation, settings etc) is here: https://github.com/nostrband/nostr-site-manager
Npub.pro engine powering sites: https://github.com/nostrband/libnostrsite

And ofc you can send feedback and issues here too. Thanks! 
 I started my #npubpro site and did my first post with  nostr:npub1yzvxlwp7wawed5vgefwfmugvumtp8c8... 
 The cool thing with nostr-based sites is that our servers do almost no work. All data lives on nostr relays, our server handles the first page view and from then on a service-worker inside visitor's browser starts talking directly to relays and renders all web pages right in the browser. And we will have paid plans.  
 Wow, carpets!!! 
 Carpets on nostr! 🎉

nostr:nevent1qqstc9yrz5llwwvhcvq6hwjxksfwheew4x77vwa6ukzmqz6mrveekcspz4mhxue69uhhyetvv9ujumn0wd68ytnzvuhsygq674y4tymtaqz0j5qsv3l2ttd9ca38ah0swd98lqfmhg8rrmkevqpsgqqqqqqstaqsuf 
 Thanks for the report, will fix. 
 @Npub.pro do you know of a good writing client I can use to write articles? Habla and yakihonne d... 
 Hable worked fine for me. Long-form posts don't show up on your site bcs you need to include 'Posts' in Kinds section of your website settings at https://npub.pro/admin 
 I setup rabble.npub.pro which is very cool. Thanks nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag... 
 Thank you for trying it! You already got _@rabble.npub.pro nip05, we could actually make the same string an LN address (just forward to your LN provider). If all clients and wallets accepted plain domain name and internally prepended _@ we could use domain name as nip05/LN address, but that will probably take a while to get adopted even if everyone agreed. 
 ah, this is hilarious.. kinda.  why would someone make a req's over and over like this?  I suppos... 
 It's been out there since forever, someone built a very reliable but dumb crawler 
 Yummy #cookstr
nostr:nevent1qqsdak9yzfna0yfkueyqzv0zk5stk32yy3kae072hh4wwnzqefmxsusppemhxue69uhkummn9ekx7mp0qgs8qrrvhufwnfkd3k2lmxrrk6xl54lvhg8zfhjh2x0y50d24y5pdlgrqsqqqqqpywaaq8 
 I guess the comments component has too low timeout and treats long replies from relays as failure, while in fact the events are published  
 Increase timeout period for starters 
 Updates don't reflect on the site immediately. I encourage you to try again adding navigation links.

> I cannot post on some clients too. 

Which ones? 

If you feel there's something wrong with your relays try updating your list to make sure it's published widely and clients can find it. 
 Regarding navigation:
> I need nothing on the second and the third  page "link"?

No, here is how it might look:
https://i.nostr.build/5P0xG50iwo4Q1sZk.jpg

> My long post on Habla with "writing" tag didn't appear. 

Your blog post has bad hashtag description (internally nostr event should not include # in hashtags, yours has "#writing" instead of "writing"). Which app did you use to publish that post? Try editing it using habla.news - edit hashtags and save it. And then add "#writing" in hashtags in npub.pro/admin. Or you can try typing "##writing" (double-#) in hashtags in admin - your current post should appear without edits.

> Finally, I received a DM from someone asking me about the feedbacks of npub.pro. Is anyone working for you to do this? . I could do but not on a DM. 

Yes we have a volunteer talking to users and collecting feedback, I would really appreciate your response there.

Thank you!




 
 The "repost for npub.pro" post does have artstr tag. 
 That's it, not all relays got the event,  this message should be less frightening - this happens often. Will see if we could improve anything with deliverability 
 I guess the comments component has too low timeout and treats long replies from relays as failure, while in fact the events are published  
 Ok, I will test, but I thought should have just a link to click to open with Amber. 
 Which site is it? Probably relay issues, could you please try again? 
 Love it!
nostr:nevent1qqs8e8c69wwpt3yrjnaw2pnfw9d7ttxn3pg444z767t9jygfymldfacppemhxue69uhkummn9ekx7mp0qgs9afryspzmk8ljyfj4mhfkumwwmhzrtyxzvzgvfp477w80g5x6t0grqsqqqqqp5q0g6d 
 We need to fix stuff first before adding new features.

nostr:nevent1qqs9zvhl9jyzh7qkp7su5tx6y8cazm0w62j45gv0xx6y6un83dfx53qpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyqyw4hjsmaga5jjz7hwqgh34kdceqtsx665q2g2mas7h9hrg0n9sgqcyqqqqqqg6x7sag 
 Amber supports nip46, you should be able to create a bunker link in Amber and then paste it to bunker url field in advanced section of login screen. Please let me know how it goes! 
 Some fixes deployed recently on nostr sites:
- comments look good on mobile now, without deep rep... 
 We need to fix stuff first before adding new features.

nostr:nevent1qqs9zvhl9jyzh7qkp7su5tx6y8cazm0w62j45gv0xx6y6un83dfx53qpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyqyw4hjsmaga5jjz7hwqgh34kdceqtsx665q2g2mas7h9hrg0n9sgqcyqqqqqqg6x7sag 
 @franzap Hey, check out a PR to zapthreads that adds a mobile-friendly chat-like layout for comments. https://github.com/franzaps/zapthreads/pull/52

We're rolling it out on @Npub.pro websites to make comments look better on mobile, example: https://blog.npub.pro/post/how-to-self-host-on-github 
 I need a npub.pro theme that renders a nostree list in a sidebar.

Also need one that's focused o... 
 List support is on the roadmap!

Can you tell me more about event notifications? How can a theme be focused on that?

Thanks! 
 So "meetups" are also nostr events and you'd like to display them properly on the nostr site, right? 
 Yes, ok sounds good! 
 You are welcome! Maybe consider making your site description a bit shorter, settings are at https://npub.pro/admin 
 Great start! Can you link to your original article please? If it's on nostr then it should be possible to bring it there too 
 Thanks, glad to hear you find it useful! Anything we should improve? 
 Thanks! Just checked both anon comments and zaps seem to work fine, can you please try again? 

No timeline yet, which feature of the paid plan do you need the most? 
 Search on nostr:nprofile1qqsq36k72r04rkj2gt6acpz7xkehrypwqmt2spfpt0kr6ukudp7vkpqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcpzpmhxue69uhkummnw3ezumt0d5hsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0v2l6t9 sites!

Those search buttons on your sites now work as intended:

https://v.nostr.build/BGgfO03h6IXifJOf.mp4

It's searching through events in the local database, so it's fast and works offline.

Slowly but surely we will make these nostr sites great! 
 There you go, video previews are live. 
 Please welcome Npub.pro!

This is a tool to make yourself a beautiful Nostr-based website.

It's been long in the making, and we're thrilled to launch it on this special day!

Here is a short demo of how you can make yourself a website right now:

https://v.nostr.build/kZG9O.mp4

It's free for anyone getting started, it's open source and self-hostable. 

Why get yourself a nostr-based website?

- beautiful themes (any Ghost theme could work)
- great looking shareable links to your content
- works like an app, add to homescreen, useable offline
- SEO-optimized
- attach your custom domain or host yourself

Try it at https://npub.pro

Learn more on our Nostr-based blog: https://blog.npub.pro/post/npub-pro-is-live

P.S. If you like how it looks, that's because @Karnage designed it. Thanks man, it's a pleasure to work with you!
 
 The guide is here https://blog.npub.pro/post/how-to-self-host-on-github

This is client-side rendered version - slower on first page load and no link previews. Later on we will make a server version in a docker  
 We generate a single html stub that downloads a js that starts a service worker that does all rendering  
 Is there a noster version of a blog/article publishing platform? Any recommendations out there fo... 
 There are habla.news, highlighter.com and yakihonne.com for publishing, and yes you can turn your long form nostr posts into a website with nostr:nprofile1qqsq36k72r04rkj2gt6acpz7xkehrypwqmt2spfpt0kr6ukudp7vkpqpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcpzpmhxue69uhkummnw3ezumt0d5hsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0v2l6t9