All Projects → Debakel → feedDiasp

Debakel / feedDiasp

Licence: GPL-2.0 license
Publishes RSS feeds to Diaspora*, a distributed social network.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to feedDiasp

social-relay
Public post relay for the Diaspora federated social network protocol
Stars: ✭ 27 (+3.85%)
Mutual labels:  diaspora
feedspora
FeedSpora posts RSS/Atom feeds to your social network accounts.
Stars: ✭ 31 (+19.23%)
Mutual labels:  diaspora
diaspy
Unofficial Python interface to the DIASPORA* social network
Stars: ✭ 58 (+123.08%)
Mutual labels:  diaspora
diaspora federation
A library that provides functionalities needed for the diaspora* federation protocol.
Stars: ✭ 97 (+273.08%)
Mutual labels:  diaspora
wp-to-diaspora
Automatically share WordPress posts on diaspora*
Stars: ✭ 15 (-42.31%)
Mutual labels:  diaspora
wordpress-nodeinfo
NodeInfo and NodeInfo2 for WordPress
Stars: ✭ 13 (-50%)
Mutual labels:  diaspora
ganggo
MOVED TO https://git.feneas.org/ganggo
Stars: ✭ 32 (+23.08%)
Mutual labels:  diaspora

feedDiasp*

Feed Diaspora with RSS-Feeds or Facebook.

Requirements

feedDiasp requires Python 3 and the pandoc library (optional) for converting HTML into Markdown:

  • On Debian based distributions : apt-get install pandoc
  • On ArchLinux : pacman -S pandoc
  • On MacOS: brew install pandoc

Installation

$ pip install feeddiasp

Usage example

from feeddiasp import FeedDiasp, FBParser, RSSParser

#Sync posts from a facebook site
fb = FBParser(user='spiegelonline', auth_token='...')
bot = FeedDiasp(parser=fb, pod='https://diasp.eu', username='zwirbel', password='Blume123', db='posts.txt')
bot.publish()

#Sync posts from a RSS feed
rss = RSSParser(url='http://www.spiegel.de/schlagzeilen/index.rss')
bot = FeedDiasp(parser=rss, pod='https://diasp.eu', username='zwirbel', password='Blume123', db='posts.txt')
bot.publish()

To avoid duplicates, submitted posts will be stored in posts.txt (defined in db).

Running the tests

$ python -m unittest tests

To run the tests, login credentials for a diaspora account must be stored in the following environment variables:

  • FEEDDIASP_TEST_POD
  • FEEDDIASP_TEST_USERNAME
  • FEEDDIASP_TEST_PASSWORD

Contributors

  • Moritz Duchêne
  • Alexey Veretennikov
  • Céline Libéral

License

Gnu General Public License (GPL), Version 2 or later

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].