Skip to content

Latest commit

Β 

History

History
43 lines (29 loc) Β· 946 Bytes

File metadata and controls

43 lines (29 loc) Β· 946 Bytes

πŸŽ›οΈ Converter API

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.


✨ Features

  • πŸ–Ό 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)

πŸ“¦ Requirements

  • Node.js (LTS)
  • ffmpeg (installed via Docker or manually)

πŸš€ Getting Started

Clone & Install

git clone https://github.com/yourname/converter-api.git
cd converter-api
npm install

Run

npm start