TGDrive mobile browser — third-party notices
Prepared 2026-10-31 for the pinned mobile dependencies. These notices accompany the browser JS and both standalone WASM assets. Full licenses and corresponding source are linked from legal/index.html.

@mtcute/core 0.32.7; @mtcute/web 0.32.7; @mtcute/file-id 0.32.6; @mtcute/tl-runtime 0.32.6; @mtcute/wasm wrapper 0.32.6
MIT — Copyright 2023 alina sireneva
Full license: licenses/MIT-mtcute.txt
Source: https://github.com/mtcute/mtcute

@fuman/io, @fuman/net, @fuman/utils 0.0.23
MIT — Copyright 2024 alina sireneva
Full license: licenses/MIT-fuman.txt

long 5.3.2
Apache License 2.0 — Copyright 2009 The Closure Library Authors; Copyright 2020 Daniel Wirtz / The long.js Authors.
Full license: licenses/Apache-2.0.txt
Source: https://github.com/dcodeIO/long.js
The installed distribution contains no separate upstream NOTICE file. The library is bundled/minified in browser JS; no semantic changes to its vendored source are made by TGDrive.

Vite browser preload/modulepreload helpers, Vite 8.3.5
MIT — Copyright (c) 2019-present, VoidZero Inc. and Vite contributors
Full core license: licenses/MIT-Vite.txt
Source: https://github.com/vitejs/vite

Embedded mtcute WASM algorithms
------------------------------
IMPORTANT: Both mtcute.wasm and mtcute-simd.wasm contain modified TgCrypto AES/IGE/CTR code, licensed under GNU LGPL version 3. The library and its use in these combined WASM files are covered by LGPLv3. TgCrypto/Pyrogram original attribution: Copyright (C) 2017-present Dan <https://github.com/delivrance>. The mtcute upstream README identifies the adaptation; source at exact npm gitHead is supplied. GNU GPLv3 and LGPLv3 full texts accompany this software: licenses/GPL-3.0.txt and licenses/LGPL-3.0.txt.

You may modify the LGPL library portions and reverse engineer for debugging those modifications. TGDrive adds no restriction on doing so. Complete corresponding C source, build inputs and wrapper interface source are in sources/mtcute-wasm-0.32.6-c432582-source.tar.gz. The application loads two standalone WASM files; sources/README-mtcute-wasm.txt explains rebuilding and replacing them in a local static copy. No claim is made that the entire application must use the LGPL.

Embedded libdeflate: MIT — Copyright 2016 Eric Biggers. Modified upstream by kamillaova for WASM and bundle size. Full license: licenses/MIT-libdeflate.txt.
Embedded SHA1 / teeny-sha1: MIT — source Copyright (c) 2017 CTrabant; based on jinqiangshou/EncryptionLibrary. The upstream license text has Copyright (c) 2016 with no named holder; its full text is retained in licenses/MIT-teeny-sha1.txt, and the source's credits are preserved in the archive.
Embedded SHA256: MIT — Copyright (c) 2020 LekKit https://github.com/LekKit. Full license/header: licenses/MIT-LekKit-sha256.txt.

TGDrive modification/packaging notice
-----------------------------------
TGDrive bundles/minifies the JS wrappers and renames the standalone WASM asset paths through Vite. The distributed WASM bytes match the upstream npm package and committed binaries at c43258260e8ceddb0ad37720b043f6891b837e27; TGDrive makes no changes to those bytes or the supplied upstream C/TypeScript sources. The source archive adds local documentation, receipts, full license copies and Dockerfile.tgdrive, which adds a missing COPY hash command to the unchanged upstream Dockerfile recipe. These local additions are clearly identified and do not change the original license terms. Rebuilt/modified binaries are permitted; record your own further changes.

No source build or modified-WASM runtime test was executed while preparing these artifacts. Exact source and binary checks are recorded in sources/SOURCE-MANIFEST.json.
