noctilucago

command module
v0.0.0-...-11b9e55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

README ¶

NoctiLuca Server

Reolink Approval GitHub Discord


A Reolink Camera Management server written in Go built off of the reolinkapigo. This is the backend to the NoctiLuca frontend.

Sponsorship

Oleaintueri is sponsoring the development and maintenance of these projects within their organisation.


This is still untested and heavily in development. 🚧

Join us on Discord

https://discord.gg/8z3fdAmZJP

Get started

Within Docker

docker build . -t noctiluca
// detatch with -d option
docker run -p 8000:8000 noctiluca serve

From Binary

tba

From source

git clone git@github.com:ReolinkCameraAPI/noctiluca-go-server.git
cd noctiluca-go-server
go run . serve

// Or build and run binary
go build -o bin/noctiluca
./noctiluca serve

Configuration

See the example in examples folder or go here

When running the server without any configurations passed, the defaults will kick in for development testing. It is advised to read-up on the configurations to get it working for your use-case.

API Documentation

This system uses swagger to generate the documentation needed from the source code.

To generate new swagger documentation run

swagger generate spec -o swagger.yaml

Serve the html docs

swagger serve swagger.yaml

For a complete matrix of the API, see below table.

resource GET POST PUT DELETE
camera X X X X
model X X - -
user X X X X
network > Proxy X X X -

Supported Cameras

Any Reolink camera that has a web UI should work. The other's requiring special Reolink clients do not work and is not supported here.

  • RLC-411WS
  • RLC-423
  • RLC-420-5MP
  • RLC-410-5MP
  • RLC-520

Documentation ¶

The Go Gopher

There is no documentation for this package.

Directories ¶

Path Synopsis
internal
pkg/controllers
Package controllers Contains all the api controllers Schemes: http, https Host: 0.0.0.0, localhost BasePath: /v1/api Version 0.0.1 License: GPLv3 https://opensource.org/licenses/GPL-3.0 Contact: Alano Terblanche<alano@oleaintueri.com> https://oleaintueri.com Consumes: - application/json Produces: - application/json Schemes: http, https Deprecated: false Responses: default: genericResponse 500: genericResponse swagger:meta
Package controllers Contains all the api controllers Schemes: http, https Host: 0.0.0.0, localhost BasePath: /v1/api Version 0.0.1 License: GPLv3 https://opensource.org/licenses/GPL-3.0 Contact: Alano Terblanche<alano@oleaintueri.com> https://oleaintueri.com Consumes: - application/json Produces: - application/json Schemes: http, https Deprecated: false Responses: default: genericResponse 500: genericResponse swagger:meta

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL