Calckey to Twitter crossposter (Should also work with Foundkey and Misskey)
https://wubba.boo/@kody
|
||
---|---|---|
.flake8 | ||
.gitignore | ||
LICENSE | ||
README.md | ||
config.example.ini | ||
db.empty.sqlite | ||
index.py | ||
pyproject.toml | ||
renovate.json |
README.md
Calc2Twitter
Calckey to Twitter crossposter
(Should also work with Foundkey and Misskey)
Note that this isn't very well tested yet.
Setup
- Have python 3.8+ and pip ready
- Do not touch
db.empty.sqlite
- Install dependencies:
pip install .
- Copy example config file to
config.ini
- Edit the config file:
user.instance
- The base URL of your instance, without a trailing slash.user.userid
- Your local user id. Open your profile, click the menu, and about.twitter.*
- Make an API v1 app, you can create your keys under "Keys and tokens".
- Run it:
python index.py
On the first run when the db.sqlite
file doesn't exist, it will make a copy from the empty one, and start to fetch your posts BUT it won't post, to prevent flooding your profile at once.
If nothing crashes, you can try to make the script run in a cron regularly.