Self-host CheapSecurity
v1.2.0Lightweight self-hosted CCTV for USB webcams on Linux SBCs
- Stars
- 221
- Ports
- 5000 (Web dashboard and MJPEG stream), 8554 (RTSP stream (optional, disabled by default))
What is CheapSecurity?
CheapSecurity is a privacy-focused, self-hosted CCTV application designed to run on low-power Linux single-board computers (SBCs) such as Raspberry Pi or Odroid with standard USB webcams. It provides a web dashboard with live MJPEG streaming, motion detection using frame differencing, and automatic recording that includes footage from before motion was detected. Recordings can be managed through an interactive calendar interface with bulk actions for download, deletion, and Telegram upload. The system integrates with Telegram for bot commands (snapshot, video recording, encryption toggles) and supports email alerts with snapshots. Optional cloud uploads to Google Drive and OneDrive are available, with per-channel AES-256 ZIP encryption for Telegram, Google Drive, and OneDrive. Night mode offers software low-light enhancement (CLAHE) or hardware switching to a second IR camera. An optional RTSP stream can be published via MediaMTX and FFmpeg for integration with NVRs, Home Assistant, or VLC. Storage cleanup policies include age, size, and emergency low-disk thresholds. The app runs as a Python Flask/Gunicorn service managed by systemd, with configuration via a JSON file and secrets via environment variables. It is licensed under GNU AGPLv3.
Should you self-host CheapSecurity?
CheapSecurity scores 45/100 on selfhost.directory (how scoring works) and ranks #20 of 24 in Video Surveillance. It has 221 GitHub stars.
It shipped 3 stable releases in the past year. The latest, v1.2.0, came out on 20 September 2026. New versions land roughly every 4 weeks.
Setup is moderate: expect some configuration beyond a single command. It is AGPL-3.0-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is Frigate (84/100, 37 023 stars). It scores higher overall, so compare the two before you pick. See CheapSecurity vs Frigate side by side.
Features
- AES-256 ZIP encryption
- Automatic recording with pre-buffer
- Cloud storage upload (Google Drive, OneDrive)
- Email alerts with snapshots
- HTTP Basic Auth
- Live MJPEG streaming
- Motion Detection
- Night mode (software and dual-camera)
- Recordings calendar and bulk actions
- REST API with Swagger UI
- Secrets via environment variables
- Storage cleanup policies
- Systemd Service
- Telegram Bot Integration
CheapSecurity README
More in Video Surveillance
clearcamSelf-hosted NVR adding AI object detection, tracking, and search to any RTSP camera using local GPU inference with tinygrad.
docker-wyze-bridgeSelf-hosted, open-source Docker bridge that streams Wyze cameras over RTSP, WebRTC, RTMP and LL-HLS, with a web dashboard, recording, snapshots and camera control.
FrigateFrigate NVR is a self-hosted, open-source NVR with real-time local AI object detection for IP cameras, featuring Home Assistant integration and AI accelerator support.
frigate-event-bufferFrigate Event Buffer is a self-hosted, open-source companion for Frigate NVR that creates cinematic highlight reels and sends tiered notifications to Home Assistant.
frigate_plate_recognizerSelf-hosted Docker service that identifies license plates from Frigate events using Plate Recognizer or CodeProject.AI and publishes results via MQTT.
go2rtcSelf-hosted, open-source camera streaming server: ingests dozens of input formats (RTSP, ONVIF, USB cams, vendor clouds) and outputs WebRTC, HLS, MP4 or RTSP.
Kerberos AgentSelf-hosted, open-source video surveillance agent for IP cameras with motion detection, recording, and cloud storage. Runs on Raspberry Pi, Docker, Kubernetes.
lightNVRSelf-hosted, open-source NVR in C for low-memory devices. WebRTC/HLS streaming, visual detection zones, themes, external object detection.
motionEyeSelf-hosted, open-source browser interface for the motion surveillance backend: runs USB, Pi and IP cameras with motion detection, recordings, timelapse and email alerts.
motioneyeosSelf-hosted Linux distro that converts a single-board computer such as a Raspberry Pi into a video surveillance system with motion detection and a browser UI.
OpenNVRSelf-hosted NVR with open AI adapter contract — run any model on your hardware, air-gapped by default, with full audit trails and model fingerprinting.
Plate-MinderSelf-hosted license plate recognition for RTSP/MJPEG streams using OpenALPR, with SQLite, MQTT, Home Assistant auto-discovery, and web UI.
0 comments