capwx
Copyright 2026 capwx contributors

This product is licensed under the Apache License, Version 2.0 (see LICENSE).

capwx is an unofficial Python implementation and is not affiliated with Cap.

This product includes and/or is derived from the following third-party works:

1. Cap (https://github.com/tiagozip/cap)
   Copyright (c) tiagozip and Cap contributors.
   Licensed under the Apache License, Version 2.0.
   Pinned commit: 29bbe6fbe284786cdb0d4489e5040aee6042b2a4
   Ported parts: core/src (capjs-core 0.1.5) protocol logic, instrumentation
   generation and detection.
   Vendored browser assets (src/capwx/contrib/django/static/capwx/):
   cap-widget 0.1.58 (cap.min.js), @cap.js/wasm 0.0.8 (cap_wasm_bg.wasm),
   pako 2.1.0 (pako_inflate.min.js, MIT).

2. HashWX (https://github.com/tevador/hashwx)
   Copyright (c) tevador.
   Licensed under the GNU Lesser General Public License, Version 3.
   Pinned commit: 74b567a31276a4c5d7cb232a5b7639467f49f961
   Vendored binary: src/capwx/_vendor/hashwx/hashwx.wasm (also shipped as
   static/capwx/hashwx.wasm). The licence text is in
   src/capwx/_vendor/hashwx/LICENSE and static/capwx/hashwx-LICENSE.txt.
   The wasm binary is a separate file that can be replaced with a user-supplied
   build (config option hashwx_wasm_path, or overriding the browser static file).

   Corresponding Source for the HashWX component (LGPL-3.0):
   - The unmodified HashWX source code at the pinned commit above is included in
     this repository and in the source distribution (sdist), in
     third_party/hashwx/. It is not part of the wheel. See
     third_party/hashwx/README.capwx.md for provenance, what is known and not
     known about how the binary was built, and how to replace the binary.
   - Upstream: https://github.com/tevador/hashwx at commit
     74b567a31276a4c5d7cb232a5b7639467f49f961.
   - Written offer: capwx will provide the complete Corresponding Source of the
     HashWX component (the source above, plus any build information the project
     holds) to any recipient who asks, at no charge, by writing to
     alifani1377@gmail.com. This offer is valid for at least three years from the
     date you received this distribution, and for as long as capwx distributes
     the binary.
   - You may replace hashwx.wasm with a modified or rebuilt version. Server side,
     set CapConfig(hashwx_wasm_path=...). Browser side, overwrite the static file
     static/capwx/hashwx.wasm and collect static files again. The licence text is
     in src/capwx/_vendor/hashwx/LICENSE and in third_party/hashwx/LICENSE.

Full details, pins and the re-sync procedure are in UPSTREAM.md.
