- Description:
- RSS-to-honk bot
- Last Change:
- Clone URL:
ssh://anonymous@got.any-key.press/ronk
Commit Briefs
Fix: UnicodeDecodeError (correct) (main, tags/v0.1.3)
Fix: UnicodeDecodeError (tags/v0.1.2)
Pass content as form-data (tags/v0.1.1)
Fix: requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https://honk.any-key.press/api?action=honk&<...>
Fix README (tags/v0.1.0)
Branches
Tree
LICENSE | commits | blame |
README.md | commits | blame |
TODO | commits | blame |
ronk.py | commits | blame |
README.md
ronk: RSS-to-honk bot ===================== Repost from RSS feed to [honk][honk-tedu]. ONLY standard library (WITHOUT external dependencies). Periodic launch of the bot (for example: [@hourly][openbsd-crontab5]): ``` $ python3 ronk.py --db ~/example --rss https://example.org/feed.rss --honk https://honk.server.org/api --token $TOKEN ``` `$TOKEN` must be obtained via [API][honk-login]: ``` $ curl -X POST -F "username=$NAME" -F "password=$PASS" -F "gettoken=1" https://honk.server.org/dologin ``` [honk-tedu]: https://humungus.tedunangst.com/r/honk [openbsd-crontab5]: https://man.openbsd.org/crontab.5 [honk-login]: https://honk.any-key.press/help/honk.3.html#login