Update 'README.md'

This commit is contained in:
nutomic 2019-12-09 21:00:53 +00:00
parent f48ec1e899
commit 0a6660baf4

View file

@ -1,4 +1,4 @@
# TootBot ## TootBot
A small python 3.x script to replicate tweets on a mastodon account. A small python 3.x script to replicate tweets on a mastodon account.
@ -11,15 +11,31 @@ It gets the tweets from RSS available at http://twitrss.me, then does some clean
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.
To run, fork this repo and enter the details for your bot account(s) in `templates/run-bot.sh`.
Based on [github.com/cquest/tootbot](https://github.com/cquest/tootbot) Based on [github.com/cquest/tootbot](https://github.com/cquest/tootbot)
## Running
To run, fork this repo and enter the details for your bot account(s) in `templates/run-bot.sh`.
Then copy `inventory.example` to `inventory` and enter your server connection details and the
password for your Mastodon bot account(s). All bots need to have the same password.
Finally, you can deploy the bot with:
```
ansible-playbook tootbot.yml
```
## Examples
I am using this bot for the following accounts: I am using this bot for the following accounts:
https://newsbots.eu/@itsgoingdown https://newsbots.eu/@itsgoingdown
https://newsbots.eu/@telesur_en https://newsbots.eu/@telesur_en
https://newsbots.eu/@telesur_es https://newsbots.eu/@telesur_es
https://newsbots.eu/@granma https://newsbots.eu/@granma
https://newsbots.eu/@derpostillon https://newsbots.eu/@derpostillon
https://newsbots.eu/@telepolis https://newsbots.eu/@telepolis