No description
Find a file
Renovate Bot 09293ef44c chore(deps): update zricethezav/gitleaks docker tag to v8.18.2 (#17)
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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;1330](https://github.com/gitleaks/gitleaks/issues/1330))
-   [`a59289c`](https://github.com/gitleaks/gitleaks/commit/a59289c) add pre-commit hook gitleaks-system ([#&#8203;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 ([#&#8203;1318](https://github.com/gitleaks/gitleaks/issues/1318))
-   [`179c607`](https://github.com/gitleaks/gitleaks/commit/179c607) rename filesystem to directory ([#&#8203;1317](https://github.com/gitleaks/gitleaks/issues/1317))
-   [`8de8938`](https://github.com/gitleaks/gitleaks/commit/8de8938) Enhance Secret Descriptions  ([#&#8203;1300](https://github.com/gitleaks/gitleaks/issues/1300))
-   [`ca7aa14`](https://github.com/gitleaks/gitleaks/commit/ca7aa14) Small refactor `detect` and `sources` ([#&#8203;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 ([#&#8203;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 ([#&#8203;1294](https://github.com/gitleaks/gitleaks/issues/1294))
-   [`128b50f`](https://github.com/gitleaks/gitleaks/commit/128b50f) style: sort the stopwords ([#&#8203;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>
2024-02-01 21:50:48 +01:00
.woodpecker chore(deps): update zricethezav/gitleaks docker tag to v8.18.2 (#17) 2024-02-01 21:50:48 +01:00
docker-compose.yml chore(deps): pin dependencies (#11) 2024-01-26 16:21:06 +01:00
Dockerfile chore(deps): pin dependencies (#11) 2024-01-26 16:21:06 +01:00
filter.sh SC2086 2023-03-21 17:56:36 +01:00
filter.txt Filter - heise, sz, mdr 2022-06-18 10:08:20 +02:00
LICENSE first commit 2021-10-28 18:53:59 +02:00
README.md add badge 2023-11-08 13:22:58 +01:00
renovate.json Configure Renovate (#9) 2024-01-22 21:56:39 +01:00
sort_and_remove_double_entries.sh Added script to clean up filter.txt 2022-06-18 11:06:16 +02:00

miniflux-filter

status-badge

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

  1. create an api-key in miniflux
  2. create a compose-file
  3. create a filter-file
  4. 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

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.