feat: implement RSS subscriptions, downloader routing and local media checks

This commit is contained in:
junior
2026-10-17 22:49:11 +08:00
parent 645ea6fe2d
commit 68c972dadd
28 changed files with 9226 additions and 43 deletions
+26
View File
@@ -0,0 +1,26 @@
# Copy values into your shell, or source a private .env file before cargo run.
# This application does not automatically load .env files.
APP_PORT=8080
DATABASE_URL=sqlite://data/ani.db
POLL_INTERVAL_SECONDS=300
RUST_LOG=info
# Website requests (Mikan pages/covers, RSS and torrent metadata).
# Unset means direct; HTTP_PROXY/HTTPS_PROXY/ALL_PROXY/NO_PROXY are NOT inherited.
MIKAN_BASE_URL=https://mikanani.me
# WEBSITE_PROXY_URL=http://127.0.0.1:7897
# WEBSITE_PROXY_URL=socks5h://127.0.0.1:7897
# Optional URL-encoded credentials: http://username:password@host:port
# Comma-separated explicit direct exceptions; empty by default.
# WEBSITE_DIRECT_HOSTS=localhost,127.0.0.1,::1
# qBittorrent control connections always remain direct.
# Initial import only, when the database has no downloader instances.
# Existing instances and the global selection are managed through /api/downloaders.
# When upgrading, these MUST identify the original downloader of existing jobs.
# Unset on a fresh installation leaves jobs unassigned until first selection.
# QBIT_URL=http://127.0.0.1:8081
# QBIT_USERNAME=admin
# QBIT_PASSWORD=replace-me
# Path as seen by qBittorrent, not by this Rust process.
# QBIT_SAVE_PATH=/downloads