How gsmoura033/conversor-wav-mp3-mp4 works
WAVECRAFT is a desktop-capable WAV converter with a React interface and an Express conversion API. The main workflow selects WAV files, queues them with output format, quality, and optional MP4 cover settings, then submits each conversion and offers playback, download, and history. Backend conversion uses FFmpeg and serves generated files; history is held in memory. The README also documents Electron desktop use. Its integration details are not included in the excerpts, so no Electron-to-server call is asserted.
Main entry points: App.jsx Queue and settings · convert.js Conversion routes · api.js HTTP client · DropZone.jsx WAV selection
Components 15
Conversion interface
- Queue and settings
frontend/src/App.jsx - WAV selection
frontend/src/components/DropZone.jsx - File status card
frontend/src/components/FileCard.jsx - Audio preview
frontend/src/components/AudioPlayer.jsx - Waveform visual
frontend/src/components/WaveformIcon.jsx - Notifications
frontend/src/components/Toast.jsx - History view
frontend/src/components/ConversionHistory.jsx - HTTP client
frontend/src/utils/api.js
Conversion service
- HTTP server
backend/server.js - Conversion routes
backend/routes/convert.js - In-memory history
backend/routes/convert.js - Converted files
backend/server.js
Desktop runtime
- Electron shell
electron/main.js
Other components
- User
- FFmpeg
Connections 18
- User → Queue and settings: uses
README.md - Queue and settings → WAV selection: renders
frontend/src/App.jsx - WAV selection → Queue and settings: supplies files
frontend/src/App.jsx - Queue and settings → File status card: renders
frontend/src/App.jsx - Queue and settings → HTTP client: requests conversion
frontend/src/App.jsx - Queue and settings → Notifications: shows notices
frontend/src/App.jsx - Queue and settings → History view: shows history
frontend/src/App.jsx - File status card → Audio preview: renders
frontend/src/components/FileCard.jsx - File status card → HTTP client: formats metadata
frontend/src/components/FileCard.jsx - WAV selection → Waveform visual: renders
frontend/src/components/DropZone.jsx - Audio preview → Waveform visual: renders
frontend/src/components/AudioPlayer.jsx - History view → HTTP client: loads history
frontend/src/components/ConversionHistory.jsx - HTTP client → HTTP server: sends HTTP requests
frontend/src/utils/api.js - HTTP server → Conversion routes: mounts routes
backend/server.js - Conversion routes → FFmpeg: runs conversion
backend/routes/convert.js - Conversion routes → In-memory history: records results
backend/routes/convert.js - Conversion routes → Converted files: writes files
backend/routes/convert.js - HTTP server → Converted files: serves downloads
backend/server.js