HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
scottlamb
moonfire-nvr
Rust2016–2025
scottlamb / moonfire-nvr

moonfire-nvr

Moonfire NVR, a security camera network video recorder

2Distinct people
32Mentions
0Explicit recommenders
1.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Moonfire NVR, a security camera network video recorder

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:49:33 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year32 dated mentions

Observed mentions: 2016-12-27 05:52:55 UTC to 2025-10-24 16:37:24 UTC.

02462016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC101
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC303
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC505
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC606
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC606
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC505
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC505
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

5 sources
Typically cameras just output the H.264/H.265 stream(s) via rtsp, and optionally a video analytics metadata stream. The part that records video from one or more cameras can be separate and is called a network video recorder (NVR). This split allows you to store several cameras' stuff in one place that is better physically protected and in a better form factor for having a hard drive, access a bunch of cameras' data easily under one UI even if they're made by different manufacturers, etc. I'm working on an open-source NVR: https://github.com/scottlamb/moonfire-nvr that is secure, will run on a Raspberry Pi 4, and has a good recording schema. I wouldn't describe the UI as nice yet, but I'd welcome help in making it so! There are some other open source NVRs (I see someone mentioned Shinobi). Probably a couple reasonably-priced commercial sof
Read the rest
tware options (people like Blue Iris, but it's Windows-only). Some commercial NAS devices have NVR support (eg Synology). Dedicated NVRs from manufacturers like Dahua/Hikvision (but my experience is they're awful). YMMV.
In Piipcam – 1080P IP Camera on a Raspberry Pi Zero W
Yeah, that sucks. Did the camera send SEI Picture Timing messages? RTCP Sender Reports with NTP timestamps? Either could potentially help matters if they're trustworthy. I haven't encountered that exact problem (large fixed offset between the streams), but I agree in general these cameras' time support is poor and synchronizing streams (either between main/sub of a single camera or across cameras) is a pain point. Here's what my software is doing today: https://github.com/scottlamb/moonfire-nvr/blob/master/design... Any of several changes to the camera would improve matters a lot: * using temporal/spatial/quality SVC (Scalable Video Coding) so you can get everything you need from a single video stream * exposing timestamps relative to the camera's uptime (CLOCK_MONOTONIC) somehow (not sure where you'd cram this into a RTSP session) along
Read the rest
with some random boot id * allow fetching both the main and sub video streams in a single RTSP session * reliably slewing the clock like a "real" NTP client rather than stepping with SNTP but I'm not exactly in a position to make suggestions that the camera manufacturers jump to implement...
In Tensorflow on edge, or – Building a “smart” security camera with a Raspberry Pi
+1. I recently made a variation of this argument on my FOSS app. [1] If it were commercial software with support I'd feel even more strongly. Philosophically, people should be able to do what they want on their machines. But expecting support (eg figuring out how their third-party software has corrupted my database) is another matter, so I can see why people would install a speed-bump or two... [1] https://github.com/scottlamb/moonfire-nvr/issues/44#issuecom...
In SQLite as an Application File Format (2014)
> there are plenty of small PC cases that can hold 4 3.5" drives and a motherboard. Can you recommend one? In a quick newegg search [1], I see the Fractal Design Node 304 for $90 + whatever a PSU costs. Anything cheaper? I also see a 3-bay COOLER MASTER Elite 110 for $50. I've been writing NVR software [2] and am trying to put together hardware recommendations for a small, inexpensive machine. * The ultra low budget option is a Raspberry Pi + a 2-bay USB SATA dock. It works surprisingly well most of the time, but cheap USB-attached storage is a little sketchy. I've had corruption a couple times and suspect the dock. * I'd like something a step or two up that has the drives in the main case. The Helios64 looks attractive but I'd like to see what comparable x86_64-based options there are. The MicroServer you mentioned looks interesting also
Read the rest
- not as pretty as the Helios64, not hot-swappable, a little pricier, but a lot more powerful. edit: this page [3] lists some nice cases also. More bays than I'm looking for but nice anyway. [1] https://www.newegg.com/p/pl?N=100007583%20600030561%20600030... [2] https://github.com/scottlamb/moonfire-nvr [3] https://butterwhat.com/2019/06/16/brians-top-three-diy-nas-c...
In AMD Launches Ultra-Low-Power Ryzen Embedded APUs
Fortunately you normally only need to access the NVR from the Internet, not the cameras. You can put the NVR behind a VPN as well, but one trustworthy enough to skip the VPN is much more convenient. Plug: I'm developing a secure, reliable Free Software NVR, in Rust. Functionality is very limited now: embarrassingly, no motion detection yet, no live view, and a very "written by a backend engineer" UI. But it's slowly improving. I'd welcome help! https://github.com/scottlamb/moonfire-nvr
In 0day vulnerability in firmware for HiSilicon-based DVRs, NVRs and IP cameras

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.