Skip to content
📰 I consume the world via RSS feeds, and this is my attempt to keep it that way.
Ruby HTML JavaScript Other
Branch: master
Clone or download
Latest commit e83ecf2 Jul 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ebextensions Add more instructions for VPC deployments. Jul 1, 2019
app Add custom error for Instagram 429 errors.. In the week, I have start… Jul 12, 2019
bin Also bind socket file in bin/server. May 31, 2019
config Do not print a stack trace at all for InstagramRatelimitError. Jul 12, 2019
kubernetes Update kubernetes things and add ingress-tls.yml. Apr 7, 2019
lib Add custom error for Instagram 429 errors.. In the week, I have start… Jul 12, 2019
log YouTube May 25, 2015
public Stop using the YouTube search endpoint. It costs 100 quota per call, … Jul 2, 2019
tmp YouTube May 25, 2015
views The moron went away. Jul 29, 2019
.dockerenv.example Annoying secureheaders upgrade. Hold my hand. Dec 27, 2017
.dockerignore Docker stuff. Use new base image. Jul 18, 2015
.env.example Add AIRBRAKE_ENVIRONMENT. Jun 1, 2019
.gitignore Add /.bundle to gitignore. May 31, 2019
.irbrc Prefer && and || over "and" and "or". Mar 19, 2018
.ruby-version Ruby 2.6.3 Apr 18, 2019
Caddyfile Add Caddyfile. Apr 15, 2018
Dockerfile Link to Docker Hub. Jul 3, 2019
Gemfile Update gems. Jul 1, 2019
Gemfile.lock Update gems. Jul 12, 2019
LICENSE Create LICENSE Jan 22, 2018
Procfile Switch to puma. May 9, 2016
README.md Link to Docker Hub. Jul 3, 2019
Rakefile Make EB easier to set up. Use new redirect rules to make the load bal… Nov 21, 2018
Vagrantfile Ruby 2.6.1 Feb 23, 2019
app.json Instagram no longer requires an API key. Mar 20, 2019
app.rb RIP iTunes. Jul 29, 2019
config.ru Freeze strings with magic comment frozen_string_literal. Oct 6, 2017
docker-compose.yml Add prometheus metrics endpoint. Nov 18, 2018
prometheus.yml Add prometheus metrics endpoint. Nov 18, 2018

README.md

RSS Box

This app uses the API of other websites and gives you an RSS feed in return. Quick and simple.

To open vlc:// links, see vlc-protocol.

You can use this app freely at rssbox.herokuapp.com. An experimental Elastic Beanstalk version is available.

Roll your own

Deploy

To deploy to Elastic Beanstalk, see .ebextensions/README.md.

To deploy to Kubernetes, see kubernetes/README.md.

A Docker image is available on Docker Hub.

Configuration

You need to get API keys for the respective services and populate the environment variables, e.g. by using an .env file.

A couple of services do not have official APIs, or do not require API keys, so they will work without any keys.

These services do not require API keys: Instagram, Periscope, Mixcloud, Speedrun, Ustream, Dailymotion.

Twitter

Go to Twitter Application Management and create a new app.

Once you have the consumer key and consumer secret, run the following to get the bearer token.

curl -X POST -d grant_type=client_credentials -u CONSUMER_KEY:CONSUMER_SECRET https://api.twitter.com/oauth2/token

Copy the access_token and put it in the config.

YouTube

Go to the Google Developer Console, create a project and a server key. Copy the server key. Enable "YouTube Data API v3" in the project.

Vimeo

Go to the Vimeo developer website and create an app. Then create a personal access token.

Facebook

Note: This requires an app with the Page Public Content Access permission which requires manual approval from Facebook and is quite difficult to get. The official RSSBox website doesn't support Facebook anymore for this reason.

Go to the Facebook developer website and create an app. Copy your app id and secret.

Facebook live hax: After a live stream has ended, trying to access the stream via playlist.m3u8 will still give you a list of .ts files, however the domain is interncache-prn.fbcdn.net which doesn't resolve. However, if you edit your /etc/hosts file and point that domain to the IP of origincache-prn.fbcdn.net, you can watch the video again (use dig origincache-prn.fbcdn.net +short). This only works for a couple of days after the live event.

SoundCloud

Go to the SoundCloud developer website and create an app. Copy your client id and secret.

Twitch

Go to your Twitch settings and create an app. Copy your client id.

Imgur

Go to the Imgur settings and create an app. Copy your client id.

You can’t perform that action at this time.