Skip to content

Cleanuparr is a tool for automating the cleanup of unwanted or blocked files in Sonarr, Radarr, and supported download clients like qBittorrent, Deluge and Transmission.

License

Notifications You must be signed in to change notification settings

Cleanuparr/Cleanuparr

Repository files navigation

Love this project? Give it a ⭐️ and let others know!

Cleanuparr Cleanuparr

Discord

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.

🎯 Supported Applications

*Arr Applications

  • Sonarr (TV Shows)
  • Radarr (Movies)
  • Lidarr (Music)

Download Clients

  • qBittorrent
  • Transmission
  • Deluge

Platforms

  • Docker (Linux, Windows, macOS)
  • Windows (Native installer)
  • macOS (Intel & Apple Silicon)
  • Linux (Portable executable)
  • Unraid (Community Apps)

🚀 Quick Start

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.

🌐 Access the Web Interface

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.

📖 Documentation & Support

Cleanuparr Cleanuparr Huntarr

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 Huntarr

Credits

Special thanks for inspiration go to:

Buy me a coffee

If I made your life just a tiny bit easier, consider buying me a coffee!

Buy Me A Coffee

About

Cleanuparr is a tool for automating the cleanup of unwanted or blocked files in Sonarr, Radarr, and supported download clients like qBittorrent, Deluge and Transmission.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors 2

  •  
  •