{"id":29019170,"url":"https://github.com/stipecmv/watchforge","last_synced_at":"2026-04-29T14:02:52.614Z","repository":{"id":301212496,"uuid":"1008518384","full_name":"StipecMV/watchforge","owner":"StipecMV","description":"WatchForge is a self-hosted, AI-powered video surveillance system built in Go. It detects people, animals, and insects in video feeds using YOLOv4-tiny and GoCV, with a native UI for mobile and desktop via Fyne.","archived":false,"fork":false,"pushed_at":"2025-06-25T17:38:03.000Z","size":1589,"stargazers_count":1,"open_issues_count":27,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T18:36:20.817Z","etag":null,"topics":["ai","camerasystem","fyne","go","movols","opencv"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StipecMV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T17:05:25.000Z","updated_at":"2025-06-25T18:13:34.000Z","dependencies_parsed_at":"2025-06-25T18:38:11.123Z","dependency_job_id":"e7467905-9da5-4a6f-83d1-696e9e46f083","html_url":"https://github.com/StipecMV/watchforge","commit_stats":null,"previous_names":["stipecmv/watchforge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StipecMV/watchforge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StipecMV%2Fwatchforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StipecMV%2Fwatchforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StipecMV%2Fwatchforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StipecMV%2Fwatchforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StipecMV","download_url":"https://codeload.github.com/StipecMV/watchforge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StipecMV%2Fwatchforge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973743,"owners_count":23238588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","camerasystem","fyne","go","movols","opencv"],"created_at":"2025-06-26T00:08:20.539Z","updated_at":"2026-04-29T14:02:52.608Z","avatar_url":"https://github.com/StipecMV.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"left\"\u003e\n  \u003cimg src=\"logo.jpeg\" alt=\"WatchForge Logo\" width=\"150\"/\u003e\n\u003c/p\u003e\n\n# WatchForge\n\nWatchForge is a self-hosted video processing for NVR (Network Video Recorder) system to enhance pixel precision motion detection.\n\n##  Project Structure\n\n```\nwatchforge/\n├── WatchForge.slnx              # Main .NET solution file\n├── testapps/                    # Test applications\n│   └── nvr-client/              # DVRIP file downloader for Xiongmai/Sofia NVR\n│       └── src/\n│           ├── WatchForge.NVR.Client.TestApp/\n│           └── WatchForge.NVR.Client.TestApp.Tests/\n├── client/                      # Frontend client application\n├── db/\n│   └── queries/                 # Database schema and queries\n└── server/                      # Dotnet-based server components\n    └── MotionSentinel/          # Linux Worker Service — OpenCV motion detection\n        ├── WatchForge.MotionSentinel.Server.Core/\n        ├── WatchForge.MotionSentinel.Server.Core.Tests/\n        ├── WatchForge.MotionSentinel.Server.Service/\n        └── WatchForge.MotionSentinel.Server.Service.Tests/\n```\n\n## ✨ Features\n\n### MotionSentinel (.NET · Linux)\n- 🎯 Farneback Dense Optical Flow — per-frame motion region detection using OpenCV\n- 📁 Local filesystem — watches NVR recordings folder, writes JSON detection results\n- ⚡ FileSystemWatcher + backfill — picks up files written while the service was down\n- 🔌 Headless Worker Service — runs as a systemd unit, no UI required\n- 🧪 test coverage via TUnit + Moq\n\nSee [server/MotionSentinel/README.md](server/MotionSentinel/README.md) for full docs.\n\n### NVR Client (.NET · Linux)\n- 📡 DVRIP protocol — native Xiongmai/Sofia TCP protocol (port 34567)\n- 🔐 Sofia MD5 login, file listing, best-effort H.264 file download\n- 🖥️ .NET 10, Linux (x64, arm64)\n- 🧪 test coverage via TUnit + Moq\nSee [testapps/nvr-client/README.md](testapps/nvr-client/README.md) for full docs.\n\n## 🛠️ Tech Stack\n\n### .NET Components\n- **Framework**: .NET 10\n- **NVR protocol**: DVRIP (raw TCP, Xiongmai/Sofia firmware)\n- **Motion detection**: OpenCV (Farneback optical flow) via OpenCvSharp4\n- **Platform**: Linux (x64);\n- **Testing**: TUnit + Moq with code coverage\n\n## 👨‍💻 Getting Started\n\n### Prerequisites\n\n#### For .NET Components\n- .NET 10 SDK\n- Any .NET 10 runtime platform (Linux x64)\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/StipecMV/watchforge\ncd watchforge\n```\n\n## �📝 License\n\nWatchForge is an open-source project. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstipecmv%2Fwatchforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstipecmv%2Fwatchforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstipecmv%2Fwatchforge/lists"}