Generates RSS feeds for Twitch accounts.
This acts as a proxy to Twitch, presenting video history as an RSS feed. The idea is that you can add specific accounts to your RSS reader as separate URLs/feeds.
You can run it in two modes:
In order to use this, you first need to create a Twitch App and get the Client ID and Client Secret.
Those credentials will then be used by
twitch-rss to query Twitch APIs.
cargo install twitch-rss.
CLIENT_SECRETenvvars containing the Twitch App credentials. You can optionally also specify
0.0.0.0:8080is the default:
$ CLIENT_ID=1234...abcd \ CLIENT_SECRET=5678...efgh \ LISTEN=127.0.0.1:8080 \ ./twitch-rss
twitch-rssURL(s) to your RSS reader (e.g.
miniflux), or test manually with
$ curl -v 'http://127.0.0.1:8080/rss?account=ACCOUNT_NAME_HERE'
Alternatively you can also run
twitch-rss via the CLI with the account to query, and it will write the RSS to stdout. This is useful for testing or for writing the RSS payload to a static page.
$ CLIENT_ID=1234...abcd \ CLIENT_SECRET=5678...efgh \ ./twitch-rss ACCOUNT_NAME_HERE