Brak opisu

Colin Powell 89a2fe82a6 [ci] Fix the name of our source file 2 tygodni temu
build e77a4d4237 Initial commit 2 tygodni temu
.drone.yml 89a2fe82a6 [ci] Fix the name of our source file 2 tygodni temu
.gitignore e77a4d4237 Initial commit 2 tygodni temu
README.md e1ddfc4357 Fix build command 2 tygodni temu
camcap.go e77a4d4237 Initial commit 2 tygodni temu
camcap.json.example e77a4d4237 Initial commit 2 tygodni temu

README.md

CamCap

A simple app to iterate through a list of ustreamer camera links and stash away a capture at a specific time interval. Take a look at camcap.json.example for the configuration file. It will be found in one of three locations, in this order:

  • /usr/local/etc/camcap.json
  • /etc/camcap.json
  • ./camcap.json (directory the tool is run from)

Additionally, all captured images will be put in a directory the same as the camera title and in nested directories by year, month and date, with the final file timestamped and appended with the camera title as well.

Build

Ensure you have Go version 1.21 or greater installed. Personally I use https://github.com/asdf-vm/asdf But by now I bet there's dozens of hipper tools.

In this directory, run:

go build -o build/camcap camcap.go