🐒 A Web app that uses motion detection to take a snapshot when something moves, then send the images to your telegram bot.
-
you can read more about a similar project I did with Raspberry Pi
-
To run:
npm install
, thengulp
(orgulp watch
), thennpm start
. Everything is built to/dist
. If you're in dev, hithttp://localhost:3000
to run the web app. -
In dev, you'll want to create a
.env
file in the root with the following contents (edit as appropriate):
process.env.ENVIRONMENT = "dev";
process.env.PORT = 8080;
process.env.SESSION_SECRET = "your secret string";
⚽️ This web app does require https
to run in production. It will run fine under http
on localhost, though.