miniflux-refresh-feeds

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

README

miniflux-refresh-feeds

installation

go get -u lusikas.com/miniflux-refresh-feeds

configuration file example:

url: https://miniflux.example.com
api_key: g45PLo7oNgzXNdCGS0okenpRB4jtRGW8W-FNk054Pc4=

feeds:
  - id: 123
    name: Name for feed 123, just to keep track of them, not mandatory
    interval: 19m
  - id: 50
    name: Name for feed 50...
    interval: 30m

usage:

$ miniflux-refresh-feeds -h
Usage of miniflux-refresh-feeds:
  -c string
    	configuration file (default "miniflux-refresh-feeds.yaml")
$ miniflux-refresh-feeds
INFO[0000] starting with interval 19m0s                  id=123 title=Name for feed 123
INFO[0000] refreshing...                                 id=123 title=Name for feed 123
INFO[0000] starting with interval 30m0s                  id=50 title=Name for feed 50...
INFO[0000] refreshing...                                 id=50 title=Name for feed 50...
$ docker run -d -v $PWD/miniflux-refresh-feeds.yaml:/miniflux-refresh-feeds.yaml lusikas/miniflux-refresh-feeds
time="2020-12-05T13:07:45Z" level=info msg="starting with interval 19m0s" id=24 title="Name for feed 123"
time="2020-12-05T13:07:45Z" level=info msg=refreshing... id=24 title="Name for feed 123"
time="2020-12-05T13:07:45Z" level=info msg="starting with interval 30m0s" id=23 title="Name for feed 50..."
time="2020-12-05T13:07:45Z" level=info msg=refreshing... id=23 title="Name for feed 50..."

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL