Spying on my dog without a SD Card

Jun 11, 2024    #golang  

Introduction

Recently, I bought a camera to record Alex (my dog) when he is alone at home. However, after some initial research, I found that this camera only allows recording with an SD card. Additionally, when the SD card is being used for recording, I can’t use the RTSP (Real-Time Streaming Protocol).

Since I don’t want to buy multiple SD cards for the several cameras I plan to have in the future, the best solution would be to have a program that records and saves the footage to a specific location, such as an HDD, without needing an SD card.

How

With this in mind I built a small architecture first so It would be easier using Go.

I decided to use the following:

After enumerating all parts I built the following architecture:

The main goal of this project was:

The Tool

After implementing all the features needed to record my little buddy, gocam was born.



Next: How I Perform Backups