Skip to content

johanwestling/camera-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camera Server

Records the devices camera stream and sends it to a node server for storage off-device.

App uses:

Server uses:

Table of contents

Localhost

Setting up this project in your machine is easiest done with docker compose, which requires Docker Engine (with compose) or Docker Desktop to be installed.

Tip

Use the included devcontainer by opening this repository in Visual Studio Code and click the "Reopen in container" when prompted.

Installation

docker compose up -d --force-recreate

Commands

Start app service

docker compose start

Stop app service

docker compose stop

Start app server in dev mode

docker compose exec app npm start

Start app server in prod mode

docker compose exec app npm run server

Selfhost

Deploy the files from app directory to any server that have node of a recent version.

Then have the server run npm run server or any other way to run the command found in app/package.json under scripts.server property.

Potentially there might be a need to change permissions on some directories depending on your server configuration.

sudo chmod -R 775 ./streams

About

Records the devices camera stream and sends it to a node server for storage off-device.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors