Content Forge AI dapat berjalan sebagai standalone web application, tidak hanya sebagai WordPress plugin.
Standalone application berarti aplikasi yang bisa berjalan sendiri tanpa dependency pada WordPress atau CMS lainnya. Aplikasi ini adalah:
- React Application - Frontend built dengan Vite
- Node.js Backend - Express server untuk image generation (menghindari CORS)
- Static Files - HTML, CSS, JavaScript yang bisa di-serve oleh web server apapun
┌─────────────────┐
│ Web Browser │
│ (Frontend App) │
└────────┬────────┘
│
├───> OpenLiteSpeed ───> Static Files (dist/)
│
└───> Backend API ───> Gemini API (Image Generation)
(Node.js:5000)
# Install dependencies
npm install
# Run backend + frontend together
npm run dev:full
# Or separately:
# Terminal 1: npm run server (backend)
# Terminal 2: npm run dev (frontend)# Build standalone application
npm run build
# Output: dist/ folder
# Contains: index.html, js/, assets/# Deploy frontend static files to web server
# Deploy backend Node.js server separately
# See DEPLOYMENT_STANDALONE.md for full guide✅ All Features Available:
- Ideation (Generate content ideas)
- Curation (Select & rate ideas)
- Expansion (Platform-specific content)
- Image Generation (via backend proxy)
- AI Brain
- Content Library (with CSV/TXT export)
- Settings (OpenRouter, Gemini API keys)
Tidak perlu konfigurasi khusus. Frontend akan:
- Auto-detect jika running di WordPress (via
window.wpApiSettings) - Fallback ke OpenRouter jika API key ada
- Fallback ke Gemini jika tidak ada OpenRouter key
Create .env file:
GEMINI_API_KEY=your_gemini_api_key_here
GEMINI_API_KEY_IMAGE=your_gemini_api_key_here
BACKEND_PORT=5000
FRONTEND_URL=https://your-domain.com
NODE_ENV=production- Serve static files (frontend)
- Proxy backend API requests
- See
DEPLOYMENT_STANDALONE.mdfor complete guide
- Similar to OpenLiteSpeed
- Use
.htaccessfor routing - Configure reverse proxy for backend
- Serve static files
- Configure reverse proxy for backend API
- Frontend only (no backend)
- Image generation akan menggunakan direct API call (butuh API key di frontend, less secure)
DEPLOYMENT_STANDALONE.md- Complete standalone deployment guide for OpenLiteSpeedDEPLOYMENT_GUIDE.md- WordPress plugin deployment guideREADME_IMAGE_GENERATION.md- Image generation setup guideQUICK_START.md- Quick start guide
- No WordPress Required - Run anywhere
- Easy to Deploy - Just static files + Node.js backend
- Full Control - Customize server configuration
- Performance - Optimized static file serving
- Scalability - Can use CDN for static assets
- API keys stored securely in backend
.env - CORS configured for production domains
- Backend proxy prevents API key exposure
- HTTPS recommended for production
Last Updated: 2025-01-15
Version: 1.0.0