Added Pleroma server support

This commit is contained in:
spla 2022-02-18 18:29:47 +01:00
pare 1e2806e23b
commit 637a93337c

Veure arxiu

@ -1,11 +1,11 @@
# Replicator # Replicator
Replicator can manage several Mastodon's bot accounts who will replicate (post to Mastodon) several Twitter accounts's tweets of your choice. Replicator can manage several Mastodon or Pleroma's bot accounts who will replicate (post to Mastodon/Pleroma) several Twitter accounts's tweets of your choice.
### Dependencies ### Dependencies
- **Python 3** - **Python 3**
- Postgresql server - Postgresql server
- Several Mastodon's bot accounts - Several Mastodon or Pleroma's bot accounts
- One Twitter user account API KEY and SECRET - One Twitter user account API KEY and SECRET
- Your personal Linux or Raspberry box. - Your personal Linux or Raspberry box.
@ -19,6 +19,8 @@ Within Python Virtual Environment:
3. Run `python twitter-setup.py` to input and save your Twitter's key and access token. You can get your API key and API key secret from [Twitter Developer Platform](https://developer.twitter.com/en/apply/user.html) 3. Run `python twitter-setup.py` to input and save your Twitter's key and access token. You can get your API key and API key secret from [Twitter Developer Platform](https://developer.twitter.com/en/apply/user.html)
4. Run `python bots-setup.py` to setup your Mastodon's bot accounts access tokens, so many as you wish. Each bot will replicate (post to Mastodon) all new tweets from each configured Twitter's users. 4. Run `python bots-setup.py` to setup your Mastodon or Pleroma's bot accounts access tokens, so many as you wish. Each bot will replicate (post to Mastodon) all new tweets from each configured Twitter's users.
5. Use your favourite scheduling method to set `python replicator.py` to run every minute. 5. Use your favourite scheduling method to set `python replicator.py` to run every minute.
18.2.2022 **New feature**. Added Pleroma support.