mirror of
https://github.com/cquest/tootbot.git
synced 2025-02-23 02:48:25 +00:00
README update (no more twitter)
This commit is contained in:
parent
4b4e82c226
commit
07ceb2df56
17
README.md
17
README.md
|
@ -1,24 +1,17 @@
|
||||||
# TootBot
|
# TootBot
|
||||||
|
|
||||||
A small python 3.x script to replicate tweets on a mastodon account.
|
A small python 3.x script to replicate RSS and posts on bluesky to a mastodon account.
|
||||||
|
|
||||||
The script only need mastodon login/pass to post toots.
|
The script only need mastodon login/pass to post toots.
|
||||||
|
|
||||||
It gets the tweets using **twint**, then does some cleanup on the content:
|
It gets the BS posts thru their public API.
|
||||||
- twitter tracking links (t.co) are dereferenced
|
- externally hosted pictures or videos are retrieved with **yt-dlp** and uploaded to mastodon
|
||||||
- twitter hosted pictures or videos are retrieved with **yt-dlp** and uploaded to mastodon
|
|
||||||
|
|
||||||
It can also toot RSS/atom feeds (see cron-example.sh).
|
It can also toot RSS/atom feeds (see cron-example.sh).
|
||||||
|
|
||||||
A sqlite database is used to keep track of tweets than have been tooted.
|
A sqlite database is used to keep track of tweets than have been tooted.
|
||||||
|
|
||||||
|
Threads are maintained as far as possible, but replies and reposts and not replicated.
|
||||||
This script is in use for a few accounts:
|
|
||||||
- osm_fr -> https://fr.osm.social/@osm_fr
|
|
||||||
- sotmfr -> https://fr.osm.social/@sotmfr
|
|
||||||
- macbidouille -> https://amicale.net/@macbidouille
|
|
||||||
- nextinpact -> https://amicale.net/@nextinpact
|
|
||||||
- opendata -> https://amicale.net/@opendata
|
|
||||||
|
|
||||||
The script is simply called by a cron job and can run on any server (does not have to be on the mastodon instance server).
|
The script is simply called by a cron job and can run on any server (does not have to be on the mastodon instance server).
|
||||||
|
|
||||||
|
@ -33,7 +26,7 @@ cd tootbot
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
|
|
||||||
# install additional required software
|
# install additional required software
|
||||||
sudo apt install jq
|
sudo apt install jq ffmpeg
|
||||||
```
|
```
|
||||||
|
|
||||||
## Useage
|
## Useage
|
||||||
|
|
Loading…
Reference in New Issue
Block a user