Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ralyodio/reddit-rss-submit
Submit RSS links to Reddit.
https://github.com/ralyodio/reddit-rss-submit
Last synced: 19 days ago
JSON representation
Submit RSS links to Reddit.
- Host: GitHub
- URL: https://github.com/ralyodio/reddit-rss-submit
- Owner: ralyodio
- License: mit
- Created: 2014-11-24T07:05:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T08:16:40.000Z (almost 10 years ago)
- Last Synced: 2024-10-06T10:41:40.119Z (about 1 month ago)
- Language: JavaScript
- Size: 238 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
reddit-rss-submit
=============## node.js (required)
#mac
brew install nodeOther OS (windows, linux) should install from source found at http://nodejs.org
## install
git clone [email protected]:chovy/reddit-rss-submit.git
cd reddit-rss-submit
#create cache
mkdir tmp
echo '{}' > tmp/seen.json
npm install# add a cronjob to periodically check
crontab -e# add this line (runs every hour on hh:05)
5 * * * * /usr/local/bin/node ~/path/to/reddit-rss-submit/index.js -u user -p pass --multi
# use flock to skip runs where script is already running (recommended - allows to run every 5 mins)
*/5 * * * * flock -n /tmp/reddit.lock -c "/usr/local/bin/node /path/to/reddit-rss-submit/index.js -u user -p pass"## configure
Only json is supported, best thing to convert RSS to JSON is to setup a Yahoo pipes over at http://pipes.yahoo.com
You can can then grab the URL of your pipe's output as JSON.cp config.sample.json config.json
Edit `config.json` to point to the URL of your feed (see yahoo pipes to convert to JSON)## options
- user: reddit uername (required)
- pass: reddit password (required)
- v: verbosity (`-vvv` to increase)
- t: throttle (number of minutes between link submissions, defaults to 10)
- m: multi (supports posting to multiple reddits)LICENSE: MIT
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/chovy/reddit-rss-submit/trend.png)](https://bitdeli.com/free "Bitdeli Badge")