You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Efertone <efertone@pm.me> |
2 weeks ago | |
---|---|---|
cmd/kiki | 2 months ago | |
pkg | 2 months ago | |
test | 2 months ago | |
.drone.yml | 2 months ago | |
.gitignore | 3 years ago | |
.golangci.yml | 2 months ago | |
.goreleaser.yml | 1 year ago | |
LICENSE | 3 years ago | |
Makefile | 1 year ago | |
README.md | 3 years ago | |
config.example.yaml | 3 years ago | |
go.mod | 2 weeks ago | |
go.sum | 2 weeks ago |
README.md
Kiki
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.
Usage
Add User
# Misskey example
./kiki add-account --name="happy_bot" \
--api-token="user token from misskey" \
--base-url="https://slippy.xyz" \
--publisher="misskey"
Add feed to a user
./kiki add-feed --name="Happy News" --url="https://i-am-happy/newletter.atom" --user="happy_bot" --provider="atom"
Fetch
./kiki fetch
Create a post
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
Cron job can be
*/15 * * * * /home/user/kiki fetch && /home/user/kiki publish