Skip to content

About

A self-hosted web dashboard for JDownloader 2 on Windows. Manage downloads from any browser on your home network with live progress, LinkGrabber review, bulk controls, RSS and file watchers, completion notifications, and searchable download history. Includes a responsive dark UI, password login, SQLite storage, and simple setup.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

JDownloader Dashboard

Stage 1 · Check the Windows connection

  1. Use Windows Python 3.11 or later. Check with py --version. This stage uses only the standard library.
  2. In JDownloader 2, open Settings → Advanced Settings and search for RemoteAPI. Enable DeprecatedApiEnabled, leave DeprecatedApiLocalhostOnly enabled, check DeprecatedApiPort (default 3128), and restart JDownloader. Its API reference should open at http://127.0.0.1:3128/help on this PC.
  3. Open PowerShell in this project folder. Run the commands below. Setup prompts for a dashboard password and saves its salted hash in the ignored config.toml. The default login name is admin. If JD2 uses a different port, edit config.toml before the connection check.
py scripts/configure.py
py scripts/check_connection.py

The check reads packages and links, prints their counts and names, and exits with code 0 on success. An empty download list is valid. A refused connection usually means JD2 is closed, the API setting needs a restart, or the port differs. LinkGrabber contents are separate from the download list.

Start the dashboard on Windows

After choosing your password, double-click start.bat or run .\start.bat in PowerShell. On first launch it creates a project-local virtual environment and installs the pinned packages. Open the printed address on a device connected to your home network and sign in. Closing the console stops the dashboard.

The default listener uses the private IPv4 address on the PC's preferred route and port 8787. If you use a VPN or multiple adapters, set bind = "<YOUR_LAN_IP>" (substitute the PC's LAN address from ipconfig) under [dashboard] in config.toml. Reserve that address in your router for a stable bookmark. Keep the home network on the Windows Private profile. If needed, run this in administrator PowerShell, substituting the same LAN IP. Leave router port forwarding off.

New-NetFirewallRule -DisplayName "JD Dashboard (home LAN)" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 8787 -LocalAddress <YOUR_LAN_IP> -RemoteAddress LocalSubnet -Profile Private

Use Add links to paste URLs, then use a LinkGrabber package or link's Actions → Confirm. Keep JD2's LinkGrabber auto-confirm off and check any Packagizer rules which automatically start downloads. For a single transfer, Stop / pause disables it, Resume makes it eligible for scheduling, and Start now requests immediate transfer. Hosts determine whether partial transfers can resume. Remove takes entries out of the list and leaves downloaded files on disk.

Start automatically with Task Scheduler

Set the password and run the launcher successfully once. In Task Scheduler choose Create Task, select your Windows account and Run only when user is logged on (required for desktop toasts). Add an At log on trigger. Under Actions, start C:\Windows\System32\cmd.exe with arguments /d /c ""C:\path to project\start.bat"" and the project folder as Start in. Select Do not start a new instance. Configure JD2 to launch at logon as well. The dashboard retries while JD2 starts.

Optional HTTPS reverse proxy

For remote access, run an HTTPS reverse proxy on this PC, set the dashboard bind address to 127.0.0.1, and forward only the proxy's dashboard hostname to http://127.0.0.1:8787. Configure a trusted certificate, set secure_cookie = true under [dashboard], and restart. Keep JD2 port 3128 on loopback. Plain HTTP on the LAN carries login credentials and sessions without transport encryption.

Stage 2 checks

With JD2 and its API running, execute .venv\Scripts\python.exe tests\live_transfers.py. The script serves five temporary resumable files on loopback, reviews and confirms the test links, checks progress and single-link pause/resume, then removes its test entries. To repeat the UI check manually, use five distinct links you control, confirm their package on your phone, pause a running link and resume it, then verify the speed-limit toggle and move actions. Use Light theme to toggle the default dark appearance.

History, watchers and notifications

  • History records completed transfers in data/dashboard.sqlite3. Daily and Monday-based weekly charts use local completion dates. Top hosters are ranked by completed bytes. Search matches names and hosters. Keep JD2's finished entries until the dashboard has observed them. It can backfill retained entries after downtime. Average speed uses observed byte growth during active transfer intervals and appears as a dash when there are insufficient samples.
  • Watchers accepts RSS/Atom feeds, absolute paths to UTF-8 text files, and folders containing .txt or .urls files. Use one HTTP(S) URL per line. Folders are scanned at their top level. Feed enclosures take precedence over article links. Set each source's interval in seconds. Edit loads its settings. Saving the same type and location updates its interval and auto-confirm setting.
  • Each distinct URL is submitted once across all watchers, including after restart. Existing entries are included on the first scan. Sources default to LinkGrabber review. Automatic confirmation applies to links from that source's crawler job. If JD2 disconnects during submission, check the source's error and compare its links with LinkGrabber before adding any missing URLs manually.
  • Settings lets you switch Windows and browser delivery independently and select link or package completions. Windows toasts run in the logged-in desktop session. Browser delivery is per browser and needs an open dashboard page. On plain LAN HTTP the dashboard displays an in-page alert. For system notifications on a phone, use trusted HTTPS, grant notification permission, and use a browser that supports notifications. Mobile OS installation and notification rules may also apply.

Tests

From the project directory, after starting the dashboard at least once:

.venv\Scripts\python.exe -m unittest discover -s tests -v
.venv\Scripts\python.exe scripts\check_connection.py
.venv\Scripts\python.exe tests\live_transfers.py
.venv\Scripts\python.exe tests\live_watcher.py

The first command uses temporary SQLite databases and covers completion idempotency, speed estimation, reports, notification preferences, source parsing, persistent deduplication, job isolation, authentication and CSRF. The other commands use your running JD2. The transfer test briefly toggles the speed limit and restores it. The watcher test confirms only its opted-in link. The live tests remove their own list entries. Run on an idle engine when convenient.

Browser smoke test. The optional automated phone-width check uses Node.js, Playwright and Chrome supplied by the test environment. With require('playwright') available to Node and Chrome installed, run:

$env:QA_CHROME = 'C:\Program Files\Google\Chrome\Application\chrome.exe'
.venv\Scripts\python.exe tests\live_transfers.py --browser

Manual notification check. In Settings enable both delivery switches and both completion types. Finish a small single-link package with the dashboard open. Check for a link and a package notification in the browser (or the in-page message on HTTP) and Windows Notification Center. Disable one channel, finish a fresh package, and verify delivery only on the enabled channel. Windows Do Not Disturb or browser permission settings can suppress banners.

Clean setup check. On a Windows PC with Python 3.11+ and JD2, copy the project without .venv, config.toml or data, follow Stage 1, and run start.bat. Verify sign-in and the live list from a second device on the same Wi-Fi. Test Task Scheduler by logging out and back in. Back up the private config and database with the dashboard stopped.

About

A self-hosted web dashboard for JDownloader 2 on Windows. Manage downloads from any browser on your home network with live progress, LinkGrabber review, bulk controls, RSS and file watchers, completion notifications, and searchable download history. Includes a responsive dark UI, password login, SQLite storage, and simple setup.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages