mirror of
https://github.com/tanrax/RSSingle.git
synced 2024-12-27 07:35:35 +01:00
Merge multiple feeds (RSS/Atom/JSON) into a single RSS feed.
daf79338b5
This commit adds a Dockerfile, .dockerignore, and a GH Action for pushing container images to - and this is by default, other registries can be used - Docker Hub (you need to generate a token and install it in the repo), and GitHub Registry, which doesn't require a manual token. The workflow won't build until #3 is merged, as it relies on successful builds from that workflow before a container image is pushed. Once we use unit tests, this will ensure container images aren't broken when pushed to a remote registry. I have marked this PR as draft for that reason. Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk> |
||
---|---|---|
.github | ||
.dockerignore | ||
.gitignore | ||
config.yml | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
rssingle.png | ||
rssingle.py |
RSSingle
Generates an RSS file from the list of other feeds (RSS/Atom/JSON). Very handy when you want to centralise the list of your feeds in one place and all your devices feed from the same place.
Run
- Download the binary.
Linux
wget https://github.com/tanrax/RSSingle/releases/download/v1.0.0/rssingle
Windows
wget https://github.com/tanrax/RSSingle/releases/download/v1.0.0/rssingle.exe
- Gives execution permissions.
chmod +x rssingle
- In the same directory as the binary, you can create a local
config.yml
file in this format:
title: My RSS Feed
description: My customised RSS feed with technology news
url: https://www.example.com
output: rss.xml
feeds:
- https://programadorwebvalencia.com/feed/
- https://republicaweb.es/feed/
If not, you can download the example in the repository.
curl -o config.yml https://raw.githubusercontent.com/tanrax/RSSingle/master/config.yml
- Run the binary.
./rssingle
A file called rss.xml
will be created.
Development
Compiling
pyinstaller --onefile rssingle.py
Old versions
docker run --rm --volume $PWD:/app python:3.8-buster /bin/bash -c "cd /app; pip3 install -r requirements.txt; pyinstaller --onefile rssingle.py"
You will find the binary in dist
.
Thanks
@shymega for his original project singlerss.