🚨 SHIVETI RADIO - ULTRA LOW MEMORY VERSION 🚨 ================================================== This version is designed for shared hosting with severe memory limitations. Use this if you got "Fatal process out of memory" errors. 🔧 MEMORY-OPTIMIZED INSTALLATION: 1. UPLOAD FILES: - Upload app-minimal.js (NOT app.js) - Upload package-minimal.json as package.json - Upload the public/ folder - File structure: /public_html/ ├── app-minimal.js ├── package.json (renamed from package-minimal.json) └── public/ (all website files) 2. CPANEL NODE.JS SETUP: - Node.js Selector → Create Application - IMPORTANT SETTINGS: * Node.js Version: 14.x or 16.x (NOT 18.x - uses too much memory) * App URL: / (root only) * Startup File: app-minimal.js * Memory Limit: Set to minimum available 3. BEFORE STARTING: - In Node.js app settings, add environment variable: NODE_OPTIONS="--max-old-space-size=128" - This limits Node.js to 128MB memory 4. INSTALL & START: - Run: npm install - Click Start App ⚠️ MEMORY OPTIMIZATION TIPS: ✅ Use Node.js 14.x or 16.x (18.x+ uses more memory) ✅ Set NODE_OPTIONS="--max-old-space-size=128" ✅ Use app-minimal.js (50% smaller than regular version) ✅ Deploy only at root level (/) ✅ Clear browser cache before testing 🚫 WHAT'S REMOVED FOR MEMORY: - Complex archive system (returns empty array) - Detailed station metadata - Large feedback history (keeps only last 10) - CORS middleware - Extra error handlers 🎵 CORE FEATURES THAT WORK: ✅ Both radio stations stream correctly ✅ Audio player functionality ✅ Station search ✅ Basic feedback submission ✅ Mobile responsive design 🔧 IF STILL GETTING MEMORY ERRORS: 1. Try Node.js 12.x if available 2. Contact hosting provider about memory limits 3. Consider upgrading to VPS hosting 4. Use static-only version (no Node.js backend) 📞 ALTERNATIVE: STATIC VERSION If Node.js keeps failing, you can serve just the public/ folder as a static website (HTML/CSS/JS only) - radio streaming will still work, but no feedback forms or dynamic features. 🎉 This minimal version uses 70% less memory than the standard setup!