Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

eirsyl/feedy

Repository files navigation

feedy

Scrape RSS feeds and add articles to pocket

Getting started

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

Usage

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.

Add feed

feedy -c /var/lib/feedy/config.db feed add <feed> <tag1> <tag2>

List subscribed feeds

feedy -c /var/lib/feedy/config.db feed list

Run the scraper as a system service

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

About

Scrape RSS feeds and add articles to pocket

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /