Skip to main content

Building from Source

This section explains how to compile the Miku Push! client from source for different operating systems. The Miku Push! client is built with Tauri, using a Rust backend with Diesel for the database and a web frontend.

Common Prerequisites

Regardless of your operating system, you need the following tools installed:

ToolVersionPurpose
Rust1.88+Compiles the Tauri backend.
Node.js22+Builds the web UI.
npm(bundled with Node.js)Installs JavaScript dependencies.
gitClones the repository.

Clone the Repository

git clone https://github.com/mikupush/mikupush.git
cd mikupush

Install Dependencies

Install the frontend dependencies via npm:

npm install

Diesel Setup

The client uses Diesel as the ORM with SQLite. Ensure you have the diesel_cli installed to run database migrations if needed during development:

cargo install diesel_cli --no-default-features --features sqlite

Note: For the SQLite feature on Linux, you must have libsqlite3-dev installed. On Windows and macOS, SQLite is usually bundled or easier to set up.

Next Steps

Now that you have the common prerequisites installed, please select your operating system to see the specific build instructions: