This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
2023-02-05 10:11:54 +01:00
|
|
|
# Motivation
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
A script to automatically mark entries as read in miniflux using its api
|
2023-02-05 10:11:54 +01:00
|
|
|
|
|
|
|
# How to use
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
python3-requests
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
## 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
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
The systemd service file can be located in .config/systemd/user
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
[Unit]
|
|
|
|
Description=mark certain entries as read in miniflux
|
|
|
|
|
|
|
|
[Service]
|
2023-02-05 10:11:54 +01:00
|
|
|
Type=simple
|
2023-02-05 10:11:54 +01:00
|
|
|
ExecStart=/usr/bin/env python3 ./mark_as_read.py --config ./mark_as_read.ini
|
|
|
|
|
|
|
|
## systemd timer
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
The systemd timer file can be located in .config/systemd/user
|
|
|
|
|
2023-02-05 10:11:54 +01:00
|
|
|
[Unit]
|
|
|
|
Description=mark certain entries as read in miniflux
|
|
|
|
|
|
|
|
[Timer]
|
|
|
|
OnCalendar=daily
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=timers.target
|