NewsRiver
This is a constantly updating list of articles from the preconfigured sites. You can set whatever sites you want to watch (rss and reddit parsers are available) and then the page will reload with new articles from these locations.
I love keeping up with new news.. but I don't have the time to really watch everything. This allows me a super easy way to keep track of the most recent news I want.
Quick Start
- Fork the repo
- Edit the
data/sources.jsonfile adding whatever sources you would like - Copy the
.env.samplefile over to.env - Run
npm startwhich starts up a local server on port 8000
Detailed Version
Requirements
- Node v12.x.x
Installation
git clone https://git.sr.ht/~xangelo/newsriver newsriver
cd newsriver
npm install --production
Starting
- Set the
PORTenv variable to whatever port you wnat to api to listen to - Set the
PERSISTenv variable to teh name of the sqlite3 database
PORT=8000 PERSIST=db.sqlite3 npm start
This will start the application via the cluster module in node. It will
start up the api, and fork for the ingester. The UI will be available at
localhost:8000/
Adding new feeds
Edit the data/sources.json file adding a new element as outlined below
{
"title": "Name of the feed",
"parser": [reddit | rss] ,
"url": "http link to the page to parse"
}
Supported Parsers
- RSS