CloudyPanel is the web-based administration dashboard for CloudyAI, built with Vue 3 and Vite. It provides real-time monitoring, configuration management, and analytics.
- Real-Time Monitoring: Live message feed with WebSocket
- Guild Management: Configure server settings
- Analytics Dashboard: View moderation statistics
- Sanction History: Browse past sanctions and logs
- User Management: View user-specific moderation history
- Modern UI: Responsive design with TailwindCSS
cd CloudyPanel
npm installCreate .env file:
VITE_API_URL=http://localhost:3000# Development
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview- Development: http://localhost:8080
- Production: Serve
dist/folder with any static file server
- Total guilds configured
- Messages moderated today
- Active sanctions
- Recent activity feed
- View/edit guild settings
- Enable/disable AI moderation
- Configure custom rules
- Set thresholds
- Filter by guild, user, action
- View violation details
- Export logs
- Moderation trends
- Most common violations
- User statistics
- Time-based charts
- Framework: Vue 3 (Composition API)
- Build Tool: Vite
- Styling: TailwindCSS
- State Management: Pinia
- HTTP Client: Axios
- WebSocket: Socket.io-client
- Charts: Chart.js
CloudyPanel/
├── src/
│ ├── components/ # Vue components
│ ├── views/ # Page views
│ ├── router/ # Vue Router
│ ├── stores/ # Pinia stores
│ ├── services/ # API services
│ ├── assets/ # Static assets
│ └── main.js # Entry point
├── public/ # Public assets
└── .env
CloudyPanel uses JWT authentication:
- Login with Discord OAuth
- Receive JWT token
- Token stored in localStorage
- Included in all API requests
| Variable | Description | Required |
|---|---|---|
VITE_API_URL |
CloudyAPI base URL | Yes |
- Verify
VITE_API_URLis correct - Check CloudyAPI is running
- Ensure CORS is configured
- Check CloudyAPI WebSocket endpoint
- Verify firewall settings
- Check browser console for errors
- Run
npm installto update dependencies - Clear
node_modulesand reinstall - Check Node.js version (18+)