spiffytech / Brian Cottingham

spiffytech / Brian Cottingham

@spiffy.tech

I like technology

24 followers23 following22 posts

My bsky -> RSS project seems to be all set. Took about 2 evenings of work to build it and iron out all the kinks. I'll give their API a B+. I did everything with just four API calls: log in, get follows, get author profile, get author feed. Very easy, especially with the official Node.js library.

View full thread

My bsky -> RSS project seems to be all set. Took about 2 evenings of work to build it and iron out all the kinks. I'll give their API a B+. I did everything with just four API calls: log in, get follows, get author profile, get author feed. Very easy, especially with the official Node.js library.

View full thread

Except for how there's no official way to turn a post ID into a link to the bsky website, and the maintainers think that's kind of a philosophically invalid ask in the first place, so you have to chop up the at:// URI string. Feels hacky.

I was able to skip caching because bsky gives me everything I need in a single feed query per author, so I can't get any more efficient while serving fresh data. bsky has a firehose I could have used to detect new content, but for now I just refetch when I get a request from my RSS reader.

My bsky -> RSS project seems to be all set. Took about 2 evenings of work to build it and iron out all the kinks. I'll give their API a B+. I did everything with just four API calls: log in, get follows, get author profile, get author feed. Very easy, especially with the official Node.js library.

View full thread

My bsky -> RSS project seems to be all set. Took about 2 evenings of work to build it and iron out all the kinks. I'll give their API a B+. I did everything with just four API calls: log in, get follows, get author profile, get author feed. Very easy, especially with the official Node.js library.

Strangely, the lib includes TypeScript type definitions, but values aren't type-annotated. You have to already know a value's type and cast it. Then you get types for all of its immediate properties. Except for child properties whose types can vary, which you (again) have to know & cast.

You are up to date.