Vigia-go-nats - Program for processing camera metadata

VIGIA

MIGRAR O HOUSEKEEPER PARA O PYTHON

Programa para processamento de metadados de câmeras.

JUMPSTART

  1. clone o repositório
  2. cole os arquivos de aquisição dos metadados
  3. cria o banco de dados e interface web (comandos make)
  4. crie as tabelas
  5. inicie o servidor de gravacao
  6. simule servidor de gerencia com o EVANS (está dentro do diretorio dos protofiles)

THINKING

  • Se der erro por disconexão?
  • Novo banco com histórico de notificações
  • NewUnit - cria um banco de dados de teste
  • NewIntegration - cria um db, alimenta ele e constroi um autenticador (cria chave, cria um autenticador com essa chave) Retorna um test { DB, LOG, AUTH, testing.T e função de teardown}
  • Token - gera um token autenticado para o usuario
  • store - usuarioStore, claims e token utilizando o test acima
  • como a verificação de auth fica na requisição da Store - não vou precisar testar o Authentication

TODOs

  • Comando make para popular banco de dados novo
  • Verificar os CASCADE do banco de dados
  • Implementar testes
  • Trocar nos logs ERROR por error
  • Health check
  • Interface no querier
  • gRPC em contexto e Health Server github-1 github-2
  • Atualizar armazenamento mover imagens para novo local
  • Verificar timezone na aplicação e quando abre o banco de dados
  • Colocar interface no querier
  • Frontend
  • Caso for utilizar servidor e gravacao na mesma máquina, não utilizar protocolo TCP e sim Unix Pipe.

TUTORIAIS

Comandos Makefile

  • make protobuf gera os arquivos protobuf de acordo com os arquivos proto em /api/proto/v1
  • make run executa as aplicações de gerencia e gravação
  • make test executa os testes
  • make create-postgres cria o container Docker de Postgres para desenvolvimento
  • make create-pgadmin cria o container Docker de pgAdmin para desenvolvimento
  • make postgres reinicia o container Postgres
  • make pgadmin reinicia o container pgAdmin

OUTROS

  • Fedora
  • Na instalação do protobuf - não instale com dnf install protoc - siga esta resposta
Similar Resources

Sim - Command-line tool to manage program symlinks in $XDG_BIN_HOME.

Sim Sim is a command-line tool that manages program symlinks in $XDG_BIN_HOME. Get started Run make install. Make sure your PATH contains $XDG_BIN_HOM

Jan 3, 2022

Putcallback: a program which handles callback from Put.io

putcallback putcallback is a program which handles callback from Put.io. It will

Nov 18, 2022

Ydb-go-yc-metadata - Helpers to connect to YDB inside yandex-cloud using metadata service

ydb-go-yc-metadata helpers to connect to YDB inside yandex-cloud using metadata

Nov 28, 2022

NATS HTTP Round Tripper - This is a Golang http.RoundTripper that uses NATS as a transport.

This is a Golang http.RoundTripper that uses NATS as a transport. Included is a http.RoundTripper for clients, a server that uses normal HTTP Handlers and any existing http handler mux and a Caddy Server transport.

Dec 6, 2022

Nats-subject-profiler - NATS Subject Profiler With Golang

NATS Subject Profiler Example Connect it to the demo NATS server. nats-subject-p

Feb 7, 2022

IP Camera Alarm Server to MQTT

IP Camera Alarm Server Universal Alarm Server for all your IP cameras in one place! Integrates well with Home Assistant, Node-Red, etc. Runs great on

Dec 8, 2022

Stream Camera based on TCP

Stream Camera based on TCP

streamera Term Project of Computer Networking streamera is a Stream Camera based on TCP, which contains client mode and server mode. Features Client M

Nov 11, 2022

Command line tool to copy images from a camera SD card to your hard drive

Command line tool to copy images from a camera SD card to your hard drive

Nov 26, 2021

Camera Control is a software "remote control" for conference cameras, e.g. Tenveo NV10U.

Camera Control is a software

Camera Control Camera Control is a software "remote control" for conference cameras, e.g. Tenveo NV10U. Smart access to stored positions and zoom sett

May 1, 2022

Capture the stream of Images for a Raspberry Pi Camera in GoLang

piCamera This package is a wrapper for the raspivid command on the Raspberry Pi. To make development easier on a PC, there is are different Start() me

Mar 5, 2022

Words - help with a word finder game, sketches a text-processing utility program

Shell-style text processing in Go I saw a word game where the puzzle gives you six letters. By means of a clever user interface, you construct words f

Jan 1, 2022

Golang wrapper for Exiftool : extract as much metadata as possible (EXIF, ...) from files (pictures, pdf, office documents, ...)

go-exiftool go-exiftool is a golang library that wraps ExifTool. ExifTool's purpose is to extract as much metadata as possible (EXIF, IPTC, XMP, GPS,

Dec 28, 2022

ID3, MP4 and OGG/FLAC metadata parsing in Go

MP3/MP4/OGG/FLAC metadata parsing library This package provides MP3 (ID3v1,2.{2,3,4}) and MP4 (ACC, M4A, ALAC), OGG and FLAC metadata detection, parsi

Jan 7, 2023

Compact, sortable and fast unique IDs with embedded metadata.

Compact, sortable and fast unique IDs with embedded metadata.

A spec for unique IDs in distributed systems based on the Snowflake design, i.e. a coordination-based ID variant. It aims to be friendly to both machi

Dec 22, 2022

DipDup plugin for selective metadata indexing

DipDup metadata indexer DipDup service for indexing contract and token metadata. Based on TzKT indexer. For start synchronization of DipDup state TzKT

Nov 25, 2022

Download Vimeo videos and retrieve metadata in Go.

vimego Download Vimeo videos and retrieve metadata. Largely based on yashrathi's vimeo_downloader. Installing go get github.com/raitonoberu/vimego Ple

Dec 30, 2022

A tiny Go library + client for downloading Youtube videos. The library is capable of fetching Youtube video metadata, in addition to downloading videos.

A tiny Go library + client (command line Youtube video downloader) for downloading Youtube videos. The library is capable of fetching Youtube video metadata, in addition to downloading videos. If ffmpeg is available, client can extract MP3 audio from downloaded video files.

Oct 14, 2022

A youtube library for retrieving metadata, and obtaining direct links to video-only/audio-only/mixed versions of videos on YouTube in Go.

A youtube library for retrieving metadata, and obtaining direct links to video-only/audio-only/mixed versions of videos on YouTube in Go. Install go g

Dec 10, 2022

A simple Hasura client for query and metadata APIs

Hasura Client A Hasura client for schema APIs https://hasura.io/docs/latest/graphql/core/api-reference/index.html Usage Create client client := hasura

Oct 31, 2021
Golang client for NATS, the cloud native messaging system.

NATS - Go Client A Go client for the NATS messaging system. Installation # Go client go get github.com/nats-io/nats.go/ # Server go get github.com/na

Jan 5, 2023
High-Performance server for NATS, the cloud native messaging system.
High-Performance server for NATS, the cloud native messaging system.

NATS is a simple, secure and performant communications system for digital systems, services and devices. NATS is part of the Cloud Native Computing Fo

Jan 2, 2023
NATS example to store and retrieve large file assets from JetStream.

njs-xfer njs-xfer is a sample application that demonstrates the ability to use NATS and JetStream to store and retrieve large file assets. This sample

Dec 26, 2022
Queue with NATS Jetstream to remove all the erlangs from cloud

Saf in Persian means Queue. One of the problems, that we face on projects with queues is deploying RabbitMQ on the cloud which brings us many challenges for CPU load, etc. I want to see how NATS with Jetstream can work as the queue to replace RabbitMQ.

Dec 15, 2022
NATS Key-Value Store based Leader Election

What? A Leader Election system that uses keys in a NATS Key-Value Store to perform leader election. How? NATS KV Buckets have a TTL, creating a bucket

Dec 27, 2022
Мост между NATS streaming и MQ Series

Мост между NATS streaming и MQ Series Оригинальный репозиторий https://github.com/nats-io/nats-mq NATS-MQ Bridge This project implements a simple, but

Nov 26, 2021
Basic kick the tires on NATS Key-Value API (Go)

nats-kv-101 Basic kick the tires on NATS Key-Value API (Go) Usage # Get ./mybucket -s "nats://vbox1.tinghus.net" -creds "/home/todd/lab/nats-cluster1/

Feb 15, 2022
A basic pub-sub project using NATS

NATS Simple Pub-Sub Mechanism This is a basic pub-sub project using NATS. There is one publisher who publishes a "Hello World" message to a subject ca

Dec 13, 2021
Build platforms that flexibly mix SQL, batch, and stream processing paradigms

Overview Gazette makes it easy to build platforms that flexibly mix SQL, batch, and millisecond-latency streaming processing paradigms. It enables tea

Dec 12, 2022
A little opinionated program to automatically provision my Aerohive APs without HiveManager/ExtremeCloud IQ

Aerohive Provision A little opinionated program to automatically provision my Aerohive APs without HiveManager/ExtremeCloud IQ. Unfortunately a lot of

Nov 28, 2022