Ghost Downloader

Glossary

Core concepts in code and documentation, aligned with CONTEXT.md.

Authoritative definitions live in CONTEXT.md at the repository root. Quick reference below.

Tasks

TermMeaningAvoid
TaskA user-visible download item with five states: WAITING / RUNNING / PAUSED / COMPLETED / FAILEDdownload, job
Task StepAn executable step within a Task. A Task may have one or more Stepsstage, phase, action
Task RunThe current execution of a Task in the download loop, zero or one at a timeexecution, session
SubworkerA chunk transfer unit within an HTTP or FTP Step, responsible for one byte-rangeworker, thread, chunk
Task ErrorA known failure (server error, insufficient disk, etc.) carrying a user-visible message
PausableDepends on whether the current Step supports byte-range resume

Task Creation

TermMeaningAvoid
Task OptionsApplication-level options for parsing, creating, or editing a Taskpayload (only used at the transport seam)
Task ParserA FeaturePack capability that converts Task Options into a Task. Declares priority and matching rules
Task DraftAn unconfirmed task state before user confirmation. Contains Draft Items (Parsing / Resolved / Failed)pending task
ResourceA downloadable item captured by the browser extension, converted into Task Options to enter the creation flow
Selectable FileA checkable download unit within a multi-file Task
ReviveA COMPLETED Task returns to download state because of newly selected files

Services

TermMeaningAvoid
Task ServiceThe sole public entry point for the task workflow: add / start / pause / delete / redownload / editdirectly manipulating Task state
Feature ServiceFeaturePack discovery, Parser routing, and Pack lifecycle management
FeaturePackA plugin package that can provide Parser / Card / BinaryRuntime / PackPage / PackConfigmodule, extension
Browser ServiceProtocol adapter for the browser extension, translating extension messages into Task Service verbs
Signal BusProcess-level event bus carrying only cross-module application events (activationRequested / openUriRequested / exceptionCaught)

Others

TermMeaning
Binary RuntimeExternal executable that a FeaturePack can probe or install (ffmpeg, yt-dlp, N_m3u8DL-RE)
CategoryDownload classification, matched to a target directory by extension
ClientHTTP client with TLS fingerprint emulation (wreq)
PlanAn action executed after all tasks complete (shutdown / restart / hibernate / open file)
Speed MeterGlobal speed monitoring and rate-limiting gate
.ghdChunk progress file for HTTP/FTP tasks, binary format
CrowdinTranslation collaboration platform, project entry

On this page