Skip to content

About

durable project hosting via dstack

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

dstack-webhost

A personal Vercel for attestable web apps. Hosts many projects on a single Phala dstack CVM; each can be promoted to attested mode where the source hash binds into the TEE quote and the verifier endpoints become publicly readable.

The daemon (tee-daemon) is the substrate: it does the ingress, the shared language runtime, the audit log, and the verifier surface. Project authors write small handlers; this code does everything else, once, for every project on a CVM.

Quick start

# Local dev
docker compose up

# Deploy to a Phala CVM
phala deploy --cvm-name my-daemon -c docker-compose.yaml -e .env

Documentation

Source layout

  • proxy/ingress.py — request routing, auth gate, public verifier endpoints.
  • proxy/runtimes.py — language-runtime container management; the Deno router that loads project handlers.
  • proxy/deploy.py — git-clone path, source-hash recording, project promotion.
  • proxy/templates/index.html — the default viewer page each CVM serves at /.
  • rfcs/ — design discussion. Numbered, dated, status-tagged.

About

durable project hosting via dstack

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages