new (README.md): start providing simple documentation

This commit is contained in:
eeemsi 2023-02-05 10:11:54 +01:00
parent 4d2d863fb7
commit b6f1f1430e
1 changed files with 40 additions and 0 deletions

40
README.md Normal file
View File

@ -0,0 +1,40 @@
# Motivation
A script to automatically mark entires as read in miniflux using its api
# How to use
## config file
[options]
# instance of miniflux
url=https://example.com
# generated token from miniflux
token=???????????????????????????????????????????
# age of entries that should be marked as read
age=86400
# categories that should be ignored (entries will not be marked as read)
ignore=audio & video
## systemd service
[Unit]
Description=mark certain entries as read in miniflux
[Service]
Type=oneshot
ExecStart=/usr/bin/env python3 ./mark_as_read.py --config ./mark_as_read.ini
## systemd timer
[Unit]
Description=mark certain entries as read in miniflux
[Timer]
OnCalendar=daily
[Install]
WantedBy=timers.target