Skip to content
HackerspaceKRKPublic

About

A microservice for fetching camera snapshots, and controlling IoT devices in Hackerspace Kraków

Resources

Stars

1 star

Watchers

5 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

temp-at

Web app used by Hackerspace Kraków

Features

  • Displays snapshots

Getting Started

Prerequisites

  • Go 1.21+
  • Node.js & npm (for building the frontend)

Configuration

Copy at2.example.yaml to at2.yaml and adjust the settings:

cp at2.example.yaml at2.yaml

Running Locally (Dev Mode)

  1. Start the backend with the frontend in dev mode:
go run . -dev-frontend
  1. The browser will open or navigate to http://localhost:8080. Frontend changes will hot-reload.

Building for Production

  1. Build the application (this includes building the frontend and embedding it):
go generate ./...
go build -o temp-at
  1. Run the binary:
./temp-at

Docker

Build the container:

docker build -t temp-at .

Run the container:

docker run -v $(pwd)/at2.yaml:/at2.yaml -v $(pwd)/data:/data -p 8080:8080 temp-at

About

A microservice for fetching camera snapshots, and controlling IoT devices in Hackerspace Kraków

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages