HN
Today

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

CheapSecurity offers a lightweight, self-hosted CCTV solution for Linux single-board computers and USB webcams, emphasizing privacy and cost-effectiveness. This project directly addresses Hacker News's appreciation for open-source, DIY, and privacy-centric tools that provide alternatives to proprietary cloud services. By empowering users with full control over their surveillance data and hardware, it taps into the community's desire for technical autonomy and efficient resource utilization.

10
Score
0
Comments
#4
Highest Rank
5h
on Front Page
First Seen
Jul 26, 4:00 PM
Last Seen
Jul 26, 8:00 PM
Rank Over Time
44454

The Lowdown

CheapSecurity is an open-source project delivering a lightweight, self-hosted CCTV solution specifically designed for Linux-based single-board computers (SBCs) and standard USB webcams. Its core philosophy revolves around providing an affordable, privacy-focused alternative for home monitoring, ensuring that all video data remains local and under the user's complete control, thereby eliminating the need for costly third-party cloud subscriptions. The system is engineered for minimal architecture, allowing it to run efficiently on low-power devices.

Key features and functionalities include:

  • Privacy-First Design: All footage is stored locally, granting users full data sovereignty and removing reliance on external cloud services.
  • Cost-Effective Setup: Leverages existing hardware like Raspberry Pi or Orange Pi and standard USB webcams to create a full surveillance system without recurring fees.
  • Motion Detection & Recording: Implements frame differencing for motion detection, automatic recording with a pre-motion buffer, and includes storage cleanup policies based on age or size.
  • Alerting & Integration: Provides email alerts with snapshots upon motion detection and offers Telegram integration for automatic video uploads and interactive bot commands like /snapshot and /video.
  • Night Mode Capability: Features software-based low-light enhancement using CLAHE, brightness, and contrast boosts, aiming to improve visibility in dark environments.
  • User-Friendly Web Dashboard: Offers a live MJPEG stream, displays system status, allows toggling of settings, and provides a recordings list with bulk actions such as sending to Telegram, downloading, or deleting.
  • Simple Deployment & Configuration: Designed for quick setup with Python virtual environments, configurable via a config.json file, and includes systemd autostart readiness.
  • Robust Production Deployment: Recommends Gunicorn for production use, with built-in basic authentication and guidelines for secure internet exposure.

In summary, CheapSecurity offers a compelling, open-source solution for personal surveillance, aligning with principles of data privacy, affordability, and user empowerment. Its comprehensive features and straightforward implementation make it an appealing option for individuals seeking to deploy a secure and customizable CCTV system using readily available hardware.