Deliver Atom feed items on Misskey
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Efertone 405357b1e1 Merge pull request 'Mastodon client' (#24) from mastodon into development 10 months ago
cmd/kiki Parse image if exists 10 months ago
pkg Mastodon client 10 months ago
test Add testing and use the "_test" package idiom 12 months ago
.drone.yml everything should be in place now 11 months ago
.gitignore Initial commit 1 year ago
LICENSE Initial commit 1 year ago
Makefile increase timeout on lint and enable verbose output 11 months ago
README.md Update README 11 months ago
config.example.yaml everything should be in place now 11 months ago
go.mod Mastodon client 10 months ago
go.sum Mastodon client 10 months 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