commit - 36e13c5d16c60d74625329d9aeff83e419da318e
commit + 0f17d4a1cfe8b3dfb00b857b5fdc48d8e091a1de
blob - 9aa2cb15df27e4e49f4c5963058354a0617a9b44
blob + f6c209a40859615d25f891f90a35e013099ab983
--- README.md
+++ README.md
-# RSS-to-honk bot
+ronk: RSS-to-honk bot
+=====================
-Repost from RSS feed to [honk](https://humungus.tedunangst.com/r/honk).
+Repost from RSS feed to [honk][honk-tedu].
-## Pre-install
-
-+ Create new honk user:
+Installing dependencies:
```
-$ cd /var/honk && honk adduser
+$ python3 -m pip install requests
```
-Details: [honk(8)](https://honk.any-key.press/help/honk.8.html)
-+ Get honk user token:
+Periodic launch of the bot:
```
-$ curl -X POST https://honk.example.org/dologin -d "username=myuser&password=mypwd&gettoken=1"
+$ python3 ronk.py --db ~/example --rss https://example.org/feed.rss --honk https://honk.server.org/api --token $TOKEN
```
-Details: [honk(3)](https://honk.any-key.press/help/honk.3.html)
-+ Create isolated Python environment:
+`$TOKEN` must be obtained via [API][honk-login]:
```
-$ python3 -m virtualenv venv
+$ 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
+[honk-login]: https://honk.any-key.press/help/honk.3.html#login