this is actually pretty neat, probably can replace lvgl or wayland-based GUIs, it's not mission critical, as long as it works I'm fine with vibe coding.
6,715 karma · joined February 10, 2021
V4L2 (MJPG) -> cap.read() -> CLAHE(night) -> imencode -> _current_frame (web MJPEG)
-> resize .25 -> gray -> blur -> absdiff -> contours -> motion?
-> motion? VideoWriter.write() : pre_buffer.append(jpeg)
-> on stop: ffmpeg remux fps fix -> Telegram/email
a mjpeg system basically, all in python but does need opencvAlmost all HN software related discussion will have some Rust folks saying 'yeah I have a rust project for that', or 'just write this in rust and it will be better', so annoying after seeing those each time, it's like the house-window sales guy keeps knocking my door every day and never goes away.
which git-shell
sudo echo "/usr/bin/git-shell" >> /etc/shells
sudo useradd -m -s /usr/bin/git-shell git
cat my_pub_key.pub >> /home/git/.ssh/authorized_keys
git clone ssh://git@server/home/git/myrepo.git