multifeeder/README.md

62 lines
1.3 KiB
Markdown
Raw Normal View History

2021-02-16 21:17:46 +01:00
# Multifeeder
2022-02-22 10:27:30 +01:00
Multifeeding RSS streams.
2021-02-23 13:24:28 +01:00
2022-02-22 10:27:30 +01:00
This is the Multifeeder, a feed aggregator supporting any kinds of publishing experiments.
2021-02-16 23:26:03 +01:00
## Live
Multifeeder runs here: <https://multi.vvvvvvaria.org/>
2021-02-23 11:47:43 +01:00
Commits to this git repository will automagically update the live version!
(Multifeeder runs as a `supervisor` service, see `/etc/supervisor/conf.d/multifeeder.conf`.)
2022-02-22 10:27:30 +01:00
The feeds are updated every 10 minutes.
2021-02-23 13:25:46 +01:00
2022-02-22 10:27:30 +01:00
## Access points
2021-02-23 11:47:43 +01:00
2021-02-23 11:49:38 +01:00
**/API/latest/[num]**
2021-02-23 11:47:43 +01:00
For example: https://multi.vvvvvvaria.org/API/latest/5
(for the latest 5 posts in all feeds)
2022-02-22 10:27:30 +01:00
Format: `JSON` (default) & `Markdown`
2021-02-23 11:47:43 +01:00
2021-02-23 11:49:38 +01:00
**/API/today/**
2021-02-23 11:47:43 +01:00
For example: https://multi.vvvvvvaria.org/API/today/
(for the posts published today)
2022-02-22 10:27:30 +01:00
Format: `JSON` (default) & `Markdown`
2021-02-23 11:47:43 +01:00
2021-02-23 11:49:38 +01:00
**/API/past/[days]**
2021-02-23 11:47:43 +01:00
For example: https://multi.vvvvvvaria.org/API/past/30
(for all the posts published in the last 30 days)
2022-02-22 10:27:30 +01:00
Format: `JSON` (default) & `Markdown`
2021-02-23 11:47:43 +01:00
2021-02-17 21:24:07 +01:00
## Add a feed
Feeds can be added here in the git, by editing the file `feeds.txt`.
2021-02-23 11:47:43 +01:00
Leave a feed link on a new line, commit your change, and the feed will be included in the Multifeeder.
Removing a feed can be done by taking a feed link out of this list.
2021-02-17 21:24:07 +01:00
## Using the multifeeder locally
2021-02-16 23:26:03 +01:00
To install: make a virtual environment + install the dependencies.
`make setup`
2021-02-17 17:44:12 +01:00
To use: run the Flask application.
2021-02-16 23:26:03 +01:00
`make`
Open `localhost:5678` in a browser and there we go!