MediaForge
Copyright (c) 2024-2026 phoenixthrush, SiroxCW, Tmaster055
Copyright (c) 2026 TheMRX13, Domekologe

MediaForge is licensed under the GNU General Public License v3.0 or later
(GPL-3.0-or-later) with effect from 2026-07-03. See the LICENSE file for the
full license text.

Licensing history:
Earlier versions of this project — released as "AniWorld Downloader" /
"MRX-AniWorld-Downloader" before the rename to MediaForge — were distributed
under the MIT License. That historical license text is preserved in
LICENSE.old and continues to apply to those earlier releases.


Separately licensed component
-----------------------------
The MediaForge Captcha Solver

    src/mediaforge/playwright/captcha.py

is NOT covered by the GPL-3.0-or-later grant above. It is proprietary work of
the PD-Codes Team:

    Copyright (c) 2026 PD-Codes Team. All Rights Reserved.

It may be used only as an integral part of an unmodified MediaForge
installation. Any use, extraction, modification, or redistribution outside of
MediaForge requires prior written permission from the PD-Codes Team. The full
terms are in the file LICENSE-CAPTCHA.

Clarification for forks and modified distributions (in the spirit of
GPLv3 section 7): the file src/mediaforge/playwright/captcha.py is a
separately licensed, non-GPL component. LICENSE-CAPTCHA permits its
redistribution only as part of a complete, UNMODIFIED MediaForge
distribution. If you distribute a modified version of MediaForge (e.g. a
fork), you must REMOVE this file from your distribution unless you have
prior written permission from the PD-Codes Team. Removing the file does
not affect the GPL-3.0-or-later rights in the remainder of MediaForge;
MediaForge remains fully runnable without it — only captcha solving
itself is disabled, so captcha-protected pages cannot be resolved.


Vendored third-party libraries
------------------------------
The following files under src/mediaforge/web/static/ are unmodified upstream
distributions of third-party libraries, vendored so that an installation
without internet access still works and so that no third-party origin has to
be allowed in the Content-Security-Policy. Each keeps its own license; all of
them are compatible with the GPL-3.0-or-later grant above.

    hls.min.js                       hls.js v1.5.7          Apache-2.0
    qrcode.min.js                    Kazuhiko Arase         MIT
    pdf.min.js, pdf.worker.min.js    pdf.js v3.11 (Mozilla) Apache-2.0
    epub.min.js                      epub.js v0.3.93        BSD-2-Clause
    jszip.min.js                     JSZip v3.10.1          MIT or GPL-3.0-or-later

The following files under src/mediaforge/anime4k/shader/ are unmodified
upstream shaders from the Anime4K project (https://github.com/bloc97/Anime4K),
vendored for the built-in Anime4K upscaling feature. Each file carries its own
license header; all of them are compatible with the GPL-3.0-or-later grant
above.

    Anime4K_*.glsl (37 files)        Anime4K, (c) 2019-2021 bloc97   MIT
    Anime4K_AutoDownscalePre_x2.glsl Anime4K                         Unlicense
    Anime4K_AutoDownscalePre_x4.glsl Anime4K                         Unlicense
