Scrape RSS feeds and add articles to pocket
Clone repo and download dependencies:
git clone git@github.com:eirsyl/feedy.git ${GOPATH}/src/github.com/eirsyl/feedy
cd ${GOPATH}/src/github.com/eirsyl/feedy
make vendor
Build application:
make build
Go the releases page to download a precompiled version of feedy!
feedy --help
RSS feed scraper
Usage:
feedy [command]
Available Commands:
feed Manage feeds
help Help about any command
login Authenticate with pocket
scrape Scrape watched feeds
Flags:
--concurrency int feeds to scrape concurrent (default 10)
-c, --configFile string config file path
-h, --help help for feedy
--version version for feedy
Use "feedy [command] --help" for more information about a command.
feedy -c /var/lib/feedy/config.db feed add <feed> <tag1> <tag2>
feedy -c /var/lib/feedy/config.db feed list
feedy -c /var/lib/feedy/config.db scrape --autostop=false
Systemd file for running the service in the background:
[Unit]
Description=Feedy RSS scraper
After=network.target
[Service]
Type=simple
User=feedy
ExecStart=/usr/local/sbin/feedy -c /root/config.db scrape --autostop=false
CPUAccounting = yes
MemoryAccounting = yes
[Install]
WantedBy=multi-user.target