Skip to content

jjjpanda/Chimera

Repository files navigation

Chimera

logo

Chimera is a microservices based security camera system for RTSP/IP cameras (which kinda sorta only runs on linux)

List of microservices:

  1. command
  2. livestream
  3. schedule
  4. storage
  5. gateway
  6. memory

Massive Dependencies:

  1. motion - should be running on same machine as storage server for optimal performance. See storage as for why.
  2. ffmpeg - should be installed on same machine as livestream and storage.
  3. heartbeat - used to confirm server is still up.
  4. object - used to detect objects (still not implemented within start script).
  5. postgres - the database

Quick Start

1. Install motion, ffmpeg, and postgres

sudo apt-get install motion ffmpeg postgresql

Or however you need to download it on your machine

Then, set up a conf for motion with all of your cameras. Then, set up postgres with a database, port, user, and password of your choosing. Motion will also need postgres details in it's conf as well. See storage for details.

2. Create Environment Variables File

Copy the example env into an .env dotfile:

cp env.example .env

Fill in the .env with all the info listed ( for optional fields, leave blank after the "=" ).

3. Run Setup

npm run setup

4. Start Chimera

If running all or more than one service(s)

npm start

If splitting services

npm run start:<service>

About

A motion security camera web app for IP cameras

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages