Blame


1 0f17d4a1 2023-05-16 continue ronk: RSS-to-honk bot
2 0f17d4a1 2023-05-16 continue =====================
3 3d5eed20 2023-05-11 continue
4 0f17d4a1 2023-05-16 continue Repost from RSS feed to [honk][honk-tedu].
5 11d6d7a4 2023-05-11 continue
6 0f17d4a1 2023-05-16 continue Installing dependencies:
7 11d6d7a4 2023-05-11 continue ```
8 0f17d4a1 2023-05-16 continue $ python3 -m pip install requests
9 11d6d7a4 2023-05-11 continue ```
10 11d6d7a4 2023-05-11 continue
11 a7533b79 2023-05-17 continue Periodic launch of the bot (for example: [@hourly][openbsd-crontab5]):
12 11d6d7a4 2023-05-11 continue ```
13 0f17d4a1 2023-05-16 continue $ python3 ronk.py --db ~/example --rss https://example.org/feed.rss --honk https://honk.server.org/api --token $TOKEN
14 11d6d7a4 2023-05-11 continue ```
15 bebc3eb3 2023-05-11 continue
16 0f17d4a1 2023-05-16 continue `$TOKEN` must be obtained via [API][honk-login]:
17 bebc3eb3 2023-05-11 continue ```
18 0f17d4a1 2023-05-16 continue $ curl -X POST -F "username=$NAME" -F "password=$PASS" -F "gettoken=1" https://honk.server.org/dologin
19 bebc3eb3 2023-05-11 continue ```
20 0f17d4a1 2023-05-16 continue
21 0f17d4a1 2023-05-16 continue [honk-tedu]: https://humungus.tedunangst.com/r/honk
22 a7533b79 2023-05-17 continue [openbsd-crontab5]: https://man.openbsd.org/crontab.5
23 0f17d4a1 2023-05-16 continue [honk-login]: https://honk.any-key.press/help/honk.3.html#login