Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is piecemeal's native REST API under /api/piecemeal/v1, built with Huma.
|
Package api is piecemeal's native REST API under /api/piecemeal/v1, built with Huma. |
|
Package auth authenticates people and tools: the local admin's password, session cookies for the web UI and for qBittorrent clients (SID), and named API keys sent as Bearer tokens to either API.
|
Package auth authenticates people and tools: the local admin's password, session cookies for the web UI and for qBittorrent clients (SID), and named API keys sent as Bearer tokens to either API. |
|
authtest
Package authtest has a fake OpenID Connect provider for tests.
|
Package authtest has a fake OpenID Connect provider for tests. |
|
Package config reads piecemeal's startup configuration from environment variables.
|
Package config reads piecemeal's startup configuration from environment variables. |
|
Package engine owns the anacrolix/torrent client and everything torrent-shaped: adding, removing, starting and stopping torrents, limits, seed goals, categories and tags, and the state the rest of piecemeal reads.
|
Package engine owns the anacrolix/torrent client and everything torrent-shaped: adding, removing, starting and stopping torrents, limits, seed goals, categories and tags, and the state the rest of piecemeal reads. |
|
enginetest
Package enginetest has helpers for tests that need a BitTorrent swarm: a seeder serving generated content on loopback, and client settings that keep anacrolix off the network.
|
Package enginetest has helpers for tests that need a BitTorrent swarm: a seeder serving generated content on loopback, and client settings that keep anacrolix off the network. |
|
Package fetch downloads .torrent files from URLs given to the add endpoints, and RSS feeds.
|
Package fetch downloads .torrent files from URLs given to the add endpoints, and RSS feeds. |
|
Package logbuf keeps the most recent log records in memory, for the log endpoints of both APIs.
|
Package logbuf keeps the most recent log records in memory, for the log endpoints of both APIs. |
|
Package metrics exports engine state to Prometheus.
|
Package metrics exports engine state to Prometheus. |
|
Package natpmp keeps a TCP and a UDP port mapping open on a NAT-PMP gateway, such as a VPN provider's, and reports the forwarded port.
|
Package natpmp keeps a TCP and a UDP port mapping open on a NAT-PMP gateway, such as a VPN provider's, and reports the forwarded port. |
|
Package proxy connects through a SOCKS5 or HTTP proxy server: TCP connections with SOCKS5 CONNECT (RFC 1928, with RFC 1929 username and password) or HTTP CONNECT, and UDP datagrams through a SOCKS5 proxy's UDP relay (UDP ASSOCIATE).
|
Package proxy connects through a SOCKS5 or HTTP proxy server: TCP connections with SOCKS5 CONNECT (RFC 1928, with RFC 1929 username and password) or HTTP CONNECT, and UDP datagrams through a SOCKS5 proxy's UDP relay (UDP ASSOCIATE). |
|
proxytest
Package proxytest runs SOCKS5 and HTTP CONNECT proxies for tests, and records every destination they are asked to reach.
|
Package proxytest runs SOCKS5 and HTTP CONNECT proxies for tests, and records every destination they are asked to reach. |
|
Package qbit serves the qBittorrent WebAPI v2 under /api/v2 on top of the engine, so Radarr, Sonarr, Prowlarr and other qBittorrent clients can use piecemeal unchanged.
|
Package qbit serves the qBittorrent WebAPI v2 under /api/v2 on top of the engine, so Radarr, Sonarr, Prowlarr and other qBittorrent clients can use piecemeal unchanged. |
|
Package rss reads RSS and Atom feeds and downloads matching torrents by rules, like qBittorrent's RSS downloader.
|
Package rss reads RSS and Atom feeds and downloads matching torrents by rules, like qBittorrent's RSS downloader. |
|
Package settings holds piecemeal's runtime settings: the ones that can be changed through the API while it runs.
|
Package settings holds piecemeal's runtime settings: the ones that can be changed through the API while it runs. |
|
Package store keeps piecemeal's own state in SQLite: settings, users, sessions, API keys, categories, tags and everything about torrents that anacrolix does not persist.
|
Package store keeps piecemeal's own state in SQLite: settings, users, sessions, API keys, categories, tags and everything about torrents that anacrolix does not persist. |
|
Package watch adds the .torrent and .magnet files dropped into a directory.
|
Package watch adds the .torrent and .magnet files dropped into a directory. |
|
Package webui serves the web UI that `pnpm -C web build` writes to internal/webui/dist, embedded into the binary.
|
Package webui serves the web UI that `pnpm -C web build` writes to internal/webui/dist, embedded into the binary. |
Click to show internal directories.
Click to hide internal directories.