A powerful AI-powered voice authentication system that helps detect AI-generated voices with high accuracy.
Check out the live demo: https://truevoice-web-txdh.onrender.com/
The backend for this project is available at: GitHub - left-no-crumbz/thesis-backend
- 🎤 Upload audio files for AI voice analysis
- 🔍 Detect AI-generated voices with high accuracy
- 📊 View detailed confidence scores
- 📱 Responsive design for all devices
- 🔐 Secure file handling and processing
- Node.js 20+ & npm/yarn
- Clone the repository:
git clone https://github.com/userkace/truevoice-web.git cd truevoice-web
TrueVoice is a Vite-powered React web application for vetting audio recordings. You can upload local .wav, .mp3, and other audio formats or browse predefined samples pulled from a public GitHub repository.
- Docker Desktop with the WSL2 backend enabled and running.
- Git for Windows for cloning the repository.
- PowerShell or Windows Terminal for running commands.
- (Optional) Node.js 20+ if you intend to run npm scripts without Docker.
- Ensure Docker Desktop is running.
- From the project root, build the image:
docker build -t truevoice-web .
- Start a container that serves the production build through Nginx:
docker run --rm -p 5173:80 --name truevoice-web truevoice-web
- Port
5173on your machine maps to the container’s port80. - Add
-dto run the container in the background if preferred.
- Port
- Navigate to
http://localhost:5173in your browser to access the app. - Press
Ctrl+C(ordocker stop truevoice-web) to stop the container when finished.
If you have Node.js installed and prefer hot module reloading:
npm install
npm run devThen open the URL shown in the terminal (defaults to http://localhost:5173).
-
Upload your own audio
- Click inside the drop zone or drag audio files directly onto it. Only files with MIME types that start with
audio/are accepted. - Each upload triggers a request to the prediction endpoint configured in
VITE_API_BASE_URL; results surface in the Recent Activity list with confidence scores.
- Click inside the drop zone or drag audio files directly onto it. Only files with MIME types that start with
-
Explore predefined samples
- The “Audio Files” panel lists assets from the
left-no-crumbz/truevoice-audio-filesrepository. - Click a directory to drill down or select a file to download it locally for further evaluation.
- The “Audio Files” panel lists assets from the
-
Review recent activity
- Successfully analyzed files remain in the activity list until you select Clear All. Status indicators show whether a file is processing, completed, or encountered an error.
- Port already in use: Stop any service listening on
5173or map Docker to another host port (e.g.,-p 8080:80). - Docker image rebuild: Run
docker build --no-cache -t truevoice-web .if static assets appear outdated. - GitHub sample fetch errors: Verify outbound internet access—the audio library relies on unauthenticated GitHub REST calls and may hit rate limits on unstable connections.