this post was submitted on 22 Mar 2024
65 points (100.0% liked)

Selfhosted

40006 readers
623 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

The weekly post. As usual, not my blog, just a good community share. Authors are on Mastodon at @[email protected].

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 7 months ago (4 children)

I’ve got something I’m hoping to see on here in a couple weeks.

I started work yesterday on a self hosted security camera system that uses v4l2 (so it works with webcams).

https://github.com/sciactive/soteria

Locally, I've got it loading the stream from the camera, encoding, and muxing, then pushing to a filesystem write stream, but I’ve discovered software based encoding in single threaded WASM is just too slow for what I’m trying to do. I’m going to rewrite it today to use FFMPEG externally for encoding.

It’s meant to be used with my WebDAV server

https://github.com/sciactive/nephele

which supports encryption and storage in a S3 compatible service. So you’ll get the benefits of a cloud security camera, but Google/Amazon/whatever won’t have access to your video.

[–] [email protected] 2 points 7 months ago (1 children)

This is really cool! Do you know of any existing tools doing similar stuff to this ?

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

There’s a few. You can search for “open source security camera” to find them.

The reason I’m building mine, instead of going with another solution is because I have a hard requirement that if all of my devices are offline, destroyed, or stolen, I want to still be able to see my videos (so cloud storage is required), and I want everything that goes into the cloud to be end to end encrypted.

That basically means everything necessary to view videos has to be stored in the cloud except the decryption password. So anything with a local database or unencrypted storage is out.

Some existing systems support some of those requirements, but afaik, there aren’t any that support all of the above (at least not easily). With Soteria and Nephele, if all of your cameras are offline and your WebDAV server is offline, you can just spin up a local WebDAV server with your S3 info, and you’ve got a working client to view all of your footage.

Having that can really help when something goes wrong. For example, I currently use Google Nest cams, and I was able to tell why my cameras went offline while I was away when the camera caught the transformer down the street blowing up right before the video cut out.

load more comments (2 replies)