Feed2toot automatically parses RSS feeds, identifies new posts and posts them on the Mastodon social network. Forked from https://gitlab.com/chaica/feed2toot
Go to file
2017-08-02 11:51:18 +02:00
docs Merge branch 'add-feedname' into 'master' 2017-07-31 13:33:59 +00:00
feed2toot conf parsing for uri option of the rss section 2017-08-01 23:34:11 +02:00
scripts Small rephrasing and reformatting. 2017-05-13 07:55:47 +02:00
.gitignore ignore feedlist file 2017-08-01 16:58:50 +02:00
AUTHORS add Alexis Metaireau 2017-08-02 11:51:18 +02:00
CHANGELOG update for 0.5 2017-05-05 19:30:48 +02:00
feed2toot.py first commit 2017-04-09 10:30:48 +02:00
LICENSE first commit 2017-04-09 10:30:48 +02:00
README.md Comment out toot_visibility in examples 2017-06-28 21:21:27 +03:00
setup.py bump version 2017-05-05 19:28:10 +02:00

Feed2toot

Feed2toot automatically parses rss feeds, identifies new posts and posts them on the Mastodon social network. For the full documentation, read it online.

If you would like, you can support the development of this project on Liberapay. Alternatively you can donate cryptocurrencies:

  • BTC: 1MaFaUbmJcTVN9wsm5bzqFyq6zWu434X3A
  • XMR: 43GGv8KzVhxehv832FWPTF7FSVuWjuBarFd17QP163uxMaFyoqwmDf1aiRtS5jWgCiRsi73yqedNJJ6V1La2joznKHGAhDi

Quick Install

  • Install Feed2toot from PyPI

      # pip3 install feed2toot
    
  • Install Feed2toot from sources (see the installation guide for full details) Installation Guide

      # tar zxvf feed2toot-0.5.tar.gz
      # cd feed2toot
      # python3 setup.py install
      # # or
      # python3 setup.py install --install-scripts=/usr/bin
    

Create the authorization for the Feed2toot app

  • Just launch the following command::

      $ register_feed2toot_app
    

Use Feed2toot

  • Create or modify feed2toot.ini file in order to configure feed2toot:

      [mastodon]
      instance_url=https://mastodon.social
      user_credentials=feed2toot_usercred.txt
      client_credentials=feed2toot_clientcred.txt
      ; Default visibility is public, but you can override it:
      ; toot_visibility=unlisted
    
      [cache]
      cachefile=cache.db
    
      [rss]
      uri=https://www.journalduhacker.net/rss
      tweet={title} {link}
    
      [hashtaglist]
      several_words_hashtags_list=hashtags.txt
    
  • Launch Feed2toot

      $ feed2toot -c /path/to/feed2toot.ini
    

Authors

License

This software comes under the terms of the GPLv3+. Previously under MIT license. See the LICENSE file for the complete text of the license.