|
6 months ago | |
---|---|---|
cmd/kiki | 6 months ago | |
pkg | 6 months ago | |
test | 6 months ago | |
.drone.yml | 8 months ago | |
.gitignore | 11 months ago | |
LICENSE | 11 months ago | |
Makefile | 6 months ago | |
README.md | 8 months ago | |
config.example.yaml | 8 months ago | |
go.mod | 7 months ago | |
go.sum | 7 months ago |
Basic configuration:
# $HOME/.config/kiki/config.yaml
---
database:
user: kiki
name: kiki
password: kiki
host: localhost
port: 5432
Optionally, you can specify with --config
parameter.
# Misskey example
./kiki add-account --name="happy_bot" \
--api-token="user token from misskey" \
--base-url="https://slippy.xyz" \
--publisher="misskey"
./kiki add-feed --name="Happy News" --url="https://i-am-happy/newletter.atom" --user="happy_bot" --provider="atom"
./kiki fetch
Kiki is designed the way she is not able to post all the new items in one batch. Kiki will publish only the oldest one and mark it as posted.
./kiki publish
*/15 * * * * /home/user/kiki fetch && /home/user/kiki publish