- Background Music
- Performance 1-4
- Sound Effects
- Each channel operates independently
- NO upload buttons - replaced with dropdowns
- Files automatically pulled from
audio/folder - Alphabetically sorted file names
- Clean, easy-to-use interface
- Large button at the bottom of the app
- Pauses ALL playing audio channels at once
- Emergency stop functionality for live performances
Each channel has:
▶️ Play/Pause button- 🔄 Reset button (restart track)
- ⏱️ Timeline slider (seek)
- 🔊 Volume control
- 🔇 Mute toggle
- ⏲️ Time display (current/total)
- Custom Folder Selection: Choose any folder on your computer
- Refresh Button: Reload files after adding new audio
- File Info Display: Shows currently selected file name
- Real-time Updates: Volume, playback position, etc.
- Modern gradient design with pink/purple theme
- Responsive layout (works on different screen sizes)
- Hover effects and smooth transitions
- Loading indicators
- Icon-based controls (using Lucide React)
- Runs as native Windows/Mac application
- File system access for audio folder scanning
- Cross-platform build support
- Installer generation
- Configured with electron-builder
- NSIS installer with desktop shortcuts
- Includes audio folder in distribution
- One-click installation option
Dreamlive/
├── src/
│ ├── components/
│ │ └── AudioChannel.jsx # Individual channel component (189 lines)
│ ├── App.jsx # Main application (115 lines)
│ ├── App.css # All styling (425 lines)
│ ├── index.jsx # React entry point
│ └── index.css # Base styles
├── public/
│ └── index.html # HTML template
├── electron.js # Electron main process (96 lines)
├── preload.js # Electron security layer (7 lines)
├── audio/
│ └── README.txt # Instructions for users
├── package.json # Build config & dependencies
├── README.md # Full documentation
├── QUICKSTART.md # Quick start guide
└── .gitignore # Git ignore rules
- Frontend: React 19.2.0
- Desktop: Electron 39.1.2
- Build Tool: electron-builder 26.0.12
- UI Icons: lucide-react 0.553.0
- Styling: Pure CSS (no frameworks)
- Dev Tools: concurrently, cross-env, wait-on
# Development (Mac/Windows)
npm install # Install dependencies
npm run electron:dev # Run app in dev mode
# Building
npm run electron:build-win # Build Windows .exe
npm run electron:build-mac # Build Mac .dmg
npm run dist # Build all platforms
# Output
dist/ # Built executables appear here- Primary: Pink/Red gradient (#e94560 → #ff6b9d)
- Background: Dark blue (#1a1a2e, #16213e, #0f3460)
- Text: White/Gray (#eee, #aaa)
- Gradient buttons with hover effects
- Custom styled dropdowns
- Range sliders with custom thumbs
- Card-based channel layout
- Responsive grid system
- Desktop: 2-column grid (1200px+)
- Tablet: 1-column grid (768px - 1200px)
- Mobile: Stacked layout (<768px)
- All controls remain accessible
- MP3 (.mp3)
- WAV (.wav)
- OGG (.ogg)
- M4A (.m4a)
- FLAC (.flac)
- Native HTML5 audio
- Individual volume control per channel
- Seek to any position
- Current time / duration display
- Mute functionality
- Auto-sort by filename
get-audio-files: Scan default audio folderselect-audio-folder: Open folder picker dialogget-audio-files-from-path: Scan custom folder
useState: Component state managementuseRef: Audio element and refs arrayuseEffect: Event listeners and lifecycle
- NSIS installer for Windows
- DMG installer for Mac
- Desktop shortcuts
- Auto-update ready (can be enabled)
- Code signing ready (requires certificate)
When built, includes:
- Application executable
- Audio folder (with README)
- All dependencies bundled
- Installer (Windows: .exe, Mac: .dmg)
Size: ~150-200MB (includes Chromium and Node.js)
- No Upload Hassle: Just put files in a folder, they appear automatically
- Alphabetical Order: Easy to find files in long lists
- Emergency Stop: One button to pause everything during live performances
- Professional Look: Modern UI that looks great in a cafe setting
- Easy Distribution: Single .exe file to share with others
- Works Offline: No internet required after installation
- Maid cafe performances
- DJ sets
- Theater productions
- Podcast recording
- Live streaming
- Background music management
- Any multi-track audio control scenario
- Context isolation enabled
- Node integration disabled in renderer
- Preload script for safe IPC
- No remote code execution
- Local files only (no network access)
If you want to modify this:
- Change channels: Edit
src/App.jsxline 75 - Modify styling: Edit
src/App.css - Add features to channels: Edit
src/components/AudioChannel.jsx - Change Electron behavior: Edit
electron.js - Adjust build settings: Edit
package.json(build section)
- Node v20+ recommended: Some dependencies prefer Node 20+ (will work on v18 with warnings)
- Windows build on Mac: Creates installer but needs Windows to test
- File watching: Doesn't auto-refresh when files added (use refresh button)
- Max channels: Hardcoded to 6 (easily changeable)
- ✅ All requested features implemented
- ✅ Dropdown file selection (replaces upload buttons)
- ✅ Pause all audio button
- ✅ Alphabetical file sorting
- ✅ Windows .exe build configured
- ✅ Mac testing support
- ✅ Professional UI/UX
- ✅ Comprehensive documentation
- ✅ Ready for production use
If you want to extend this later:
- Keyboard shortcuts (space to pause all, etc.)
- Playlists (queue multiple files per channel)
- Fade in/out effects
- Volume normalization
- Audio effects (reverb, EQ, etc.)
- Save/load sessions (remember settings)
- Hotkeys for live performance
- Multiple audio output device support
- Visual waveforms
- MIDI controller support
Total Development Time: ~2 hours Total Lines of Code: ~850 lines Ready to Deploy: ✅ YES
Built with ❤️ for Dream Live Maid Cafe