Love this project? Give it a ⭐️ and let others know!
Cleanuparr is a tool for automating the cleanup of unwanted or blocked files in Sonarr, Radarr, and supported download clients like qBittorrent. It removes incomplete or blocked downloads, updates queues, and enforces blacklists or whitelists to manage file selection. After removing blocked content, Cleanuparr can also trigger a search to replace the deleted shows/movies.
Cleanuparr was created primarily to address malicious files, such as *.lnk
or *.zipx
, that were getting stuck in Sonarr/Radarr and required manual intervention. Some of the reddit posts that made Cleanuparr come to life can be found here, here, here and here.
Important
Features:
- Strike system to mark bad downloads.
- Remove and block downloads that reached a maximum number of strikes.
- Remove and block downloads that are failing to be imported by the arrs.
- Remove and block downloads that are stalled or in metadata downloading state.
- Remove and block downloads that have a low download speed or high estimated completion time.
- Remove and block downloads blocked by qBittorrent or by Cleanuparr's Content Blocker.
- Automatically trigger a search for downloads removed from the arrs.
- Clean up downloads that have been seeding for a certain amount of time.
- Remove downloads that are orphaned/have no hardlinks/are not referenced by the arrs anymore (with cross-seed support).
- Notify on strike or download removal.
- Ignore certain torrent hashes, categories, tags or trackers from being processed by Cleanuparr.
- Sonarr (TV Shows)
- Radarr (Movies)
- Lidarr (Music)
- qBittorrent
- Transmission
- Deluge
- Docker (Linux, Windows, macOS)
- Windows (Native installer)
- macOS (Intel & Apple Silicon)
- Linux (Portable executable)
- Unraid (Community Apps)
docker run -d --name cleanuparr \
--restart unless-stopped \
-p 11011:11011 \
-v /path/to/config:/config \
-e PORT=11011 \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
ghcr.io/cleanuparr/cleanuparr:latest
For Docker Compose, health checks, and other installation methods, see our Complete Installation Guide.
After installation, open your browser and navigate to:
http://localhost:11011
Next Steps: Check out the 📖 Complete Documentation for detailed configuration guides and setup instructions.
- 📚 Complete Documentation - Installation guides, configuration, and troubleshooting
- ⚙️ Configuration Guide - Set up download clients, *arr apps, and features
- 🔧 Setup Scenarios - Common use cases and examples
- 💬 Discord Community - Get help and discuss with other users
- 🔗 GitHub Releases - Download binaries and view changelog
Think of Cleanuparr as the janitor of your server; it keeps your download queue spotless, removes clutter, and blocks malicious files. Now imagine combining that with Huntarr, the compulsive librarian who finds missing and upgradable media to complete your collection
While Huntarr fills in the blanks and improves what you already have, Cleanuparr makes sure that only clean downloads get through. If you're aiming for a reliable and self-sufficient setup, Cleanuparr and Huntarr will take your automated media stack to another level.
➡️ Huntarr
Special thanks for inspiration go to:
If I made your life just a tiny bit easier, consider buying me a coffee!