Clyde (formerly CLI Debrid)¶
Clyde is the renamed CLI Debrid project. It watches your chosen content sources, finds releases, and organizes a library for your media server. Current upstream versions support Debrid and Usenet; the available features depend on the source you install.
DUMB continues to use the cli_debrid service key, CLI Debrid process name, CLI_DEBRID_* environment variables, and existing /cli_debrid paths. A card or log using the old name can still belong to Clyde. The documentation URLs stay the same.
Upgrade an existing CLI Debrid installation¶
- Keep your existing DUMB service and data. Do not reset the service, rename its folders, or create a second Clyde configuration block. Retain a backup of your persistent configuration and databases before an upstream update.
- Open the service's DUMB Config and review the repository, release, branch, and exact-commit selection. Keep a working pin or custom repository unless you deliberately intend to change it. The official repository is now
godver3/clyde; the old GitHub URL redirects there. - Open Tools → Updates. Check the offered version and release notes, then choose Install update, or the configured-target install control for a saved pin. Review any playback or library-protection prompt before continuing.
- After the update, open Service Logs and Embedded UI. Confirm that the existing accounts, library, and mount settings are still present. Finish any native Clyde migration or setup prompt for the selected version.
- Confirm the mount is readable, inspect one existing library item, then add and play one intended test item. Keep your existing mount arrangement until you intentionally migrate it.
DUMB migrates the exact official repository alias godver3/cli_debrid to godver3/clyde. It retains the source selector, process name, data paths, native application configuration, and custom repositories. This repository-name change does not itself rewrite a database or switch an existing installation to Clyde's built-in mount.
Upstream's rename notice concerns the application identity. Other changes accumulated between your installed revision and the target still need review.
Technical details: installed CLI Battery layout
CLI Battery follows the installed layout
The CLI Battery rewrite
introduced in CLI Debrid v0.7.29
converts CLI Battery from a separate Flask service on port 5001 into an
in-process Python module imported by CLI Debrid.
DUMB recognizes the installed files rather than inferring the layout from
a release tag, branch, or commit label. For a recognized embedded layout,
startup and dependency handling skip the managed standalone Battery even
when its saved toggle is enabled. For a standalone layout that still
provides cli_battery/main.py, keep CLI Battery enabled; DUMB starts it
before CLI Debrid. A separately configured Battery command or source
directory is left under its existing configuration.
Before launching CLI Debrid after a layout change, DUMB stops a tracked managed standalone Battery when the installed layout is embedded. If you return to a standalone layout, the retained enabled setting lets DUMB start Battery first again.
First start¶
- Choose Clyde (formerly CLI Debrid) in DUMB onboarding. Review its source and Mount backend, then select the provider, supporting services, and library paths for that arrangement. Reopen onboarding with Settings → Launch Onboarding if needed.
- Open the Clyde service card (it may still be labeled CLI Debrid). Wait for its selected supporting services to start; on DUMB Config, choose Start if CLI Debrid is stopped. Select Embedded UI to open its setup interface.
- For current Clyde, DUMB's provider step is optional: configure the Debrid or Usenet accounts you use in Clyde's native setup. The managed Zurg path remains Real-Debrid-specific. Choose your content sources, which tell Clyde what you want, and scrapers, which find matching sources. Review quality and collection rules before enabling large lists.
- In Clyde's setup, choose the mount and library arrangement you actually use. Configure provider credentials, content sources, scrapers, and quality rules there. Review mount considerations before accepting a default path; upstream standalone-container examples are not DUMB path defaults.
- Add the chosen organized library folder to your media server. If using Plex authorization, configure and start Plex first, then verify the saved Plex URL remains reachable.
- Add one intended item to your chosen source. Watch it progress through the queues, confirm it appears in the expected media library, and play it before importing large lists.
Current official Clyde releases embed Battery; they do not need the standalone port-5001 service. Older pinned CLI Debrid layouts remain supported. Check the installed-layout note above before changing sources. A running process does not prove that its sources, scrapers, mount, and library are ready.
Setup checklist and remaining work¶
Review the selected source's Battery and mount capabilities. Current embedded layouts do not need standalone Battery or its legacy PhalanxDB dependency. Installation remains separate from native provider, content, collection, scraper, and library choices. Finish those tasks and validate a real import and playback.
Requires the backend setup-arrangement capability. See Setup checklist and automation for retained tasks, coverage and safe retries.
Workflow diagram¶
Geek details: external WebDAV/rclone library layout
This diagram describes the retained external-mount workflow. It does not represent Clyde's built-in mount.
%%{ init: { "flowchart": { "curve": "basis" } } }%%
flowchart TD
A([Request sources:<br/>Seerr, Trakt,<br/>Plex Watchlist])
B[[Prowlarr / Indexers]]
C[Clyde / CLI Debrid]
D@{shape: cloud, label: "Debrid providers"}
E[Zurg or Decypharr<br/>WebDAV]
F[(Rclone WebDAV Mount<br/>Root Path:<br/>/mnt/debrid/clid)]
G[Rename + Link Step:<br/>Symlinks]
H[(Final Symlink Root:<br/>/mnt/debrid/clid_symlinks)]
I([Media Servers:<br/>Plex, Jellyfin, Emby])
A <==> C
B <==> C
C <==> D
D e1@=== E
C ==> G
G ==> H
F ===> C
F e2@=== H
E e3@=== F
H e4@=== I
classDef animate stroke-dasharray: 9,5,stroke-dashoffset: 900,animation: dash 25s linear infinite;
class e1,e2,e3,e4 animate
Service Relationships¶
Clyde collects items from the sources you choose and organizes them for your media server. Dependencies follow the selected and installed layout. Zilean is an optional scraper. Keep a legacy Battery or external mount dependency only when that workflow uses it.
Geek details: service classification and runtime dependencies
| Classification | Role |
|---|---|
| Core Service | Debrid Orchestrator |
| Depends On | Older standalone layouts: CLI Battery; external provider path when selected: rclone and Zurg |
| Optional | Phalanx DB for legacy layouts that use it; Zilean |
| Exposes UI | Yes (Flask app on port 5000) |
Technical details: configuration reference
Configuration in dumb_config.json¶
{
"cli_debrid": {
"enabled": false,
"process_name": "CLI Debrid",
"repo_owner": "godver3",
"repo_name": "clyde",
"release_version_enabled": false,
"release_version": "v0.6.07",
"commit_sha": "",
"branch_enabled": false,
"branch": "main",
"suppress_logging": false,
"log_level": "INFO",
"port": 5000,
"mount_backend": "auto",
"auto_update": false,
"auto_update_interval": 24,
"auto_update_start_time": "04:00",
"symlink_backup_enabled": false,
"symlink_backup_interval": 168,
"symlink_backup_start_time": "04:00",
"symlink_backup_path": "/config/symlink-repair/snapshots/cli-debrid-{timestamp}.json",
"symlink_backup_include_broken": true,
"symlink_backup_retention_count": 1,
"symlink_backup_roots": [
"/mnt/debrid/clid_symlinks"
],
"clear_on_update": true,
"exclude_dirs": [
"/cli_debrid/data"
],
"platforms": [
"python"
],
"command": [
"/cli_debrid/venv/bin/python",
"main.py"
],
"config_dir": "/cli_debrid",
"config_file": "/cli_debrid/data/config/config.json",
"log_file": "/cli_debrid/data/logs/debug.log",
"env": {
"USER_CONFIG": "/cli_debrid/data/config/",
"USER_LOGS": "/cli_debrid/data/logs/",
"USER_DB_CONTENT": "/cli_debrid/data/db_content/",
"CLI_DEBRID_PORT": "{port}"
}
}
}
Key configuration fields¶
enabled: Toggle to run CLI Debrid via DUMB.process_name: Used for display and logs.repo_owner,repo_name: GitHub repo to use for updates.release_version_enabled,branch_enabled: Target a specific tag or branch.commit_sha: Build an exact CLI Debrid revision from its full 40-character GitHub SHA.log_level,suppress_logging: Logging controls.port: Flask web interface port.mount_backend:auto,builtin,zurg, orexternal; see mount considerations. This selects DUMB's dependency handling, not provider credentials or native mount paths.env: Environment variable configuration used by CLI Debrid.env.CLI_DEBRID_BATTERY_PORT: Battery API port consumed by standalone CLI Debrid layouts. It is not present in the untouched template; DUMB creates/synchronizes it fromcli_battery.portduring setup and config updates. The embedded layout does not use this network hop.clear_on_update,exclude_dirs: Clean old files during update while protecting data dirs.
If startup reports a runtime preparation error, open Service Logs and keep the reported path with your support request. DUMB leaves conflicting existing data in place for review.
Geek details: persistent-data aliases and runtime ownership checks
Persistent data after installation¶
When the configured paths use <config_dir>/data, DUMB checks that this alias
points to <data_root>/cli_debrid after installation and before launching CLI
Debrid. With the defaults, /cli_debrid/data points to /data/cli_debrid.
This check also runs when an exact release is reinstalled.
DUMB can restore a missing alias or replace an empty directory placeholder. It refuses to replace a nonempty data directory, a mounted directory, or a link pointing somewhere else. Existing data is retained for review. Custom absolute config, log, and database paths remain in use; they do not require changing back to the default alias.
Required data directories and known writable runtime files are prepared for the configured service user. DUMB does not recursively change ownership of the whole CLI Debrid installation or unrelated data. If startup reports a runtime preparation error, review the exact paths in the message before changing their contents or ownership.
What Clyde does¶
The feature overview and older interface examples below remain useful when maintaining existing layouts. For current native controls and new capabilities, use Clyde's own configuration guide.
Intelligent Automation¶
- Monitors your Plex library or local folder structure (symlinked library)
- Scrapes for content from various sources (Zilean, Jackett, Torrentio, Nyaa, Media Fusion)
- Acquires new or upgraded releases using the providers supported by the installed source
- Optionally leverages webhook notifications from Seerr or Zurg to trigger updates
Supported Features¶
- Content Sources: MDBList, Trakt, Seerr
- Upgrading: Queue system for quality upgrades
- Web UI: Web dashboard for real-time monitoring and control
- Metadata: Cached locally; current Clyde embeds Battery, while older layouts use the separate service
- Notifications: Optional support for Discord, Email, Telegram, NTFY
- Scraping Tuning: Manual test interface to evaluate scraper priorities
Standalone CLI Battery¶
Required only by layouts that still use the standalone service
Keep CLI Battery enabled for installed CLI Debrid layouts that call its
API on port 5001. See the layout guidance near the top of this page before
selecting an upstream version that embeds Battery.
Technical details: configuration example
{
"cli_battery": {
"enabled": false,
"process_name": "CLI Battery",
"suppress_logging": false,
"log_level": "INFO",
"port": 5001,
"platforms": [
"python"
],
"command": [
"/cli_debrid/venv/bin/python",
"cli_battery/main.py"
],
"config_dir": "/cli_debrid",
"config_file": "/cli_debrid/data/config/settings.json",
"log_file": "/cli_debrid/data/logs/battery_debug.log",
"env": {
"PYTHONPATH": "/cli_debrid",
"USER_CONFIG": "/cli_debrid/data/config/",
"USER_LOGS": "/cli_debrid/data/logs/",
"USER_DB_CONTENT": "/cli_debrid/data/db_content/",
"CLI_DEBRID_BATTERY_PORT": "{port}"
}
}
}
CLI Battery provides local metadata storage and Trakt integration, acting as the "memory" of CLI Debrid.
Optional Utility: Phalanx DB¶
Technical details: configuration example
{
"phalanx_db": {
"enabled": false,
"process_name": "Phalanx DB",
"repo_owner": "godver3",
"repo_name": "phalanx_db_hyperswarm",
"release_version_enabled": false,
"release_version": "v0.50",
"commit_sha": "",
"branch_enabled": false,
"branch": "main",
"suppress_logging": false,
"log_level": "INFO",
"port": 8888,
"auto_update": false,
"auto_update_interval": 24,
"clear_on_update": true,
"exclude_dirs": [
"/phalanx_db/data"
],
"platforms": [
"pnpm"
],
"command": [
"node",
"phalanx_db_rest.js"
],
"config_dir": "/phalanx_db",
"log_file": "/log/phalanx_db.log",
"env": {}
}
}
PhalanxDB belongs to legacy metadata workflows that use it. Current embedded Clyde does not need it simply because the service used to be called CLI Debrid. Review the dependencies offered for your selected source before enabling it.
Phalanx DB provides distributed metadata storage via Hyperswarm. It is optional but can enhance metadata resilience and syncing.
Mount considerations¶
Clyde needs readable provider storage. Current upstream offers its own built-in mount as well as external mount integrations. These are different arrangements; changing the application name does not migrate an existing mount.
Choose DUMB's mount arrangement¶
- In onboarding or the service's DUMB Config, review Mount backend. Keep Auto for an existing installation unless you intend to change its arrangement; it reads the retained native mount settings. A fresh, recognized current Clyde source expects the built-in mount in Auto mode.
- Choose Zurg if DUMB should prepare its Zurg and rclone provider path. Choose Built-in for Clyde's own engine, or External for a mount you configure separately. Built-in and External do not create new Zurg/rclone dependencies.
- Save the DUMB selection. Open Embedded UI and configure the actual Mount settings in Clyde, including the provider and paths. DUMB's selector does not fill in native mount paths or provider credentials.
- Start the selected arrangement, check Service Logs and Clyde's mount status, then verify that both Clyde and your media server can read an intended file. Test playback before enabling large imports.
Changing the selector is not an automatic migration. Existing native settings and explicitly enabled services remain yours to review; do not disable a shared external mount while other services still use it.
- Existing external mount: retain the working Zurg/rclone or other supported arrangement and its paths. Keep its DUMB dependencies enabled. Verify Clyde and your media server see the same files before changing anything.
- Built-in mount: use only with a Clyde source and DUMB runtime that support it. It needs the container's FUSE device and mount permissions, compatible host mount propagation, and paths visible to the media server. Selecting a source or passing a build is not proof that host mounting and playback work.
- Library mode: use Clyde's native setup to choose a direct mounted library or an organized symlink tree. A symlink library and its provider mount are separate paths; preserve both when upgrading.
The upstream built-in mount guide explains native settings. Its standalone Docker paths and image tags do not replace your DUMB settings. A separate cli_mount container described upstream is also distinct from DUMB's existing Zurg/rclone workflow.
Technical details: built-in engine, cache, and listeners
For a verified current official Clyde source, DUMB prepares the optional Go engine with CGO support and uses a private Supervisor runtime to manage only Clyde's application and engine. The normal managed main.py command is adapted at launch; custom commands and repositories are not rewritten. Supervisor is not a replacement for DUMB's other process management.
The engine cache defaults to engine-cache inside the configured USER_DB_CONTENT directory: normally /cli_debrid/data/db_content/engine-cache, persisted with /data/cli_debrid. An explicit cache path in Clyde's native configuration is retained after path and access checks. Unsafe protected paths are refused; the launcher creates permitted missing storage directories as the service user. The engine API uses loopback port 8283. WebDAV uses 8284 only when you deliberately enable it and configure credentials in Clyde; those listeners are not automatically published Docker host ports.
Host /dev/fuse, mount permissions, volume propagation, and media-server visibility must still be correct. Source/build and controlled-process checks do not prove a native FUSE mount, provider streaming, or playback.
Existing Zurg/rclone and legacy UI examples¶
The screenshots below show an older CLI Debrid interface and DUMB's external-mount layout. Use them to understand the path relationship; current Clyde labels and native setup screens may differ. For this arrangement, set Original Files Path to the actual mounted provider files.
Original Files Path
The Original Files Path is relative to the paths inside the container.
Example: As default when configured with the onboarding process, the rclone mount_dir is set to /mnt/debrid, the rclone mount_name is set to clid, and it is using zurg_enabled: true for rclone, then the path should be:

As mentioned, CLI Debrid also monitors either the created symlinks or the Plex libraries for completed items.
As such, it's important to ensure you select the appropriate option for your deployment.
Collection Mode Selection
Symlinked/Local will create symlinks in the user defined path, whereas Plex will monitor the Plex Libraries defined and not create symlinks.

Symlink repair and migration¶
For the complete DUMB symlink guide (UI option behavior, root scope, backup/restore, schedule, retention, and migration playbooks), see Symlink Operations.
Use Symlink Operations for the frontend repair and backup controls. Preview changes to the selected CLI Debrid library, review the proposed targets and retain a manifest before applying repairs. You only need this when maintaining or moving an existing library.
Geek details: API repairs, root migration and scheduled manifests
For CLI Debrid symlink libraries (commonly /mnt/debrid/clid_symlinks), DUMB exposes
POST /api/process/symlink-repair to rewrite symlink targets after mount-path changes.
Example custom rewrite for CLI Debrid:
{
"dry_run": true,
"roots": ["/mnt/debrid/clid_symlinks"],
"rewrite_rules": [
{
"from_prefix": "/mnt/debrid/clid_old",
"to_prefix": "/mnt/debrid/clid"
}
]
}
Set "dry_run": false to apply and optionally set backup_path for a manifest.
If you need to move the symlink tree itself (not just rewrite targets), use root_migrations:
{
"dry_run": false,
"root_migrations": [
{
"from_root": "/mnt/debrid/clid_symlinks_old",
"to_root": "/mnt/debrid/clid_symlinks"
}
]
}
If you want to populate another service symlink tree without removing CLI Debrid entries
(for example /mnt/debrid/clid_symlinks to /mnt/debrid/decypharr_symlinks), include
"copy_instead_of_move": true in the same request.
For recurring backups of existing symlink libraries, use service config keys
symlink_backup_enabled, symlink_backup_interval, symlink_backup_start_time,
and symlink_backup_path to enable DUMB’s internal scheduler. Keep generated manifests for
POST /api/process/symlink-manifest/restore recovery runs.
Use symlink_backup_retention_count to keep only the newest N scheduled manifests (0 keeps all).
Plex Media Server Built-in!¶
With Plex Media Server enabled in DUMB, you can also leverage it with CLI Debrid.
As shown below, if you select to "Sign in to Plex" during the CLI Debrid onboarding, it will allow you to select the local instance of Plex Media Server.
Plex Media Server Requirement
Plex Media Server must be configured and running in DUMB before it will appear in the list of available servers.
Signing into Plex and selecting the DUMB Plex Media Server will pre-populate the "Plex URL" and "Plex Token" within the CLI Debrid onboarding.
Plex URL Configuration
However, note that it sets the "Plex URL" as the DUMB docker container's IP Address:
This may cause issues if the address changes for the container, so it is suggested to change the "Plex URL" as shown below:
Zilean Built-in!¶
With Zilean enabled in DUMB, you can also leverage it with CLI Debrid

Check request progress¶
Open CLI Debrid's queue views to follow your test item. Wanted and Scraping mean a source is still being found; Adding and Checking mean the item is being sent to the provider or checked for collection. Review the item's status when progress stops. An unreleased item may simply be waiting for its release, while an uncached item may need time or available account capacity.
If the item is collected but missing from Plex, compare the saved collection folder with the Plex library folder and check the library scan. Avoid re-adding a large list while diagnosing one item.
Geek details: queue scheduling, state transitions and webhook integration
Queues & Processing (Behind the Scenes)¶
- Wanted Queue: Items identified from your lists that need to be downloaded but haven't been processed by the scraper yet. Shows the time the item was last scraped. If within 24 hours of scraping items will remain in the Wanted queue.
- Scraping Queue: Items actively being searched for download sources (torrents/magnets).
- Adding Queue: Items for which a source has been found and are being added to your debrid service
-
Checking Queue: Monitoring items for presence locally or in Plex.
-
Cached: Available in debrid cache and ready to use.
-
Downloading: Currently being downloaded with progress shown; grouped if multiple files.
-
Filenames: Can be toggled to show specific files being processed
-
-
Unreleased: Items identified but waiting for their release date before processing continues. Displays the relevant release date(s). Items requiring a physical release will indicate this.
- Blacklisting: Items that have been explicitly marked to be ignored by the application.
- Upgrading Queue: Items that are being considered for Upgrading. They have been collected and now for 24 hours cli_debrid will try to find upgrades once an hour.
- Final Check: Items for which initial scraping attempts failed. These items wait for a configured delay (defined in settings) before one last search attempt is automatically triggered. Shows when the item entered this waiting period. If the final search is successful, the item moves to Adding. If it fails again, the item is typically moved to Blacklisted.
- Pending Uncached: Items associated with uncached torrents that would take your account over its limit wait in the Pending Uncached queue until your download limit returns to normal.
- Sleeping Queue: Items that cli_debrid failed to find. Shows a 'Wake Count' indicating how many times the item has been retried.
All queues are managed on scheduled intervals.
Webhook Support¶
CLI Debrid can listen for:
- Seerr Webhooks: Add content when users request it
- Zurg Webhooks: React to completed downloads (Symlink mode)
Geek details: configure a Zurg webhook script
Example Zurg update hook:
Service updates¶
Use the service's DUMB Config to review its update settings, then Save to File. Read source selection and update modes before switching a working installation to a development release or pinning a revision.
Geek details: release, branch and exact commit configuration
Commit / Branch / Version Targeting¶
You can control which source revision is deployed by setting:
commit_shato a full 40-character SHA for an immutable source pinbranch_enabled: trueand specifying abranch- or
release_version_enabled: trueand specifying arelease_version
The exact commit overrides release and branch selection and disables automatic updates until the pin is changed or cleared.
Choose the source deliberately¶
| Desired source | DUMB selection | Meaning |
|---|---|---|
| Latest stable GitHub release | Clear commit_sha; disable branch and fixed release selectors |
Follows the latest non-prerelease release in the official repository |
| An exact release | Enable release_version_enabled and enter the exact upstream tag |
Retains that tag until you change it; keep older tags when their layout is intentional |
| Main or development branch | Enable branch_enabled and set branch to main or dev |
Uses that branch's source; the branches can have different versions and capabilities |
| Exact source revision | Set a full commit_sha |
Immutable pin; overrides release and branch choices |
prerelease selects a GitHub prerelease; it does not mean the dev branch. A release tag, main, and dev can point to different commits even when a version string looks similar. Review source selection and update modes and the target's release notes.
The upstream Docker tags :latest, :dev, and :main describe standalone Clyde images. DUMB installs Clyde source inside the DUMB image; choose the corresponding DUMB source selector instead of copying an upstream image tag into a release field.
For example, this source fragment selects the official dev branch. It deliberately changes the source and is not a required rename migration:
{
"cli_debrid": {
"repo_owner": "godver3",
"repo_name": "clyde",
"release_version_enabled": false,
"commit_sha": "",
"branch_enabled": true,
"branch": "dev"
}
}
Keep the cli_debrid key and your existing data, environment, process, and native application settings when adapting this fragment. Use Save to File, then install the configured target from Tools → Updates when you are ready for a restart.
Access¶
Open the service from DUMB's Embedded UI tab when available. The native URLs below require the corresponding Docker host port to be published; use the port saved in your running configuration.
-
Navigate to:
http://<host>:<port> -
default port
5000