No description
Renovate Bot
09293ef44c
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [zricethezav/gitleaks](https://github.com/gitleaks/gitleaks) | patch | `v8.18.1` -> `v8.18.2` | --- > ⚠ **Warning** > > Some dependencies could not be looked up. Check the warning logs for more information. --- ### Release Notes <details> <summary>gitleaks/gitleaks (zricethezav/gitleaks)</summary> ### [`v8.18.2`](https://github.com/gitleaks/gitleaks/releases/tag/v8.18.2) [Compare Source](https://github.com/gitleaks/gitleaks/compare/v8.18.1...v8.18.2) #### Changelog - [`ac4b514`](https://github.com/gitleaks/gitleaks/commit/ac4b514) removed gitleaks user from Dockerfile ([#​1313](https://github.com/gitleaks/gitleaks/issues/1313)) - [`76c9e31`](https://github.com/gitleaks/gitleaks/commit/76c9e31) Remove IAM identifiers for non-credential resources in the aws-access-token rule ([#​1307](https://github.com/gitleaks/gitleaks/issues/1307)) - [`afe046b`](https://github.com/gitleaks/gitleaks/commit/afe046b) Update stripe rule to not alert on publishable keys ([#​1320](https://github.com/gitleaks/gitleaks/issues/1320)) - [`8b8920d`](https://github.com/gitleaks/gitleaks/commit/8b8920d) --max-target-megabytes flag now supported for --no-git flag as well ([#​1330](https://github.com/gitleaks/gitleaks/issues/1330)) - [`a59289c`](https://github.com/gitleaks/gitleaks/commit/a59289c) add pre-commit hook gitleaks-system ([#​1225](https://github.com/gitleaks/gitleaks/issues/1225)) - [`870194b`](https://github.com/gitleaks/gitleaks/commit/870194b) fix errors when using protect and an external git diff tool ([#​1318](https://github.com/gitleaks/gitleaks/issues/1318)) - [`179c607`](https://github.com/gitleaks/gitleaks/commit/179c607) rename filesystem to directory ([#​1317](https://github.com/gitleaks/gitleaks/issues/1317)) - [`8de8938`](https://github.com/gitleaks/gitleaks/commit/8de8938) Enhance Secret Descriptions ([#​1300](https://github.com/gitleaks/gitleaks/issues/1300)) - [`ca7aa14`](https://github.com/gitleaks/gitleaks/commit/ca7aa14) Small refactor `detect` and `sources` ([#​1297](https://github.com/gitleaks/gitleaks/issues/1297)) - [`01e60c8`](https://github.com/gitleaks/gitleaks/commit/01e60c8) chore(config): refactor to go generate; simplify configRules init ([#​1295](https://github.com/gitleaks/gitleaks/issues/1295)) - [`54f5f04`](https://github.com/gitleaks/gitleaks/commit/54f5f04) forgot symlinks - [`221d5c4`](https://github.com/gitleaks/gitleaks/commit/221d5c4) pretty apparent 'protect' and 'detect' should be merged into one command ([#​1294](https://github.com/gitleaks/gitleaks/issues/1294)) - [`128b50f`](https://github.com/gitleaks/gitleaks/commit/128b50f) style: sort the stopwords ([#​1289](https://github.com/gitleaks/gitleaks/issues/1289)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=--> Reviewed-on: #17 Co-authored-by: Renovate Bot <renovate@mgrote.net> Co-committed-by: Renovate Bot <renovate@mgrote.net> |
||
---|---|---|
.woodpecker | ||
docker-compose.yml | ||
Dockerfile | ||
filter.sh | ||
filter.txt | ||
LICENSE | ||
README.md | ||
renovate.json | ||
sort_and_remove_double_entries.sh |
miniflux-filter
Table of Contents
Introduction
miniflux-filter
is a small bash-script for miniflux that marks certain articles as read, if the search conditions are met.
Getting Started
- create an api-key in miniflux
- create a compose-file
- create a filter-file
docker-compose up
example docker-compose
version: '3.2'
services:
mf-filter:
container_name: mf-filter
restart: always
environment:
TZ: Europe/Berlin
MF_AUTH_TOKEN: XN2klsvvD[...]-dcHPaeQ=
MF_API_URL: https://miniflux.[...].net/v1
MF_SLEEP: 60
#- MF_DEBUG=1
image: quotengrote/miniflux-filter:latest
volumes:
- ./filter.txt:/data/filter.txt
example filter-file
- Format:
url::search
- case-insensitive
<part_of_url>::<search string, anything goes>
sueddeutsche.de::FC Bayern
heise.de::software-architektur.tv
heise.de::heise-angebot
tagesschau.de::FC Barcelona
heise.de::TechStage |
[...]
Misc
- tborychowski/miniflux-filter
- jqplay.org
- To clean up your
filter.txt
you can use the following script:./sort_and_remove_double_lines.sh
Debug
If MF_DEBUG
is set to 1
, miniflux-filter
will print extra output to stdout.
- the current Variable
- URL + Values for filtering
- almost all function calls
Exit-Codes
RC | Description |
---|---|
1 | $MF_FILTERLIST_FILE not found |
2 | $MF_AUTH_TOKEN not set |
3 | $MF_API_URL not set |
4 | $MF_FILTERLIST_FILE is a dir |
5 | jq is not installed |
6 | curl is not installed |
7 | could not connect to miniflux |
8 | xargs is not installed |
9 | sed is not installed |
10 | sort is not installed |
11 | awk is not installed |
Build Container
git clone https://git.mgrote.net/mg/miniflux-filter
cd miniflux-filter
export MF_DOCKERHUB_PASS=<your_docker_hub_pass>
export MF_DOCKERHUB_USER=<your_docker_hub_user>
./build.sh
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.