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.

README.md 823 B

7 years ago
123456789101112131415161718192021
  1. # TootBot
  2. A small python script to replicate tweets on a mastodon account.
  3. The script only need mastodon login/pass to post toots.
  4. It gets the tweets from RSS available at http://twitrss.me, then does some cleanup on the content:
  5. - twitter tracking links (t.co) are dereferenced
  6. - twitter hosted pictures are retrieved and uploaded to mastodon
  7. A sqlite database is used to keep track of tweets than have been tooted.
  8. This script is in use for a few accounts:
  9. - cq94 -> https://amicale.net/@cquest
  10. - Etalab -> https://mastodon.etalab.gouv.fr/@etalab
  11. - datagouvfr -> https://mastodon.etalab.gouv.fr/@datagouvfr
  12. - osm_fr -> https://fr.osm.social/@osm_fr
  13. - sotmfr -> https://fr.osm.social/@sotmfr
  14. 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).