瀏覽代碼

Add README.md

Colin Powell 2 周之前
父節點
當前提交
3352521e1a
共有 1 個文件被更改,包括 20 次插入0 次删除
  1. 20 0
      README.md

+ 20 - 0
README.md

@@ -0,0 +1,20 @@
+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 camcap.go build/camcap```
+