A simple Docker-based service that converts OGG/OGA audio files to WAV format. This service is designed to be lightweight and can easily integrate with n8n workflows.
- API key authentication for secure access
- Converts OGG/OGA files to WAV format
- Simple REST API
- Dockerized for easy deployment
- Health check endpoint
docker build -t ogg-to-wav-converter .
docker run -d -p 5000:5000 --env-file .env --name ogg-converter ogg-to-wav-converter
Make sure to create a .env
file based on the provided .env.example
with your secure API key.
curl -X POST -H "X-API-Key: your-api-key-here" -F "file=@your-file.ogg" http://localhost:5000/convert -o converted-file.wav
curl http://localhost:5000/health
- Set up an HTTP Request node in n8n.
- Configure it as a POST request to
http://your-docker-host:5000/convert
. - Add the header
X-API-Key
with your API key. - Set up binary data handling for the OGG file input.
- Connect to your workflow to process the resulting WAV file.
API_KEY
: Your secure API key for authenticationPORT
: Port to run the service on (default: 5000)