Skip to main content

Prerequisites

Before you begin, ensure you have the following installed:
1

Node.js and pnpm

Install Node.js 18+ and pnpm 10.13.1+
2

Rust

Install Rust 1.70+ via rustup
3

Platform-Specific Dependencies

macOS

  • Xcode Command Line Tools
  • Swift 5.9+ (for Parakeet sidecar)

Windows

  • Visual Studio 2019+ with C++ build tools
  • WebView2 (usually pre-installed on Windows 10/11)

Clone Repository

Clone the VoiceTypr repository and navigate to the project directory:

Install Dependencies

Install frontend and backend dependencies:
1

Install Frontend Dependencies

This installs all npm packages including React, Tauri, and development tools.
2

Build Rust Dependencies

First build downloads and compiles all Rust crates. This may take 5-10 minutes.
3

Setup FFmpeg Sidecars (macOS)

Downloads platform-specific FFmpeg binaries required for audio processing.

Development Environment

Editor Setup

We recommend VS Code with the following extensions:
  • rust-analyzer - Rust language support
  • Tauri - Tauri development tools
  • ESLint - JavaScript/TypeScript linting
  • Prettier - Code formatting
  • Tailwind CSS IntelliSense - Tailwind autocomplete

Environment Variables

Create a .env file in the project root (optional):

Verify Installation

Run the development server to verify everything works:
The app should launch with:
  • Frontend hot-reload on port 1420
  • Rust backend with debug logging
  • Working system tray icon

Troubleshooting

FFmpeg Missing

If you see FFmpeg errors:

Rust Build Fails

Clear Cargo cache and rebuild:

Port 1420 Already in Use

Kill the process using the port:

Swift Sidecar Build Fails (macOS)

Ensure Swift toolchain is properly installed:

Next Steps

Now that your environment is set up: