Installation Guide¶
This guide will help you install Voice Transcriber on your Linux system.
Prerequisites¶
Before installing Voice Transcriber, ensure you have the following:
1. Bun Runtime¶
Voice Transcriber requires Bun ≥1.2.0:
# Install Bun
curl -fsSL https://bun.sh/install | bash
# Verify installation
bun --version # Should output ≥1.2.0
Bun documentation: https://bun.sh
2. System Dependencies¶
Install required system packages:
Package purposes:
alsa-utils
: Providesarecord
for audio recordingxsel
: Cross-platform clipboard integration
Verify installation:
Installation Methods¶
Automated Setup (Recommended)¶
The fastest way to get started - one command does everything:
# Step 1: Clone the repository
git clone https://github.com/Nouuu/voice-transcriber.git
cd voice-transcriber
# Step 2: Run automated setup
make setup
What make setup
does:
- ✅ Checks all system dependencies (Bun, arecord, xsel)
- ✅ Installs Bun dependencies
- ✅ Creates configuration file at
~/.config/voice-transcriber/config.json
- ✅ Displays next steps
Manual Setup¶
If you prefer step-by-step installation:
# Step 1: Clone repository
git clone https://github.com/Nouuu/voice-transcriber.git
cd voice-transcriber
# Step 2: Check system dependencies
make check-system-deps
# Step 3: Install Bun dependencies
make install
# Step 4: Initialize configuration file
make init-config
Configuration¶
After installation, configure your OpenAI API key:
Add your OpenAI API key:
{
"language": "en",
"formatterEnabled": true,
"transcription": {
"backend": "openai",
"openai": {
"apiKey": "sk-your-api-key-here"
}
}
}
Get your OpenAI API key: https://platform.openai.com/api-keys
Configuration Options
See the Configuration Guide for detailed configuration options including language settings, custom prompts, and self-hosted backends.
Global Installation (Optional)¶
Install the voice-transcriber
command globally:
This allows you to run the application from anywhere:
Uninstall Global Command¶
To remove the global command:
Running the Application¶
Production Mode¶
Run the application normally:
Development Mode¶
Run with auto-reload for development:
Debug Mode¶
Enable detailed logging for troubleshooting:
Debug output includes:
- File sizes (WAV and MP3 compression ratios)
- Audio format details (sample rate, channels)
- Processing times (upload, processing, response)
- Transcription metrics (character count, duration)
Verification¶
Verify your installation:
# 1. Check all system dependencies at once
make check-system-deps
# 2. Verify configuration exists
cat ~/.config/voice-transcriber/config.json
# 3. Test audio recording
arecord -l # Should list your audio devices
# 4. Run the application
make run
Look for the green circle system tray icon indicating the app is ready.
Platform-Specific Notes¶
Ubuntu 22.04+¶
Fully supported with default installation steps.
Other Linux Distributions¶
- Debian/Mint: Same as Ubuntu instructions
- Arch/Manjaro: Use
pacman -S alsa-utils xsel
- Fedora/RHEL: Use
dnf install alsa-utils xsel
Wayland vs X11¶
Works on both Wayland and X11 desktop environments. System tray integration tested on:
- GNOME (Wayland and X11)
- KDE Plasma
- XFCE
- MATE
Windows and macOS Support
Currently, Voice Transcriber only supports Linux. Windows and macOS support is planned for future releases.
Troubleshooting Installation¶
Bun Installation Fails¶
If Bun installation fails:
# Try alternative installation method
npm install -g bun
# Or download binary directly
curl -fsSL https://bun.sh/install | bash -s "bun-v1.2.0"
System Dependencies Not Found¶
If arecord
or xsel
are not found:
# Verify package manager
which apt-get # Debian/Ubuntu
which pacman # Arch
which dnf # Fedora
# Update package cache
sudo apt-get update # Ubuntu
Permission Issues¶
If you encounter permission errors:
# Ensure user is in audio group
sudo usermod -a -G audio $USER
# Log out and log back in for changes to take effect
Config File Not Created¶
If config file isn't created automatically:
Available Make Commands¶
Voice Transcriber includes many helpful make commands:
# View all available commands
make help
# Setup & Installation
make setup # Complete automated setup
make check-system-deps # Verify system dependencies
make install # Install Bun dependencies only
make init-config # Create config file
# Running
make run # Run the application
make dev # Development mode with watch
# Testing & Quality
make test # Run all tests
make lint # Run ESLint linting
make format # Format code with Prettier
# Documentation
make docs-serve # Serve documentation locally
Next Steps¶
- Configuration Guide - Configure languages and backends
- First Run - First-time setup walkthrough
- Basic Usage - Learn how to use the app
Need Help?
- Troubleshooting Guide - Common issues and solutions
- GitHub Issues - Report bugs or request features