Publish to Mastodon's server the rss feed of your choice.
Anar al arxiu
2021-05-15 11:28:12 +02:00
db-setup.py Increased link column to varchar(300) 2021-05-15 11:28:12 +02:00
LICENSE Add LICENSE 2020-03-21 20:15:34 +00:00
mastofeeds.py Check and save links, not id's 2020-08-12 20:39:42 +02:00
README.md Updated README.md 2020-03-21 20:31:04 +01:00
requirements.txt Added requirements.txt 2020-03-21 21:12:25 +01:00
setup.py Added setup.py 2020-03-21 20:57:04 +01:00

mastofeeds

Newsfeed Bot for Mastodon

Publish to Mastodon's server the rss feed of your choice.

Dependencies

  • Python 3
  • Postgresql server
  • Everything else at the top of mastofeeds.py!

Usage:

Within Python Virtual Environment:

  1. Run 'python db-setup.py' to create needed database and table. It's needed to control what feeds are already published. db-setup.py will also ask you the feed's url.

  2. Run 'python setup.py' to get your bot's access token of an existing user. It will be saved to 'secrets/secrets.txt' for further use.

  3. Run 'python mastofeeds.py' to start publishing feeds.

  4. Use your favourite scheduling method to set mastofeeds.py to run regularly.

Note: install all needed packages with 'pip install package' or use 'pip install -r requirements.txt' to install them.