This commit is contained in:
Heiner Tholen 2022-11-27 19:53:12 +01:00
parent d5f34b710e
commit bfc3d953a0

View file

@ -1,4 +1,11 @@
# HackerNews -> Mastodon Bridge # HackerNews -> Mastodon Bridge
This repo contains a dockerfile that'll create an image that consumes the HackerNews RSS feed and posts it to mastodon@pub.solar This repo contains config to consume the HackerNews RSS feed (https://news.ycombinator.com/rss) and to toot the messages to https://mastodon.pub.solar/@hackernews_bot, a mastodon bot.
The dockerfile builds a container that uses [feed2toot](https://feed2toot.readthedocs.io/en/latest/use.html). All stateful data is expected to be mounted under `/data`, namely:
* `feed2toot.ini`: config file in this repo
* `feed2toot_clientcred.txt`: from `register_feed2toot_app` script
* `feed2toot_usercred.txt`: from `register_feed2toot_app` script
* `feed2toot_cache.db`: cache file to register previous posts