kody
/
Calc2Twitter
Archived
1
0
Fork 0
Calckey to Twitter crossposter (Should also work with Foundkey and Misskey) https://wubba.boo/@kody
This repository has been archived on 2023-08-09. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
Kody 648190a683 fix pyproject license key 2023-06-20 11:17:26 +02:00
.flake8 Doc and minor fixes 2023-05-30 18:52:03 +02:00
.gitignore Technically this works now 2023-05-31 18:19:03 +02:00
LICENSE Technically this works now 2023-05-31 18:19:03 +02:00
README.md Update README.md 2023-06-02 17:04:02 +02:00
config.example.ini Technically this works now 2023-05-31 18:19:03 +02:00
db.empty.sqlite Technically this works now 2023-05-31 18:19:03 +02:00
index.py Haven't tested this, but handle files 2023-06-02 17:02:41 +02:00
pyproject.toml fix pyproject license key 2023-06-20 11:17:26 +02:00
renovate.json Ajouter 'renovate.json' 2023-06-15 11:44:05 +00:00

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.