百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

swaparr

> DevOps
开源

✦ 一种强大的解决方案,可解决 Starr 应用程序下载停止的问题。

389 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

✦ 一种强大的解决方案,可解决 Starr 应用程序下载停止的问题。

Swaparr

Radarr, Sonarr and the other Starrs currently lack a built-in mechanism to handle stalled downloads, this project aims to solve that.

Swaparr is inspired by a Reddit thread "I wrote a script that repl.." from Douglas96.

⭐ Show Your Support for Open Source!

If Swaparr has been helpful to you and you appreciate the power of open-source software, please consider giving this repository a star. Your gesture will greatly support our efforts and help others discover Swaparr!

What is Swaparr?

Swaparr quietly operates in the background, offering full customization options and clear visibility through console logs. Its primary function is to address the issue of stalled downloads in starr instances.

Key Features:

  • Automatic Detection: Swaparr scans through all active downloads in your starr instances every 10 minutes (adjustable) to identify potential slowdowns.
  • Strike System: Identified downloads are given a strike, and this evaluation cycle repeats periodically. If a download accumulates the maximum allowed strikes, Swaparr automatically removes it from your instance.
  • Customization: Swaparr offers customization options to fine-tune striking behaviour.

Getting Started

Prerequisites

Docker and it's compose plugin are required, below is a matrix on how to install both for your system:

Operating System Official Instructions
Linux docs.docker.com/../linux-install
MacOS docs.docker.com/.../mac-install
Windows docs.docker.com/.../windows-install

Configurations

Start with the provided compose file as a foundation, and customize it by excluding or adjusting any services.

…
 Extended experimental support: Lidarr, Readarr and Whisparr
…

Starting Swaparr

To start Swaparr, run the following command:

bash
docker compose up -d

Monitor

You can monitor Swaparr's activities and track the processing of downloads by executing the following command. Omit the parameter to view logs for all platforms:

bash
docker compose logs 
Instructions: Stop or Update Swaparr

Stop

To shutdown Swaparr, run the following command:

bash
docker compose down

Update

Updating Swaparr is a breeze, pull the latest images and restart the service:

bash
docker compose pull
bash
docker compose down
bash
docker compose up -d

Useful Information

A brief rundown to shed light on a couple of things for you:

Environment Variables
Name Default Description
BASEURL http://127.0.0.1:7878 The URL of a radarr, sonarr or other starr instance.
APIKEY 7f3a8..cbc07 The API key of a radarr, sonarr or other starr instance.
PLATFORM radarr Indicates the type of starr platform, either radarr, sonarr, lidarr, readarr or whisparr.
MAX_STRIKES 3 Maximum number of strikes a download can accumulate before it is removed.
SCAN_INTERVAL 10m How often Swaparr checks for stalled downloads.
MAX_DOWNLOAD_TIME 2h Maximum allowed download time before it's considered stalled.
IGNORE_ABOVE_SIZE 25GB Files larger than this size will be ignored and not monitored.
REMOVE_FROM_CLIENT true Remove from both queue and download client (default) OR false only the queue of a starr instance.
STRIKE_QUEUED false When enabled, queued downloads are eligible to be striked instead of being bypassed.
DRY_RUN false Sandbox mode; try Swaparr without it performing destructive actions on your instances.
Status-Types Explained
Status Description
Normal Download is proceeding as expected; no issues detected.
Striked Download flagged as slow or stalled; may be removed if it continues to accumulate strikes.
Removed Download has been attempted to be removed from the starr instance.
Ignored Download is not monitored because it falls outside the set thresholds (e.g., size or time limits).
Queued Download is in the queue within the download client waiting to start; will not be striked.
Delayed Download is temporarily paused or scheduled for later processing as defined in a delay profile.
Completed Download has finished and is seeding; will not be striked.

✨ Swaparr is for everyone!

Whether you need help, want to pitch in, or found a bug that needs fixing, just open an issue. We're all ears and ready to collaborate with you!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustdockerradarrrustsonarr

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理