Filter public RSS feeds, remove articles that contain certain keywords or categories.
Project description
django-rss-filter
This is a Django app that creates filtered RSS feeds. It does this by filtering existing RSS feeds, removing articles that match filtered words and/or filtered categories. It's what powers https://www.rssfilter.com.
It comes with one view that returns the filtered feed XML, as well as Django Admin configuration to make it possible and easy to self-host your own instance of django-rss-filter. It does not come with views to create or edit filtered feeds; this can be done using the Django Admin.
What is this?
This is a plugin (an "app") for the Django web framework. It is not a standalone application ready to deploy, and requires a Django project to run.
If you are a Django developer: You're in the right place! Skip to the "Getting started" section to integrate this app into your project.
If you just want ready-to-use RSS filtering: Simply use https://www.rssfilter.com which has user-friendly ways to create and edit filtered RSS feeds.
Getting started
All instructions use uv, but should work just as well with pip or Poetry for example.
In an existing Django project:
- Install:
uv add django-rss-filter - Add
rssfiltertoINSTALLED_APPS uv run ./manage.py migrate- Include the URL config:
path("", include("rssfilter.urls"))
If you don't have a Django project yet, these are the steps to get started:
uv init my-django-projectcd my-django-projectuv add djangouv run django-admin startproject my_django_app .uv run ./manage.py migrateuv run ./manage.py createsuperuseruv run ./manage.py runserver
This will get you up and running with a working Admin site at http://127.0.0.1:8000/admin/.
Then follow the first four steps to add django-rss-filter to your Django project.
How to run the example project
There's an example Django project using django-rss-filter under example/.
All instructions use uv, but should work just as well with pip or Poetry for example.
-
Clone this repository and navigate into the example project folder:
git clone https://github.com/loopwerk/django-rss-filter.git cd django-rss-filter/example
-
Set up the database and create an admin user:
uv run ./manage.py migrate uv run ./manage.py createsuperuser
-
Run the server:
uv run ./manage.py runserver
-
You're done! You can now go to http://127.0.0.1:8000/admin/ to create a feed using the superuser account you just created. You can then access the filtered feed at
http://127.0.0.1:8000/[feed_uuid]/.
Settings
There is one setting that can be configured: RSS_FILTER_CACHE_SECONDS. The default value is 300 (5 minutes).
This setting controls how long a feed will be cached before it's fetched, filtered, and stored again.
Tests
Unit tests can be run with uv run pytest.
About Feature Requests
This project is feature-complete — it does what I needed it to do, and I’m not actively looking to expand its functionality.
I’m not accepting feature requests via issues. Please understand that asking for new features is essentially asking for free work — not just to build something, but to maintain it over time. And since I don’t personally need those features, I’m unlikely to invest time in them.
If you’d like to add a new feature, you’re welcome to open a pull request. Just know that I’ll evaluate it carefully, because even merged contributions become part of what I maintain. To avoid spending time on a PR that may not be accepted, I recommend starting a discussion first — that way we can talk through the idea and see if it fits.
This approach helps me avoid burnout and keep the project sustainable. Thanks for understanding!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_rss_filter-0.14.1.tar.gz.
File metadata
- Download URL: django_rss_filter-0.14.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bbba7a19aca93768e90fde86dd704c9d23b98ed23297ff763fffccc0adb69f0
|
|
| MD5 |
3094d9c39e879d69a4d5ca51440cf174
|
|
| BLAKE2b-256 |
5560010e306cade61b3908b68f18e8ae3353bd9e75b032a31cc7c4e6f9c5ebee
|
Provenance
The following attestation bundles were made for django_rss_filter-0.14.1.tar.gz:
Publisher:
release.yml on loopwerk/django-rss-filter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_rss_filter-0.14.1.tar.gz -
Subject digest:
9bbba7a19aca93768e90fde86dd704c9d23b98ed23297ff763fffccc0adb69f0 - Sigstore transparency entry: 696125670
- Sigstore integration time:
-
Permalink:
loopwerk/django-rss-filter@19da243fc85451b6e1a3d317ee646323be2048cd -
Branch / Tag:
refs/tags/0.14.1 - Owner: https://github.com/loopwerk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19da243fc85451b6e1a3d317ee646323be2048cd -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_rss_filter-0.14.1-py3-none-any.whl.
File metadata
- Download URL: django_rss_filter-0.14.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45a5c08ec49c3005c7ef5e2b35a27f09157fc3d78a4443f7b066b323852e00bf
|
|
| MD5 |
66c1b618f79d9a4cd464dd4345b001e1
|
|
| BLAKE2b-256 |
4d5cfc1dd1d3c2f05d0ba6d3941c54f6da790919a5e41293c55355c538400f97
|
Provenance
The following attestation bundles were made for django_rss_filter-0.14.1-py3-none-any.whl:
Publisher:
release.yml on loopwerk/django-rss-filter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_rss_filter-0.14.1-py3-none-any.whl -
Subject digest:
45a5c08ec49c3005c7ef5e2b35a27f09157fc3d78a4443f7b066b323852e00bf - Sigstore transparency entry: 696125720
- Sigstore integration time:
-
Permalink:
loopwerk/django-rss-filter@19da243fc85451b6e1a3d317ee646323be2048cd -
Branch / Tag:
refs/tags/0.14.1 - Owner: https://github.com/loopwerk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@19da243fc85451b6e1a3d317ee646323be2048cd -
Trigger Event:
push
-
Statement type: