25 lines
827 B
Markdown
25 lines
827 B
Markdown
<!--- [](https://drone.broodjeaap.net/broodjeaap/StreamWatcher) -->
|
|
|
|
# StreamWatcher [](https://goreportcard.com/report/gitea.broodjeaap.net/broodjeaap/StreamWatcher)
|
|
|
|
Can watch and record several streams, optionally based on annotated areas.
|
|
|
|
## Setup
|
|
|
|
### Go
|
|
|
|
[Install go](https://golang.org/doc/install):
|
|
```bash
|
|
wget https://golang.org/dl/go1.14.4.linux-amd64.tar.gz
|
|
tar -C /usr/local -xzf go1.14.4.linux-amd64.tar.gz
|
|
export PATH=$PATH:/usr/local/go/bin
|
|
```
|
|
|
|
### Live Reload (Air)
|
|
|
|
Install air:
|
|
`curl -fLo /root/miniconda3/envs/go/bin/air https://git.io/linux_air`
|
|
`chmod +x /root/miniconda3/envs/go/bin/air`
|
|
|
|
Run with:
|
|
`air`
|