Skip to content

Backup videos as they are being recorded.

Notifications You must be signed in to change notification settings

sshh12/body-cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

body-cam

Backup videos as they are being recorded.

demo

If the phone was critically damaged while recording, what was recorded up to that point will be automatically emailed to the user.

Hosting

Generic

  1. Install ffmpeg
  2. Create a SendGrid account to process emails (free while under limit, make sure to setup Sender Authentication).
  3. Set the environment variable SG_KEY to a valid SendGrid API key and FROM_EMAIL to the email to send recordings from.
  4. $ git clone https://github.com/sshh12/body-cam.git && cd body-cam
  5. $ yarn install
  6. $ node server.js

Heroku

  1. Fork https://github.com/sshh12/body-cam
  2. Create a project on Heroku and deploy from the fork
  3. Add the SG_KEY and FROM_EMAIL to Config Vars (see more above)
  4. Attach build-packs: heroku/nodejs and https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git