Skip to main content

Crate torq_core

Crate torq_core 

Source
Expand description

TorQ daemon core.

Owns the librqbit engine session, download queue, persistence, and (in the next phase) the REST + SSE API. The TUI and CLI are stateless clients.

Modules§

api
REST + SSE API for the daemon.
config
Persistent daemon configuration.
daemon
Download queue, daemon state, and event broadcast.
engine
Thin wrapper over the librqbit engine session.
library
Cross-seed library index: .torrent files on disk whose data is already downloaded. Re-adding a matching infohash points librqbit at the existing files (output_folder = torrent file’s parent dir), so the piece check finds them instead of re-downloading.
rss
RSS subscriptions: a feed URL plus filters, polled on a jittered cadence; matching items are added to the download queue automatically.
watch
Watch folders: drop a .torrent file or a file containing a magnet link and it starts downloading (torlink’s watch mode, built into the daemon).

Constants§

APP_NAME
VERSION