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.
On Windows 11
Section titled “On Windows 11”You need:
- the MSVC Rust toolchain, version 1.97 or newer (
rustupwith thex86_64-pc-windows-msvctarget); - Visual Studio’s “Desktop development with C++” workload, which provides the
linker and the Windows SDK resource compiler (
rc.exe).
On Linux
Section titled “On Linux”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.
Commands
Section titled “Commands”The same commands work on both, from a checkout:
cargo syrinx # build and run Syrinx on a development profilecargo xtask check # the full gate: dependency rules, format, Clippy, tests and a smoke runcargo xtask package # the release package under target/packageOn 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.