Desktop downloader
Go to file
Sucukdeluxe 63fd402083 Release v1.4.20 with comprehensive audit fixes (140 issues) and expanded test coverage
- Speed calculation: raised minimum elapsed floor to 0.5s preventing unrealistic spikes
- Reconnect: exponential backoff with consecutive counter, clock regression protection
- Download engine: retry byte tracking (itemContributedBytes), mkdir before createWriteStream, content-length validation
- Fire-and-forget promises: all void promises now have .catch() error handlers
- Session recovery: normalize stale active statuses to queued on crash recovery, clear speedBps
- Storage: config backup (.bak) before overwrite, EXDEV cross-device rename fallback with type guard
- IPC security: input validation on all string/array IPC handlers, CSP headers in production
- Main process: clipboard memory limit (50KB), installer timing increased to 800ms
- Debrid: attribute-order-independent meta tag regex for Rapidgator filename extraction
- Constants: named constants for magic numbers (MAX_MANIFEST_FILE_BYTES, MAX_LINK_ARTIFACT_BYTES, etc.)
- Extractor/integrity: use shared constants, document password visibility and TOCTOU limitations
- Tests: 103 tests total (55 new), covering utils, storage, integrity, cleanup, extractor, debrid, update

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 06:23:24 +01:00
.github/workflows Migrate app to Node Electron with modern React UI 2026-02-27 03:25:56 +01:00
assets Update app icon and bump version to 1.0.7 2026-02-26 23:45:56 +01:00
installer Harden updater and add icon-based installer release pipeline 2026-02-26 23:36:30 +01:00
scripts Remove legacy Python artifacts from repository 2026-02-27 16:32:01 +01:00
src Release v1.4.20 with comprehensive audit fixes (140 issues) and expanded test coverage 2026-02-28 06:23:24 +01:00
tests Release v1.4.20 with comprehensive audit fixes (140 issues) and expanded test coverage 2026-02-28 06:23:24 +01:00
.gitignore Migrate app to Node Electron with modern React UI 2026-02-27 03:25:56 +01:00
package-lock.json Release v1.4.19 with 4SF/4SJ auto-rename support 2026-02-28 05:50:14 +01:00
package.json Release v1.4.20 with comprehensive audit fixes (140 issues) and expanded test coverage 2026-02-28 06:23:24 +01:00
README.md Remove legacy Python artifacts from repository 2026-02-27 16:32:01 +01:00
tsconfig.json Migrate app to Node Electron with modern React UI 2026-02-27 03:25:56 +01:00
vite.config.ts Fix packaged renderer asset paths and bump to 1.1.13 2026-02-27 04:09:08 +01:00
vitest.config.ts Migrate app to Node Electron with modern React UI 2026-02-27 03:25:56 +01:00

Real-Debrid Download Manager (Node/Electron)

Desktop-App auf Node.js + Electron + React + TypeScript mit JDownloader-Style Workflow, optimiert fuer Real-Debrid.

Highlights

  • Modernes, dunkles UI mit Header-Steuerung (Start, Pause, Stop, Speed, ETA)
  • Tabs: Linksammler, Downloads, Settings
  • Paketbasierte Queue mit Datei-Status, Progress, Speed, Retries
  • Paket-Abbruch waehrend laufender Downloads inklusive sicherem Archiv-Cleanup
  • .dlc Import (Dateidialog und Drag-and-Drop)
  • Session-Persistenz (robustes JSON-State-Management)
  • Auto-Resume beim Start (optional)
  • Reconnect-Basislogik (429/503, Wartefenster, resumable priorisiert)
  • Integritaetscheck (SFV/CRC32/MD5/SHA1) nach Download
  • Auto-Retry bei Integritaetsfehlern
  • Cleanup-Trigger fuer fertige Tasks:
    • Nie
    • Sofort
    • Beim App-Start
    • Sobald Paket fertig ist

Voraussetzungen

  • Node.js 20+ (empfohlen 22+)
  • Windows 10/11 (fuer Release-Build)
  • Optional: 7-Zip/UnRAR fuer RAR/7Z Entpacken

Installation

npm install

Entwicklung

npm run dev

Build

npm run build

Danach liegen die Artefakte in:

  • build/main
  • build/renderer

Start (Production lokal)

npm run start

Tests

npm test
npm run self-check
  • npm test: Unit-Tests fuer Parser/Cleanup/Integrity
  • npm run self-check: End-to-End-Checks mit lokalem Mock-Server (Queue, Pause/Resume, Reconnect, Paket-Cancel)

Projektstruktur

  • src/main: Electron Main Process + Download/Queue Logik
  • src/preload: sichere IPC Bridge
  • src/renderer: React UI
  • src/shared: gemeinsame Typen und IPC-Channel
  • tests: Unit- und Self-Check Tests

Hinweise

  • Runtime-Dateien liegen im Electron userData Verzeichnis:

    • rd_downloader_config.json
    • rd_session_state.json
    • rd_downloader.log
  • Das Repository enthält jetzt nur noch die aktive Node/Electron-Codebasis.