This project is a Next.js application featuring real-time speech-to-text capabilities.
To run the development server:
bun dev
To run the production server:
bun build
bun start
Before running this application, ensure you have the following installed:
- PortAudio: This is required for audio processing.
- FFmpeg: This is required for audio processing and conversion.
- PDM: Python package manager and runner.
-
On macOS (using Homebrew):
brew install portaudio brew install ffmpeg
-
On Ubuntu/Debian:
sudo apt-get install portaudio19-dev sudo apt-get install ffmpeg
-
On Windows:
- Download and install PortAudio from the official website: http://www.portaudio.com/download.html
- Download and install FFmpeg from the official website: https://ffmpeg.org/download.html
Make sure both PortAudio and FFmpeg are properly installed before proceeding with the application setup.
For PDM installation instructions, please refer to the official PDM documentation:
- Install Python packages using PDM:
pdm install
- Run the project using PDM:
pdm run start