Skip to content

Building from source

Syrinx is written in Rust. It renders pages with Microsoft Edge WebView2 on Windows 11 and with WebKitGTK on Linux. The source is at Fledge-Software/Syrinx-app.

You need:

  • the MSVC Rust toolchain, version 1.97 or newer (rustup with the x86_64-pc-windows-msvc target);
  • Visual Studio’s “Desktop development with C++” workload, which provides the linker and the Windows SDK resource compiler (rc.exe).

You need Rust 1.97 (rustup toolchain install 1.97.1), the development packages for WebKitGTK 4.1 (2.38 or newer), GTK 3 and libsoup 3, bubblewrap, GStreamer’s media plugins, and an X11 session or XWayland. The runtime packages for each distribution are listed under Install.

The same commands work on both, from a checkout:

Terminal window
cargo syrinx # build and run Syrinx on a development profile
cargo xtask check # the full gate: dependency rules, format, Clippy, tests and a smoke run
cargo xtask package # the release package under target/package

On Windows, cargo xtask package writes the setup program and the portable zip. On Linux it writes Syrinx-<version>-<commit>-linux-x64.tar.gz, which installs as described under Install.

docs/dev/LOCAL-DEV.md in the repository has the details and known traps.

For building this website, use the instructions in its repository README.

Report a problem with this page ↗ · Syrinx on GitHub ↗