diff --git a/content/projects/streamwatcher.md b/content/projects/streamwatcher.md new file mode 100644 index 0000000..e5d9fed --- /dev/null +++ b/content/projects/streamwatcher.md @@ -0,0 +1,39 @@ +--- +title: "StreamWatcher App" +date: 2021-01-11T20:45:36+01:00 +draft: false +image: "/img/streamwatcher/main.png" +--- + +A web app written in Go to monitor IP cameras for motion, storing moments when motion is detected. + +Primarily made to try out Go web development, repo can be found here: +https://gitea.broodjeaap.net/broodjeaap/StreamWatcher + +Should probably not be seriously used, there are better alternatives :) + +## App + +### Streams +IP cameras being monitored can be viewed on the main page: +![streams](/img/streamwatcher/streams.png) + +### Stream page +The stream view shows the current IP cam view and areas being monitored for motion: +![stream](/img/streamwatcher/stream.png) + +### Stream add area +Adding a monitored area is as simple as dragging a square onto the view: +![stream_add_area](/img/streamwatcher/stream_add_area.png) + +### Stream area view +A stream areas moment can be viewed with a web 'player': +![stream_add_area](/img/streamwatcher/stream_moment_player.png) + +## Method + +The day of the week can be caculated by: +`(day value + month value + year value + century value + leap year value) % 7` + +Every one of these value comes from a set of constants or is calculable from the date. +This app helps you practice memorizing and calculating these values. \ No newline at end of file diff --git a/static/img/streamwatcher/main.jpg b/static/img/streamwatcher/main.jpg new file mode 100644 index 0000000..48f3cfa Binary files /dev/null and b/static/img/streamwatcher/main.jpg differ diff --git a/static/img/streamwatcher/stream.jpg b/static/img/streamwatcher/stream.jpg new file mode 100644 index 0000000..7996b2a Binary files /dev/null and b/static/img/streamwatcher/stream.jpg differ diff --git a/static/img/streamwatcher/stream_add_area.jpg b/static/img/streamwatcher/stream_add_area.jpg new file mode 100644 index 0000000..f7a18f5 Binary files /dev/null and b/static/img/streamwatcher/stream_add_area.jpg differ diff --git a/static/img/streamwatcher/stream_moment_player.jpg b/static/img/streamwatcher/stream_moment_player.jpg new file mode 100644 index 0000000..55ee835 Binary files /dev/null and b/static/img/streamwatcher/stream_moment_player.jpg differ diff --git a/static/img/streamwatcher/streams.jpg b/static/img/streamwatcher/streams.jpg new file mode 100644 index 0000000..3c8de31 Binary files /dev/null and b/static/img/streamwatcher/streams.jpg differ