PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
(claude-5-sonnet)
Token size
1,096
Example input
[Here ]: CinemaControl (Self-hosted video surveillance and security analytics platform) πŸ“ Description: Unified multi-camera management system with motion detection, facial recognition, and intelligent video storage optimization [Here. ]: Go, React 18, PostgreSQL, FFmpeg, OpenCV, RTSP/ONVIF, Redis, Kubernetes [Here. ]: Multi-camera RTSP/ONVIF stream ingestion and playback βœ… Real-time motion detection with configurable sensitivity βœ… Facial recognition with custom model training support βœ… Intelligent video compression and storage tiering βœ… Event-driven alerting (email, webhook, Slack integration) βœ… 30-day rolling storage with automatic cleanup [Here ]: Kubernetes clusters, on-premises data centers, edge server nodes [Open Source / Portfolio / SaaS / Internal / Client]: Open Source (Enterprise infrastructure, self-hosted privacy-first alternative)
Example output
## βš™οΈ EXECUTION ### πŸ“˜ SECTION 1 β€” Project Overview **Generated Output:** β€’ CinemaControl provides enterprise-grade video surveillance infrastructure without vendor lock-in or cloud dependency concerns β€’ Designed for organizations prioritizing data privacy, on-premises control, and cost-effective multi-site camera management β€’ Core value: Consolidate unlimited camera streams, detect security events in real-time, store months of footage efficiently without expensive cloud subscriptions β€’ Major capabilities include intelligent video ingestion, AI-powered threat detection, automated event response, scalable storage management, and RBAC team collaboration --- ### ✨ SECTION 2 β€” Features **Generated Output:** β€’ **Multi-Camera Management** β€” RTSP/ONVIF protocol support, auto-discovery of networked cameras, live HLS streaming to browser β€’ **Motion Detection Engine** β€” Real-time frame differencing with ML-powered false positive filtering, configurable sensitivity zones β€’ **Facial Recognition** β€” Built-in face detection, custom model fine-tuning on organization-specific data, privacy-mode masking for anonymization β€’ **Intelligent Storage** β€” Video compression optimization, tiered storage (SSD hot tier β†’ HDD cold tier), automatic old footage deletion based on retention policy β€’ **Event Alerting** β€” Webhook notifications for security events, Slack/Email integration, SMS alerts for critical incidents β€’ **Analytics Dashboard** β€” Event timeline, camera uptime metrics, storage utilization forecasts, activity heatmaps by location β€’ **Kubernetes Native** β€” Helm charts for production deployment, horizontal pod scaling, persistent volume management, resource optimization --- ### πŸ—οΈ SECTION 3 β€” Architecture Overview **Generated Output:** β€’ **API Server** β€” Go REST API handling camera registration, user authentication, event queries, analytics aggregation β€’ **Stream Ingestion Service** β€” Consumes RTSP/ONVIF streams, transcodes to HLS for web playback, chunks video into segments β€’ **Processing Worker Pool** β€” Distributed task queue consuming motion detection, face recognition, video transcoding jobs asynchronously β€’ **Storage Manager** β€” Tiered storage controller managing codec selection, compression ratios, archival scheduling, cleanup policies β€’ **Event Bus** β€” Redis Pub/Sub distributing motion/face events to alerting services in real-time β€’ **Database Layer** β€” PostgreSQL schema for cameras, events, users, analytics; optimized queries for time-series event data β€’ **Frontend UI** β€” React dashboard with real-time WebSocket connections, live video players, event drill-down --- ### πŸ“‚ SECTION 4 β€” Project Structure **Generated Output:** β€’ `backend/cmd/server/` β€” Main API server entry point, initializes database, HTTP handlers, WebSocket connections β€’ `backend/cmd/worker/` β€” Background worker daemon consuming event processing tasks from job queue β€’ `backend/internal/api/` β€” RESTful endpoints (cameras.go registers streams, events.go queries security incidents, storage.go manages retention) β€’ `backend/internal/services/` β€” Business logic (rtsp_client connects to camera feeds, motion_detector analyzes frames, face_recognizer identifies people) β€’ `frontend/src/pages/` β€” Dashboard shows live camera feeds, EventHistory displays security alerts with timestamps, Analytics renders trends β€’ `worker/` β€” Async job processors for video transcoding, event classification, storage optimization β€’ `helm/` β€” Kubernetes charts defining pods, services, persistent volumes, horizontal scaling policies β€’ `scripts/` β€” Database initialization, ONVIF camera discovery utility, cloud deployment helpers --- ### βš™οΈ SECTION 5 β€” Installation **Generated Output:** β€’ **Prerequisites**: Docker 20.10+, PostgreSQL 13+, Redis 6.0+, Kubernetes 1.24+ (production), 200GB+ storage minimum β€’ **Local Docker Compose Setup**: ``` git clone https://github.com/cinemacontrol/cinemacontrol.git cd cinemacontrol docker-compose up -d ``` β€’ **Environment Variables**: `POSTGRES_URL`, `RTSP_BUFFER_SIZE`, `MOTION_SENSITIVITY`, `STORAGE_POLICY`, `JWT_SECRET`, `SLACK_WEBHOOK_URL` β€’ **Database Initialization**: `docker-compose exec backend ./scripts/setup_postgres.sql` β€’ **Camera Discovery**: `./scripts/setup_onvif_discovery.sh` auto-detects cameras on network β€’ **Kubernetes Production**: `helm install cinemacontrol ./helm/` applies cluster setup with persistent storage --- ### πŸš€ SECTION 6 β€” Usage **Generated Output:** β€’ **Add Camera**: Dashboard β†’ Cameras β†’ + Add β†’ Enter RTSP URL or ONVIF device IP address β†’ Authenticate with credentials β€’ **View Live Feed**: Click camera tile β†’ Real-time HLS stream opens in browser with 2-second latency β€’ **Set Motion Zones**: Camera Settings β†’ Motion Detection β†’ Draw polygons on feed, adjust sensitivity threshold (0-100) β€’ **Configure Alerts**: Settings β†’ Alerts β†’ Enable email/Slack, select trigger events (motion, face detected, camera offline) β€’ **Storage Policy**: Settings β†’ Storage β†’ Set retention days (1-90), compression codec (H.264/H.265), tiering rules β€’ **Invite Team Members**: Admin β†’ Users β†’ Invite email address, assign role (viewer/operator/admin), set per-camera permissions β€’ **Kubernetes Scaling**: `kubectl scale deployment cinemacontrol-api --replicas=5` increases API servers for load balancing --- ### πŸ”Œ SECTION 7 β€” APIs & Integrations **Generated Output:** β€’ **RTSP Protocol** β€” RFC 2326 compliant stream ingestion from IP cameras, supports authentication and TCP/UDP modes β€’ **ONVIF Standard** β€” Auto-discovery and control of compliant cameras, profile S for streaming devices β€’ **REST API** β€” Endpoints: `POST /api/cameras` (register), `GET /api/events` (query), `POST /api/alerts/slack` (dispatch notifications) β€’ **WebSocket Connection** β€” Real-time event streaming for live dashboard updates, motion detection notifications β€’ **FFmpeg Integration** β€” Video transcoding, codec conversion, frame extraction for ML inference β€’ **OpenCV Library** β€” Motion detection algorithms, face detection preprocessing, image analysis utilities β€’ **Third-Party Integrations** β€” Slack/Email alerting, webhook dispatching for SOAR platforms, syslog event logging --- ### πŸ§ͺ SECTION 8 β€” Development Guide **Generated Output:** β€’ **Coding Standards** β€” Go idiomatic code with interfaces, error handling without panics, React functional components with hooks β€’ **Testing** β€” Go testing with testify assertions, integration tests with Docker containers, React Jest + React Testing Library, >80% coverage β€’ **Linting**: `golangci-lint run ./...` (Go), `eslint src/` (JavaScript), `go fmt` enforces formatting β€’ **Formatting**: `gofmt -w .` (Go auto-format), `prettier --write` (JavaScript) β€’ **Local Development**: `docker-compose -f docker-compose.dev.yml up` enables hot reload for frontend β€’ **Contribution Workflow** β€” Fork β†’ feature branch β†’ tests pass locally β†’ PR with description and screenshots β†’ code review β†’ merge --- ### ❓ SECTION 9 β€” FAQ & Troubleshooting **Generated Output:** β€’ **Q: Camera stream drops after 10 minutes?** β€” Check RTSP URL validity, enable TCP mode instead of UDP, verify network MTU size β€’ **Q: Motion detection too noisy?** β€” Reduce sensitivity (0-30 range recommended), exclude static areas with zone masking, run motion_detector service with more workers β€’ **Q: Storage fills up despite retention policy?** β€” Verify cleanup_scheduler pod running (`kubectl logs -l app=cleaner`), check disk space, increase compression codec to H.265 β€’ **Q: Face recognition accuracy low?** β€” Requires 50+ training images per person, ensure face is front-facing, adjust confidence threshold in Settings β€’ **Q: WebSocket connection fails in production?** β€” Configure Kubernetes ingress for WebSocket upgrade headers, check firewall rules allow persistent connections --- ### πŸ›£οΈ SECTION 10 β€” Roadmap **Generated Output:** β€’ **Phase 1 (Q3 2026)** β€” PTZ camera control, vehicle detection with license plate OCR, crowd counting analytics β€’ **Phase 2 (Q4 2026)** β€” Multi-region federation (connect remote sites), object tracking across cameras, heat mapping β€’ **Phase 3 (2027)** β€” Behavior analysis AI models, anomaly detection for unusual patterns, mobile app for on-the-go monitoring β€’ **Technical Improvements** β€” GPU acceleration for face recognition, S3-compatible storage backend, distributed stream processing with Kafka --- ## πŸ“„ FINAL GITHUB README (Summary) ```markdown # πŸŽ₯ CinemaControl [ ![AGPL 3.0 License](https://img.shields.io/badge/license-AGPL%203.0-green.svg) ](...) [ ![Kubernetes Ready](https://img.shields.io/badge/deployment-Kubernetes-326CE5.svg) ](...) [ ![Go 1.21+](https://img.shields.io/badge/go-1.21+-00ADD8.svg) ](...) Self-hosted multi-camera surveillance platform with motion detection, facial recognition, and intelligent video storage. Privacy-first, no cloud dependency. [Features](#features) β€’ [Quick Start](#quick-start) β€’ [Deployment](#deployment) β€’ [API Docs](#api-docs) --- ## ✨ Features β€’ **Multi-Camera Management** β€” RTSP/ONVIF protocol support with auto-discovery β€’ **Motion Detection** β€” Real-time analysis with ML-powered false positive filtering β€’ **Facial Recognition** β€” Built-in face detection with custom model training β€’ **Intelligent Storage** β€” Compression optimization and tiered archival with automatic cleanup β€’ **Event Alerting** β€” Slack, email, webhook notifications for security incidents β€’ **Analytics Dashboard** β€” Uptime metrics, activity heatmaps, storage forecasts β€’ **Kubernetes Native** β€” Helm charts for production scaling and orchestration --- ## πŸš€ Quick Start \`\`\`bash git clone https://github.com/cinemacontrol/cinemacontrol.git cd cinemacontrol docker-compose up -d \`\`\` Access dashboard at `http://localhost:3000`. Add camera via RTSP URL. --- See full README for ONVIF setup, Kubernetes deployment, event alerting configuration, and storage policies. ``` --- ## βœ… TEST VALIDATION **Framework Tested Successfully On:** β€’ Security/surveillance infrastructure (completely different domain) βœ“ β€’ Go backend + React frontend (different stack from previous tests) βœ“ β€’ On-premises/self-hosted deployment model βœ“ β€’ DevOps/infrastructure engineer audience βœ“ β€’ Kubernetes and containerization focus βœ“ β€’ Real-time streaming and event processing βœ“ β€’ Privacy-first, data sovereignty positioning βœ“ **Output Characteristics:** β€’ Zero overlap with Test #1 (CLI), Test #2 (SaaS), Test #3 (ML library) βœ“ β€’ Different project purpose (security infrastructure vs tools/analytics/ML) βœ“ β€’ Different tech stack combinations (Go + React + Kubernetes vs others) βœ“ β€’ Unique deployment model (edge/on-prem vs cloud/package) βœ“ β€’ Infrastructure/DevOps terminology and architecture βœ“ β€’ All features, inputs, audience completely unique βœ“ β€’ Emoji headers with bullet-point structure maintained βœ“ β€’ No tables in content body βœ“
πŸŒ€ Claude

Professional Coding Readme Creator

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
CLAUDE-5-SONNET
Tested icon
Guide icon
4 examples icon
Free credits icon
A great project deserves a great README. Unfortunately, most repositories have incomplete, outdated, or confusing documentation that discourages contributors, users, and potential employers. ⚠️ ✨ What You Receive: πŸ“˜ Professional GitHub README πŸš€ Quick Start & Installation Guide πŸ—οΈ Project Architecture Overview βš™οΈ Configuration & Environment Setup πŸ“‚ Folder Structure Documentation πŸ”Œ API & Feature Documentation 🀝 Contribution & Development Guide πŸ“ˆ Roadmap & Future Improvements πŸš€ Create produ
...more
Added 16 hours ago
Report
Browse Marketplace