remoteav

command module
v0.0.0-...-14c79e6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

remoteav

.github/workflows/publish.yml

Remotely access cameras and microphones

Run with docker

docker run --privileged -p 7777:7777 --rm -it ghcr.io/chneau/remoteav

Objectives

Project
  • Access cameras and microphones remotely
    • Frontend: Vite, React
    • Backend: Go
    • Api: GraphQL
    • Container: Docker
    • Container registry: GitHub Container Registry
    • Continuous delivery: GitHub Actions
    • Authentication: JWT
Ease of life
  • Developer mode
  • One container that does both frontend and backend

Dev logs

# Init go main then
go mod init

# Init frontend
npm create vite@latest

# Add yourself to these groups
sudo adduser $USER video
sudo adduser $USER audio
exec sudo su -l $USER

# Start backend
npm exec --yes -- nodemon@latest --ignore frontend --ext go,graphql,html --exec 'fuser -k 7777/tcp; go run ./dev || false'

# Start frontend
npm --prefix frontend run dev

# Automatically regenerate frontend graphql schema
npm --prefix frontend run graphql-codegen

# Simulate production build
npm --prefix frontend run build && rm -rf dist/dist && cp -r frontend/dist dist && go run .

# Install production version
npm --prefix frontend run build && rm -rf dist/dist && cp -r frontend/dist dist && go install .

# To make portaudio properly installed on ubuntu, had to use `brew install portaudio`, the apt version was not working

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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