Skip to main content

Self-hosted control plane and CLI for monitoring hosts and launching native remote-access clients.

Project description

OMV

OMV is a self-hosted control plane for personal machines. One CLI installs everything a user needs to run the three roles in the system:

  • hub: the central FastAPI server and embedded web UI
  • client: the native-client launcher that opens Moonlight, VNC, SSH, or browser fallbacks on the machine you are sitting at
  • host: the reporting agent that pushes telemetry, screenshots, and protocol metadata to the hub

The PyPI package is the product. End users install only the CLI:

uv tool install omv

That gives them the omv command with the backend, embedded frontend, launcher service, and host agent bundled inside the same package.

User model

There are three machine roles:

  1. Central hub Hosts the website and API. Usually one stable machine on your tailnet or home network.
  2. Native client Runs on the device that should launch native apps like Moonlight, Screen Sharing, or a terminal. This can be the same machine as the hub.
  3. Hosts The machines you want to watch and connect to. Each host runs a lightweight agent and advertises the protocols it supports.

Typical layout:

  • Home mini PC: hub + client
  • Workstation: host
  • Mac Mini: host
  • Laptop on the road: client

Install

CLI only

uv tool install omv
omv --help

Upgrade later

uv tool upgrade omv

Remove

uv tool uninstall omv

Quick start

1. Set up the hub

On the machine that should host the dashboard:

omv hub init --host 0.0.0.0 --port 8000
omv hub start

Optional background service:

omv hub service-install

Open http://127.0.0.1:8000 locally or the machine's overlay-network IP from another device.

2. Set up a native client

On any machine that should open native apps when you click Launch in the dashboard:

omv client init
omv client install moonlight
omv client start

Optional background service:

omv client service-install

If the hub and the viewing machine are the same box, run both hub and client there.

3. Set up a host

On each machine you want to monitor:

omv host init --hub-url http://YOUR-HUB:8000
omv host start

For Linux hosts that should stream over Moonlight:

omv host install sunshine

For a persistent agent:

omv host service-install

Common workflows

All-in-one machine

One machine can run both the hub and the native client:

omv hub init
omv client init
omv hub service-install
omv client service-install

Check local status

omv status

Example output:

hub:        configured=yes listen=0.0.0.0:8000 health=ok
client:     configured=yes listen=127.0.0.1:32145 service=darwin
host:       configured=no
tools:      moonlight=yes sunshine=no tailscale=yes

Inspect a specific role

omv hub doctor
omv client doctor
omv host doctor

List nodes from the hub

omv nodes --base-url http://127.0.0.1:8000

Launch a node from the terminal

omv launch atlas-bot-lab --base-url http://127.0.0.1:8000

Dry-run a launch

omv launch atlas-bot-lab --base-url http://127.0.0.1:8000 --dry-run

Config files

OMV writes role-specific config files under ~/.config/omv/ on macOS and Linux.

  • ~/.config/omv/hub.toml
  • ~/.config/omv/client.toml
  • ~/.config/omv/host.toml

Use the CLI to create them instead of hand-writing them:

omv hub init
omv client init
omv host init --hub-url http://127.0.0.1:8000

Legacy launcher config at ~/.config/omniview/launcher.toml is still read if present.

Native protocol support

The hub only orchestrates. Real sessions are handed off to native tools on the current viewing device.

  • moonlight: launches the local Moonlight binary
  • vnc: opens the local OS handler for vnc://...
  • ssh: opens a terminal on the current machine and runs ssh
  • guacamole: opens a browser fallback URL

This boundary is deliberate: browsers cannot directly spawn arbitrary local applications.

Dependency install commands

Install external tools from the CLI:

omv install moonlight
omv install sunshine
omv install tailscale

Role-scoped variants are also available:

omv client install moonlight
omv client install tailscale
omv host install sunshine
omv host install tailscale

Operational notes

A few steps still depend on the target platform and cannot be fully automated away:

  • Tailscale still needs user authentication, usually via tailscale up
  • Sunshine still needs its own permissions and pairing flow with Moonlight
  • macOS VNC requires Screen Sharing or Remote Management to be enabled
  • macOS screenshot capture may require Screen Recording permission for the host agent

The CLI surfaces these boundaries through omv client doctor and omv host doctor instead of pretending everything is finished when it is only installed.

Service management

User-level services are supported on:

  • macOS via launchd
  • Linux via systemd --user

Commands:

omv hub service-install
omv hub service-uninstall
omv client service-install
omv client service-uninstall
omv host service-install
omv host service-uninstall

Development

End users do not need Node or pnpm. They only need uv tool install omv.

For repo development:

uv sync
cd frontend && pnpm install
cd frontend && pnpm build
uv run --with pytest --with httpx pytest

Verification

Useful smoke checks:

omv --version
omv status
omv capabilities
omv hub doctor
omv client doctor
omv host report --dry-run

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omv-0.1.0.tar.gz (87.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omv-0.1.0-py3-none-any.whl (88.9 kB view details)

Uploaded Python 3

File details

Details for the file omv-0.1.0.tar.gz.

File metadata

  • Download URL: omv-0.1.0.tar.gz
  • Upload date:
  • Size: 87.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for omv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 783c5bf504be18d9bfc3d9835811a4fed475a8e862f53a936e9a83525c550b2a
MD5 f87553fad9a523cdd7a939df8c22b6ef
BLAKE2b-256 8a155b30e476970dfca1a4cea60c95c6b55c8dbb894b48ec7122a5a307cfbc74

See more details on using hashes here.

File details

Details for the file omv-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: omv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 88.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for omv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a72e37277c920d7aa46294be33ae285d41691095a13da9e3678bf25d6b665995
MD5 c42cc5c72af3a9bf9364c7bf07f7f764
BLAKE2b-256 b5d91e42a36fe8b2d02b1d486815e080a9343dd7d04d729ed494d21ad3307957

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page