8000
Skip to content

Repository files navigation

Bluesky Bots

Repository for my two Bluesky bots, the Unofficial Hacker News frontpage bot and the Danish Uofficiel dr.dk nyheder bot on Bluesky.

The bots looks for new stuff on either page and post a link to Bluesky with a summary of the linked article. The Hacker News bot link to articles from the Hacker News frontpage. The dr.dk bot links to news articles from dr.dk.

Tech stack

The bots are written in TypeScript and run on Node.js hosted on GitHub Actions. The dr.dk bot came first and is simpler in that all the articles here follow the same HTML struture, so it was a lot easier to extract the article text to summarize. The Hacker News bot does this by loading the articles pages through Puppeteer and then extracting the article text with Readability.js. Summarization is done with Google: Gemini 2.5 Flash through the OpenRouter API to make it easy to switch between models. Posting is done with the Bluesky API. The Hacker News articles are found using the Hacker News API and dr.dk news articles come from the DR Nyheder som RSS-feed.

About

Unofficial dr.dk news bot for Bluesky

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0