Thanks for your interest in improving Xtreme Download Manager! Bug reports, fixes, features, translations and documentation are all welcome.
- Bugs and feature ideas: open an issue first for anything bigger than a small fix, so we can agree on the approach before you spend time on it.
- Security issues: please do not open a public issue. Report it privately through GitHub's private vulnerability reporting.
- Translations: see TRANSLATING.md. Translations go through Weblate and do not need a pull request.
See Building from source in the README. In short:
mvn -q -pl xdm-app -am packagemvn -q -pl xdm-core test -DskipTests=false -Dtest=SomeTestJDK 25 is selected through a Maven toolchain (~/.m2/toolchains.xml; a sample is in
packaging/toolchains.sample.xml). Please run the tests for the area you changed before opening a
pull request, and add tests for new behaviour where practical.
| Module | What it is |
|---|---|
xdm-core |
Download engine (HTTP, HLS, DASH, muxing). Pure Kotlin/JVM, JDK 8, no UI dependencies. |
xdm-app |
The desktop app: Swing UI and browser integration. |
browser-extension |
The Chrome and Firefox extensions. |
- Kotlin sources live in
src/main/java. Match the style of the code around your change. xdm-coremust not depend on Swing or app types; it talks to the app throughDownloadHost.- All Swing UI changes happen on the Event Dispatch Thread.
- On-disk formats (config, download lists,
.info) use numbered tagged fields: add a new number for a new field, never reuse or change the type of an existing one. - Tests use JUnit 5; put the assertion message last.
- Keep pull requests focused: one fix or feature per PR, with a clear description of what changed and why.
- The project builds and the relevant tests pass.
- New behaviour has tests, or the PR explains why it can't be tested.
- The PR description says what changed, why, and how you tested it.
- Every commit is signed off (see below).
| Part | License |
|---|---|
xdm-core, xdm-android/, and the other shared modules built into the Android app (xdm-capture, xdm-manager) |
GNU GPL v3 with the additional terms in xdm-android/NOTICE |
Everything else (xdm-app, browser extensions, ...) |
GNU GPL v3 |
xdm-core versions up to 9.0.9 were released under the Apache License 2.0; see
xdm-core/NOTICE.
A contribution is licensed under the license of the part it changes: changes to xdm-core,
xdm-android/ and the other shared modules under the GPL v3 with the additional terms in
xdm-android/NOTICE (including its "Exception for official Android store builds", which allows proprietary
components in official builds only), everything else under the GPL v3. You keep the copyright to your contribution.
New source files in xdm-core, xdm-android/, xdm-capture and xdm-manager start with the same
header as the existing xdm-core files:
// Copyright 2026 Subhra Das Gupta
// SPDX-License-Identifier: GPL-3.0-or-later WITH AdditionRef-XDM-Android-Official-Store-Builds
// Additional terms and the exception: xdm-android/NOTICEBy signing off a contribution to these parts you also grant the permission in xdm-android/NOTICE's
"Exception for official Android store builds" for your contribution.
If you add a file that is substantially your own work, you may add your own copyright line above the SPDX line.
Instead of a contributor license agreement, XDM uses the
Developer Certificate of Origin (DCO). By adding a
Signed-off-by line to a commit, you certify that you wrote the change, or otherwise have the right
to submit it under the project's licenses as described above.
Git adds the line for you with -s:
git commit -s -m "Fix resume after a server restart"To have it added to every commit automatically (also from GitHub Desktop, which has no sign-off option), install the repository's hook once per clone, as shown in Building from source:
cp .githooks/prepare-commit-msg .git/hooks/ && chmod +x .git/hooks/prepare-commit-msgThe line uses the name and email from your Git config, for example:
Signed-off-by: Jane Doe <jane@example.com>
Use your real name. If you forgot to sign off, git commit --amend -s fixes the last commit and
git rebase --signoff master fixes all commits on your branch; then force-push the branch.
If you'd rather not rewrite your branch, add one empty "remediation" commit that signs off your earlier commits, listing each one by its full hash (it can only cover commits you authored):
git commit --allow-empty -s -F remediation.txtwhere remediation.txt contains:
DCO Remediation Commit for Jane Doe <jane@example.com>
I, Jane Doe <jane@example.com>, hereby add my Signed-off-by to this commit: <full hash of commit 1>
I, Jane Doe <jane@example.com>, hereby add my Signed-off-by to this commit: <full hash of commit 2>
The DCO check on your pull request lists the commits that are missing a sign-off and shows this message ready to copy.
Code copied from another project needs to be under a license compatible with the part it goes into
(for xdm-core, xdm-android/ and the other shared modules, a permissive license such as Apache 2.0,
MIT or BSD: someone else's GPL code can't carry the exception in xdm-android/NOTICE, so it cannot go into
those parts). Say where it came from in your pull request.
Everyone taking part in this project is expected to follow the Code of Conduct.