Commit Graph

13 Commits

Author SHA1 Message Date
4a756c4be3 Show finished queue items as done instead of uploading.
Map qBittorrent-style uploading state to a done badge in the Web UI; keep backend state for *arr compatibility.
2026-08-07 12:06:36 +02:00
daefd503f0 Stage all downloads in webshare; leave library placement to *arr.
UI grabs no longer write into Movies/. Same DOWNLOAD_PATH staging as Sonarr/Radarr so they import series and movies into the correct roots.
2026-08-07 12:00:49 +02:00
96dbc46580 Send UI downloads into Movies library and harden queue API.
UI grabs write Movies/<Title (Year)>/; chown to 1000:1000; CORS and safer /api/queue handling for the Web UI.
2026-08-07 11:58:11 +02:00
798d7d7251 Support Webshare guest downloads without login.
Credentials optional: empty WEBSHARE_* uses file_link without wst (free CDN). Verified against live API; docs and tests updated. Includes cancel→dequeue fix for queued downloads.
2026-08-07 11:31:19 +02:00
97b9215917 Add Web UI queue screenshot to README.
Document light TUI UI and include docs/ui-queue.png (Iron Man multi-item queue).
2026-08-07 11:25:12 +02:00
5b25cfa6cb Restyle Web UI as light monochrome TUI with sticky tabs.
Light grey background, black text, no chrome header; panel border removed; search/queue lists scroll under fixed tabs.
2026-08-07 11:19:36 +02:00
0dd548339c Add esbuild production bundle and multi-stage slim Docker image.
Bundle server (and mcp entry) into a single JS file with deps inlined, minify UI into one HTML, and ship only dist/ in the runtime image.
2026-08-07 11:09:02 +02:00
7b739607ff add web UI: search, download queue with progress, cancel
- ui/index.html, ui/styles.css, ui/scripts.js — minimal two-tab UI
- Search tab: big search bar, results with size/votes, add-to-queue button
- Queue tab: progress bar, speed, downloaded/total, status badges, cancel
- Switches to queue tab on load if downloads are active
- Backend: GET /api/search, POST /api/queue/add, GET /api/queue, POST /api/queue/cancel
- Speed tracking in streamToFile, abort tracking for immediate cancel
- No rounded corners, dark theme
2026-08-07 10:44:41 +02:00
a840fee91a README: mention MCP server in intro 2026-08-07 08:52:13 +02:00
3032f2ea85 Switch MCP transport from stdio to Streamable HTTP
Mount POST /mcp on the main Express app (stateless Streamable HTTP).
Keep optional MCP-only HTTP process via npm run mcp. Update docs.
2026-08-07 08:51:59 +02:00
f7f1481a39 Add MCP server for AI agents
Expose webshare_search, webshare_get_link, and webshare_login_check over
stdio via the Model Context Protocol SDK. Document client configuration.
2026-08-07 08:50:10 +02:00
c2b5563c25 Add package-lock.json for reproducible npm ci builds
Forced in despite global ignore so Docker npm ci works.
2026-08-07 08:37:20 +02:00
3fcadfe973 Initial commit: webshare-api
Torznab + fake qBittorrent proxy for Webshare.cz, with Compose/Docker
packaging, MIT license, and tests.
2026-08-07 08:37:10 +02:00