script to mark entries in certain categories in miniflux as read after a defined time
Go to file
eeemsi 3aa397ea3c docs (README.md): use better example for service - service does not need to be considered up 2023-02-05 10:11:54 +01:00
README.md docs (README.md): use better example for service - service does not need to be considered up 2023-02-05 10:11:54 +01:00
mark_as_read.py chore (mark_as_read.py): reduce a nested for loop to enhance readability 2023-02-05 10:11:54 +01:00
mark_as_read.service initial commit 2023-02-05 10:11:54 +01:00
mark_as_read.timer initial commit 2023-02-05 10:11:54 +01:00

README.md

Motivation

A script to automatically mark entries as read in miniflux using its api

How to use

Dependencies

python3-requests

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

The systemd service file can be located in .config/systemd/user

[Unit]
Description=mark certain entries as read in miniflux

[Service]
Type=simple
ExecStart=/usr/bin/env python3 ./mark_as_read.py --config ./mark_as_read.ini

systemd timer

The systemd timer file can be located in .config/systemd/user

[Unit]
Description=mark certain entries as read in miniflux

[Timer]
OnCalendar=daily

[Install]
WantedBy=timers.target