Skip to main content

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:

  1. Install: uv add django-rss-filter
  2. Add rssfilter to INSTALLED_APPS
  3. uv run ./manage.py migrate
  4. Include the URL config: path("", include("rssfilter.urls"))

If you don't have a Django project yet, these are the steps to get started:

  1. uv init my-django-project
  2. cd my-django-project
  3. uv add django
  4. uv run django-admin startproject my_django_app .
  5. uv run ./manage.py migrate
  6. uv run ./manage.py createsuperuser
  7. uv 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.

  1. 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
    
  2. Set up the database and create an admin user:

    uv run ./manage.py migrate
    uv run ./manage.py createsuperuser
    
  3. Run the server:

    uv run ./manage.py runserver
    
  4. 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!

Support

Commercial support is available via Loopwerk.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_rss_filter-0.16.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_rss_filter-0.16.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file django_rss_filter-0.16.0.tar.gz.

File metadata

  • Download URL: django_rss_filter-0.16.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for django_rss_filter-0.16.0.tar.gz
Algorithm Hash digest
SHA256 988d257fd4579034a294707bcdd237108d5b23ec6248b75cebbfe487802a7cb6
MD5 052449a1264c062b60696982e2adcb13
BLAKE2b-256 1c86101d7a72d194486543e35f4528f03918e04f11a0d6711920baaeb73eeae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_rss_filter-0.16.0.tar.gz:

Publisher: release.yml on loopwerk/django-rss-filter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_rss_filter-0.16.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_rss_filter-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc346e6894628dc43296dcd0189b3f73afd1e652597894dcf2fe1410a6860572
MD5 d7ac2e022866763a8b5e1523c75af90c
BLAKE2b-256 2e8711effd49090920b2c0221bcecd3449a6f175aa5b1613bbe1a6c9848f7bd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_rss_filter-0.16.0-py3-none-any.whl:

Publisher: release.yml on loopwerk/django-rss-filter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.17.0

2 files

This release

0.16.0 This release

2 files

0.15.0

2 files

0.14.1

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.1

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page