lwnfeed is a simple daemon that creates a full-text RSS feed from lwn.net by scraping the content from the website.
You must have a LWN subscription to use this tool. It is intended for personal use only, please do not publish the generated feeds.
- Install Go 1.13 or higher.
- Clone the repository (
git clone https://github.com/tulir/lwnfeed.git
) and enter the directory (cd lwnfeed
). - Build the program (
./build.sh
). - Use
./lwnfeed login
to log in and store the auth cookie into a file. - Start the server with
./lwnfeed start
. - Open
http://localhost:8080/feed.rss
to view the feed.feed.atom
andfeed.json
also work.
- Run
docker run --rm -itv $(pwd):/data dock.mau.dev/tulir/lwnfeed login
to log in and store the auth cookie into a file. - Start the container normally with your preferred method (see examples below), keeping the same bind mount as before.
$ docker start -p 8080:8080 --name lwnfeed -v $(pwd):/data dock.mau.dev/tulir/lwnfeed
version: "3.7"
services:
lwnfeed:
container_name: lwnfeed
image: dock.mau.dev/tulir/lwnfeed
ports:
- 8080:8080
volumes:
- .:/data