Converter API is a simple and lightweight Node.js + Express-based REST API that allows you to upload and convert various media files (images, videos, audio) with endpoints powered by ffmpeg and sharp.
Files are stored temporarily and automatically deleted after 3 hours.
- πΌ Convert WebP to PNG
- π Convert WebP to GIF
- π Convert GIF to MP4
- πΈ Extract image from video
- π Extract audio (MP3) from video
- π€ Upload files via
multipart/form-data - π Serve temporary files via
/file/:filename - π§Ή Automatic file cleanup every 30 minutes (via cron)
- Node.js (LTS)
- ffmpeg (installed via Docker or manually)
git clone https://github.com/yourname/converter-api.git
cd converter-api
npm installnpm start