I vibe-coded castr.me to turn every npub into an RSS feed. I didn't even look at the code so it's probably bad and half-finished but it works and it's already useful to me.

Reply to this note

Please Login to reply.

Discussion

Tried to put some meaningful things in a README, but to understand how it works it's probably best to look and click around. https://github.com/dergigi/pubcaster

Once nostr:nprofile1qqs04xzt6ldm9qhs0ctw0t58kf4z57umjzmjg6jywu0seadwtqqc75spz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9mhwden5te0wfjkccte9ec8y6tdv9kzumn9wshszxnhwden5te0wpuhyctdd9jzuenfv96x5ctx9e3k7mf0dv4ph5 fixes his vibecode setup I'll rewrite it from scratch properly

๐Ÿซ 

Damn Pablo stop slacking are you sleeping these days or something? ๐Ÿ˜œ

My new nostr:nprofile1qqs9e40cq5kx0y0ys70sundezdr96ugata07ps9tnyzfccryck3etgspz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszrnhwden5te0dehhxtnvdakz7qgmwaehxw309amk7apwv3hhwmnfwdhkuargv46hqtnrvyhs25gu3a account loves this ๐Ÿ‘€

Nostr hug of death. ๐Ÿ˜ต

Wow, clever. Well played

Oh fuck thatโ€™s amazingโ€ฆ

Can I also turn my RSS feed into an npub?

https://media.rss.com/bitcoinpodcast/feed.xml

No.

I was saying "No" in regards to the tool mentioned, not in general.

I often wondered why RSS isn't leveraged more on nostr, like a better optimized rss reader client? I should take a page out of your book and try to vibe code something.

There's a bunch of stuff. narr by nostr:nprofile1qqsrhuxx8l9ex335q7he0f09aej04zpazpl0ne2cgukyawd24mayt8gprfmhxue69uhkcmmrdd3x77pwve5kzar2v9nzucm0d5hszxnhwden5te0wpuhyctdd9jzuenfv96x5ctx9e3k7mf0qydhwumn8ghj7un9d3shjtnhv4ehgetjde38gcewvdhk6tc4rdlnm for example https://github.com/fiatjaf/narr

Feeder supports Nostr articles too: https://github.com/spacecowboy/Feeder

And https://noflux.nostr.technology/

Also both https://github.com/msasikanth/twine and https://github.com/Ashinch/ReadYou have merged PRs that add Nostr articles support, but for some reason they haven't released those yet.

What exactly is it for? What is the utility? Sorry for the ignorance in the computer field ๐Ÿ˜…

Let's say there's an account that posts audio or video clips on the regular, and you want to download everything automatically so you can watch it later offline. Having an RSS feed for that npub will allow you to use any podcast player to do just that.

Let's use nostr:nprofile1qqsvf646uxlreajhhsv9tms9u6w7nuzeedaqty38z69cpwyhv89ufcqpzamhxue69uhhyetvv9ujucm4wfex2mn59en8j6gpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqg5waehxw309aex2mrp0yhxgctdw4eju6t0t25cfd as a concrete example. If you punch his npub into castr dot me and add the RSS feed to your podcast app, you'll see something like this:

It's all very simple, and as a content consumer it's very convenient.

As a content creator you can in theory create a Podcasting 2.0 podcast with show notes and value splits and everything, without having to deal with the feed creation yourself. You just post to nostr, and that's it. That's what I tried with nostr:nprofile1qqsfhhjzzjgl86k34ssm68gpvea2h9rlfswy4mv8vfx0yfemqm9q22cpramhxue69uhkummnw3ezuetfde6kuer6wasku7nfvuh8xurpvdjszrthwden5te0dehhxtnvdakqzrmhwden5te0dehhxarj9ekk7mgmkwtv0 & while imperfect, it's already working.

https://castr.me/npub1n00yy9y3704drtpph5wszen64w287nquftkcwcjv7gnnkpk2q54s73000n

Rss is BACK! Maybe

Atomstr does this pretty well already.

Link?

Ah, that's the other way around.

So "Atomstr does this pretty well already" is a complete lie.

Probรฉ con mi npub y tambiรฉn funciona ๐Ÿฅณ๐Ÿ’ช

Neat, Movie Archive RSS feed

https://castr.me/npub1tn2lspfvv7g7fpulpexmjy6xt4c36h6lurq2hxgyn3sxf3drjk3qrchmc3

nostr:nevent1qqsxan65tupm2x8ed2ctxzcl3ppszz0mdsmc6ukhykmnfva400c3nvcpzdmhxue69uhhwmm59e6hg7r09ehkuef0qgsxu35yyt0mwjjh8pcz4zprhxegz69t4wr9t74vk6zne58wzh0waycrqsqqqqqpqxywne

nostr:nprofile1qqsfeg9aw3g8gtt2yqcecr3af3nee8syd2wuwr5w74wzjp0zgpfrgzcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszrnhwden5te0dehhxtnvdakz7qg3waehxw309ahx7um5wgh8w6twv5hsler5rm

For those without dev brains:

castr.me lets you follow any Nostr user like a blog. Just paste their npub and boom, RSS feed. Read Nostr posts in your email or favorite reader. No client needed. Built on pure vibes, and it works.

nostr:nevent1qqsxan65tupm2x8ed2ctxzcl3ppszz0mdsmc6ukhykmnfva400c3nvcpzemhxw309ucnjv3wxymrst338qhrww3hxumnwydhqhr

It only looks at kind 1s or what are you doing?

For now it looks at audio and video content in kind1 (and it tries to find long-form show notes). It's a proof of concept, if enough people find it useful I hope that someone takes the idea and runs with it. nostr:nevent1qqsznudclrthfpr3kud07ul9dfwfcr2swepzrdlh5xcj8csvzv897yqpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqmjxss3dld622uu8q25gywum9qtg4w4cv4064jmg20xsac2aam5nqvzqqqqqqyh7tmll

Making everything work with someones general kind1 feed, creates so much mess to filter through

So apps like this destroy the signal they need to even be useful.

I prefer making publishing podcast audio ON NOSTR uber-easy and rewarding :rocketship:

TDIL ! ๐Ÿ‘

I tried this and it didn't have the last 8 days.

You're right, it seems to show a random selection of notes only. ๐Ÿค”

Man, do you just hang out at some coast side and chill? ๐Ÿ˜‚

I also contemplate things and do some clicks and double-clicks, but yes.

Did you see the one alby also vibe coded recently?

Nice!

The HTML is currently missing link rel elements for feed discovery. Something like this:

``

Incidentally, I also just proposed adding alternate Nostr links to Web content with Nostr representations, as well as to feeds, and some people seem to like it, so you could also add those:

nostr:nevent1qvzqqqqqqypzq8meqkx80g3yuklzymy0qfx2ekk56aqc2ht4ak03z3em4r4cdcwtqy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmwdaehgu3wdau8gu3wv3jhvtcqyzc7r4lzx43w2ajv0ajy9l2gpqysagu84mscydt03t5sm6vdlh206hpt4hq

(For RSS, the elements need to be namespaced, for example `

Good night ๐ŸŒ›

Love it Gigi Iโ€™ve always thought this is what nostr should go towards

Good night ๐ŸŒ›

I super love this... Basically it's just video! Thank you, nostr:nprofile1qqsxu35yyt0mwjjh8pcz4zprhxegz69t4wr9t74vk6zne58wzh0waycpz3mhxw309ucnydewxqhrqt338g6rsd3e9uq5gamn8ghj77tvwpc8g6fhv3uxkcm3w4nx2drtxfmngurrxfmrxdmhwe3hsumkv5mk5mmv0fhxjut3vdj8j6tkw9c8zmr9xdkxjepwdahxjmmw9uhazftv ๐Ÿ™๐Ÿป๐Ÿซ‚ You rock!

https://castr.me/npub19aftr8lpgz8knmswjz0d3l9vzwx97dcvqh0zfuxcxu9d57t4yv3sz4v28l

nostr:nevent1qqsxan65tupm2x8ed2ctxzcl3ppszz0mdsmc6ukhykmnfva400c3nvcpzemhxw309ucnjv3wxymrst338qhrww3hxumnwq3qdergggklka99wwrs92yz8wdjs952h2ux2ha2ed598ngwu9w7a6fsxpqqqqqqzle3cmd

Make it pull the lud from kind 0 in the episode description. That way it is (for any npub really) zappable from any rss reader that is not too retarded to open the link as an email or at all ๐Ÿ˜. Example podcastguru:

https://cdn.satellite.earth/d3be4ba2ccb8eecc7b987e3c90f8ff97e8ba824dae1f4b3e6c5adfb0f8378af3.mp4

Yes, I'll do that once I get back to it. Have to get the zap splits into the RSS feed too.

PRs appreciated! https://github.com/dergigi/pubcaster

my new favorite commit comment joke is "TODO look at code"