Skip to content

ueckoken/kc2

Repository files navigation

KC2: Koken Compute Cloud

Dead simple Web UI for managing virtual machines for UEC private network build on top of LXD

Feature

  • Super easy to create virtual machine
  • Transparent UEC SOCKS proxy out of the box via transocks
  • Resolve <server-name>.local to local IP address via preinstalled avahi-daemon

Development

Requirement

  • Python 3.9.x (pyenv recommended)
  • poetry

Command

  • Install dependencies: poetry install
  • Start development server: poetry run uvicorn main:app --reload
  • Type check: poetry run mypy .
  • Format code: poetry run black .

Deployment

Public Docker image: ghcr.io/ueckoken/kc2

docker run -p 8000:8000 -v /var/snap/lxd/common/lxd/unix.socket:/var/snap/lxd/common/lxd/unix.socket:ro -it ghcr.io/ueckoken/kc2:latest