Commit Briefs

Aleksey Ryndin

Pass content as form-data (main, tags/v0.1.1)

Fix: requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https://honk.any-key.press/api?action=honk&<...>


Aleksey Ryndin

Fix README


Aleksey Ryndin

Fix README (tags/v0.1.0)


Aleksey Ryndin

Fixes: pylint


Aleksey Ryndin

Add timeout


Aleksey Ryndin

Fix: check dups


Aleksey Ryndin

Add raise_for_status


Aleksey Ryndin

Initialy implementation


Aleksey Ryndin

Skeleton


Aleksey Ryndin

Extend README.md


Branches


Tags

v0.1.1

v0.1.0

Tree

LICENSEcommits | blame
README.mdcommits | blame
ronk.pycommits | blame

README.md

ronk: RSS-to-honk bot
=====================

Repost from RSS feed to [honk][honk-tedu].

Installing dependencies:
```
$ python3 -m pip install requests
```

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