mirror of
https://github.com/Mesh-LLM/mesh-llm.git
synced 2026-08-08 22:23:19 -04:00
* fix(llama): support Bookworm Git patching * ci: cache container build dependencies * ci: bound sccache download time |
||
|---|---|---|
| .. | ||
| console | ||
| Dockerfile | ||
| README.md | ||
mesh-llm Fly.io Console
Fly app running mesh-llm in --client mode — no GPU, just QUIC tunnels to mesh nodes.
| App | URL | Fly config |
|---|---|---|
| console | mesh-llm-console.fly.dev | fly/console/fly.toml |
Also available at public.meshllm.cloud.
Architecture
┌─────────────────────────┐
Browser/curl ──HTTPS──→ Fly │ mesh-llm --client │
│ discovers mesh via │──QUIC──→ GPU nodes
│ Nostr, tunnels requests │
└─────────────────────────┘
Exposes :3131 (dashboard, chat, topology) and proxies inference to mesh GPU nodes.
Deploy
Preferred: GitHub Action (manual)
Deploy via the Deploy Fly Console workflow
(.github/workflows/fly-deploy-console.yml). It builds the image on Fly's
remote builders and deploys mesh-llm-console — no local Fly login needed.
From the Actions tab, run the workflow, or from the CLI:
# Deploys the default branch
gh workflow run "Deploy Fly Console"
# Deploy a specific branch/tag/SHA
gh workflow run "Deploy Fly Console" -f ref=v0.72.0
The workflow authenticates with the FLY_API_TOKEN repo secret, which holds an
app-scoped Fly deploy token:
fly tokens create deploy -a mesh-llm-console
gh secret set FLY_API_TOKEN # paste the token when prompted
Fallback: local deploy
From the repo root (requires fly auth login):
fly deploy --config fly/console/fly.toml --dockerfile fly/Dockerfile
Run locally
# Same as what the Fly app runs — no Docker needed
mesh-llm --client --auto
Docker (local)
docker build -f fly/Dockerfile -t mesh-llm-console .
docker run -p 3131:3131 -p 9337:9337 mesh-llm-console