Skip to content

A robot that publishes the content of RSS feeds on a Mastodon account.

License

Notifications You must be signed in to change notification settings

MyNameIsTroll/newsbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewsBot

A robot that publishes the content of RSS feeds on a Mastodon account.

Installation

  1. Go to your Mastodon account in settings/development. image

  2. Create a new application, name it after your robot. image

  3. Copy your credentials into the newsbot.py script

  4. Replace the path /HOME/USER/PATH/ into newsbot.py with the path to your location on the server.

  5. Paste your RSS feed(s) (one per line) into the rss_feeds.txt file.

  6. In scipt newsbot.py, modify the number of publications it should send per execution (default = 3).

  7. Create a CRON task (crontab -e) with a call to the python script every X minutes.
    EXAMPLE:
    */10 * * * * usr/bin/python3 /HOME/USER/PATH/newsbot.py

  8. Please remember to set your robot's toots to Unlisted to avoid flooding public instance. image

  9. Enjoy

About

A robot that publishes the content of RSS feeds on a Mastodon account.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages