Skip to content

Building from Source

Head to the official GitHub Repository and clone the repository to your local machine:

Terminal window
git clone https://github.com/TM9657/flow-like.git
cd flow-like

Alternatively, you can fork the repository to your GitHub account and clone it from there (especially if you plan to contribute).

We’re continuously pushing updates to Flow-Like. The latest stable versions are available on the main and alpha branches. These are the branches that contain the source code snapshot for our latest builds available for download. They should compile without issues on your machine.

To get the latest changes, try the dev branch:

Terminal window
git checkout dev

As we are using Rust for our backend, please continue by installing Rust on your machine as described in the official Rust installation guide.

If you already have Rust installed, make sure you have the latest stable version:

Terminal window
rustup update stable

For all build scripts and to bundle the frontend, we are using Bun. Please install Bun by following the official Bun installation guide.

Alternatively, you can also install Bun via npm. To do so, first install Node.js and then run:

Terminal window
npm install -g bun

To build the desktop application, we are using Tauri.

Please make sure you’ve installed the necessary System Dependencies for your respective operating system as described in the official Tauri Prerequisites guide.

Some of our Rust dependencies require Protobuf. Please install the Protobuf compiler (protoc) on your machine as described in the official Protobuf installation guide.

Now that you have all dependencies installed, fetch all required Node packages by running:

Terminal window
bun install

To build and run the Flow-Like desktop application in development mode run:

Terminal window
bun run dev:desktop:<os>:<arch>

Please replace <os> and <arch> with your respective operating system and architecture, available options are:

Terminal window
# Example for macOS on Apple Silicon
bun run dev:desktop:mac:arm
# Example for macOS on Intel/AMD (x64)
bun run dev:desktop:mac:intel
# Example for Windows on Intel/AMD (x64)
bun run dev:desktop:win:x64
# Example for Windows on ARM
bun run dev:desktop:win:arm
# Example for Linux on Intel/AMD (x64)
bun run dev:desktop:linux:x64

Running in dev mode builds the backend without the Rust cargo build --release flag. Frontend assets are bundled on each change, so you can see your changes live in the app.

To create a productive build of the Flow-Like desktop application, run the following command (no need to specify OS and architecture here):

Terminal window
bun run build:desktop

The build binary will be located at ./target/release/flow-like-desktop. Bundled app installers can be found in ./target/release/bundle.

You can find all available build scripts in the package.json file of the repository root.

Tauri uses WebKit for rendering the frontend. We’ve noticed some issues with certain Linux distributions and graphics drivers combinations.