Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1 KB

README.md

File metadata and controls

33 lines (24 loc) · 1 KB

Kagi Privacy Pass Core Library

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.

Building using Docker

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.

Building on host machine

Installing the build dependencies

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.

Building the library

Once the above dependencies were obtained, run

cd src
bash build.sh

The output library will be found in /src/wasm/pkg.