Skip to content

feat: add categories item/entry filter. - #170

Merged
shouya merged 2 commits into
shouya:masterfrom
rdvn:category-select
Feb 11, 2026
Merged

feat: add categories item/entry filter. #170
shouya merged 2 commits into
shouya:masterfrom
rdvn:category-select

Conversation

@rdvn

@rdvn rdvn commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

This pr introduces optional categories field for item/entry and keep_only / discard categories field filter. Categories are quite practical for e.g. lobste.rs rss feeds to follow only specific topics of interest.

Example config:

- path: /lobste.rss
    source: https://lobste.rs/rss
    filters:
      - keep_only:
          field: categories
          matches:
            - osdev
            - cryptography
      - limit: 5
      - full_text:
          simplify: true

Not sure what the contribution policy is, so feel free to reject. I suspect this isn't just enough to be merged as is and I'm ready to contribute the missing pieces. And thank you for this delightful piece of software.

@shouya

shouya commented Feb 11, 2026

Copy link
Copy Markdown
Owner

That's a nice feature to have, thanks for the contribution!

@shouya
shouya merged commit 98479fa into shouya:master Feb 11, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants