Prerequisites
Before building ZeroLimit, ensure you have the following installed:Required Tools
- Node.js >= 20
- pnpm 10.22.0 or higher
- Rust (latest stable) - Install via rustup
- Tauri CLI (included in dev dependencies)
Platform-Specific Requirements
- Windows
- macOS
- Linux
- Microsoft Visual Studio C++ Build Tools
- WebView2 (usually pre-installed on Windows 10/11)
Quick Start
Development Workflow
Running the Development Server
http://localhost:1420 for rapid frontend development without the Tauri wrapper.
Running the Full Desktop App
- Starts the Vite dev server
- Compiles the Rust backend
- Launches the desktop application
- Enables hot-reload for both frontend and backend changes
Type Checking and Building Frontend
Production Build
Building the Application
src-tauri/target/release/bundle/nsis/*.exe- NSIS installersrc-tauri/target/release/bundle/msi/*.msi- MSI installer
src-tauri/target/release/bundle/dmg/*.dmg- DMG imagesrc-tauri/target/release/bundle/macos/*.app- Application bundle
src-tauri/target/release/bundle/deb/*.deb- Debian packagesrc-tauri/target/release/bundle/rpm/*.rpm- RPM packagesrc-tauri/target/release/bundle/appimage/*.AppImage- AppImage
Build Artifacts
- Frontend build:
dist/- Vite-generated static assets - Rust build:
src-tauri/target/- Compiled Rust binaries and installers
Configuration Files
Tauri Configuration
src-tauri/tauri.conf.json - Main Tauri configuration:
- Application metadata (name, version, identifier)
- Window settings (dimensions, title)
- Bundle options (icon, targets)
- Plugin configuration (updater, etc.)
Build Commands
Defined intauri.conf.json:
beforeDevCommand:pnpm dev- Runs before dev modebeforeBuildCommand:pnpm build- Runs before production builddevUrl:http://localhost:1420- Development server URLfrontendDist:../dist- Production frontend assets
Cargo Configuration
src-tauri/Cargo.toml - Rust dependencies:
- Tauri core with tray icon support
- Plugins: shell, dialog, fs, updater, process, os
- HTTP client (reqwest), async runtime (tokio)
- Archive handling (zip, tar, flate2)
Troubleshooting
Common Issues
WebView2 missing on Windows:Next Steps
Project Structure
Understand the codebase organization
Contributing
Learn how to contribute to ZeroLimit