visor

command module
v1.108.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

README

visor

Hanzo Visor

Cloud operating-system management platform (Go + React).

Architecture

Hanzo Visor has two parts:

Name Description Language Source code
Frontend Web UI JavaScript + React https://github.com/hanzoai/visor/tree/main/web
Backend RESTful API + Beego Go + Beego + Postgres https://github.com/hanzoai/visor

Installation

Hanzo Visor uses Hanzo IAM as the authentication system. Create an organization and an application for Visor in your IAM instance, then wire it via app.conf.

Necessary configuration

Get the code
git clone https://github.com/hanzoai/iam
git clone https://github.com/hanzoai/visor
Setup database

Visor stores users, nodes, and resource information in a Postgres database named visor (auto-created). The DB connection string is configured in conf/app.conf:

dataSourceName = postgres://user:pass@localhost:5432/visor
Configure IAM

After creating an organization and an application in Hanzo IAM, update clientID, clientSecret, iamOrganization, and iamApplication in app.conf.

Run
go run main.go

Open browser: http://localhost:16001/

Optional

RDP

Run guacd for RDP connections:

docker run --name guacd -d -p 4822:4822 guacamole/guacd

License

Apache-2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
compute.go is the canonical /v1 resell compute surface: the cached DigitalOcean catalog (regions/sizes/GPUs, resale-priced) and per-org machine operations backed by Hanzo's house DO account.
compute.go is the canonical /v1 resell compute surface: the cached DigitalOcean catalog (regions/sizes/GPUs, resale-priced) and per-org machine operations backed by Hanzo's house DO account.
Package service — compute.go is Hanzo's resell compute surface over a single HOUSE DigitalOcean account.
Package service — compute.go is Hanzo's resell compute surface over a single HOUSE DigitalOcean account.

Jump to

Keyboard shortcuts

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