This repository contains the source code of the core library implementing the Privacy Pass API used by Kagi. This repository is not meant to be used as stand-alone, but rather as a submodule for other projects.
To build this library, install Docker and run
bash build.sh
If using Podman, run
DOCKER=podman bash build.sh
The output library will be found in /build
.
To build this project directly on your host machine, you need rust and wasm-pack.
You can obtain Rust by using rustup, and wasm-pack by using its installer.
Once the above dependencies were obtained, run
cd src
bash build.sh
The output library will be found in /src/wasm/pkg
.