Deploy a Preact app in seconds
Preact CLI builds into build/, Vite + Preact into dist/. Tuqo builds the project automatically and publishes it over HTTPS. Free SSL; version rollbacks on paid plans.
build/ · Node 20 · free SSL Upload the project
A .tar.gz or .zip archive with the sources (a lock file is recommended), or a ready build/dist.
Build on Node 20
npm ci && npm run build, with the output taken from build/ or dist/.
Live over HTTPS
Published on a subdomain right away, free SSL.
# build locally and upload, or upload the sources and let Tuqo build them
npm ci && npm run build # output in build/
# pack the output (index.html must be at the root of the archive)
tar -czf site.tar.gz -C build .
# deploy over REST (or from the panel, or from an AI agent over MCP)
SITE=<site_id> # from the panel or list_sites
curl -X POST https://api.tuqo.ru/api/v1/sites/$SITE/deploys \
-H "Authorization: Bearer tqk_xxx_yyy" \
-H "Content-Type: application/gzip" \
--data-binary @site.tar.gz
The command line is not the only way: in the panel you can simply drag the site folder
in, and instead of .tar.gz a
.zip works too — Tuqo detects the archive
format by itself.
Deploying Preact — frequently asked questions
preact-cli or Vite? +
Both are supported: preact-cli → build/, Vite → dist/. Tuqo finds the output by itself.
Do I need a server? +
No, a static Preact app does not need a server.
Is there HTTPS? +
Yes, free SSL is switched on automatically.