A web UI for camera management with dashboard, video/audio settings, network, system, login/logout, and camera list management (add). This project is currently a static frontend with a mock mode for demo purposes.
- Dashboard: camera status, health, events, thumbnails.
- Video & Audio: codec, bitrate, fps, profile, audio options.
- Network: DHCP/Static IP, DNS, MTU, HTTP port.
- System: device info, time/NTP, reboot/export/reset.
- Login/Logout (mock) and add camera (localStorage).
index.htmlmain UIcss/style.cssstylingjs/app.jslogic + mock datapages/page contents
Open index.html directly or use a simple web server:
python -m http.server 8080Then visit http://localhost:8080.
In js/app.js:
USE_MOCK = true: use mock data.USE_MOCK = false: call real API endpoints inENDPOINTS.
Example endpoints to map:
- Login/Logout:
/cgi-bin/login.cgi,/cgi-bin/logout.cgi - Status:
/cgi-bin/status.cgi - Video/Audio/Network/Time:
/cgi-bin/*.cgi
- Push the code to GitHub/GitLab.
- Vercel → New Project → Import repo.
- Framework: Other
- Build Command: empty
- Output Directory: empty or
.
After deployment, open the Vercel URL to view the UI.
Note: Vercel only hosts the static frontend. Camera CGI/REST will not run on Vercel. Use a backend/proxy or call the camera IP directly (CORS permitting) if you need real control.
- Full CRUD for cameras (edit/delete).
- Real auth (token/cookie).
- API proxy (Node/Go) to avoid CORS.



