Push code. Get a URL.
A static site, a single-page app, or a full-stack Next.js or Astro app with its server code. We build it, publish it and give every branch a preview.
What you get
Deploy from git
A git push to main updates production. Our git address is inside Iran, so you can still deploy during an international internet cut.
A preview per branch
Each branch has its own address: branch--app. Delete the branch and its preview is removed.
Instant rollback
Every deploy is an immutable version. Go back to any earlier one with one command or one click.
Next.js and Astro
Prerendered pages, server-rendered pages and route handlers work. The CLI detects the framework and builds it.
Static and single-page
Any static output, no adapter. _headers and _redirects files, and single-page mode for React or Vue apps.
Server code in the same app
Paths with no file go to the app's function. Static files are served without running code and are not billed as requests.
Bound to your database, cache and bucket
Declare them in cloudhost.toml; your code gets env.DB, env.CACHE and env.BUCKET, with no connection string.
Builds on our servers
Builds run on our servers, with every build's history and log in the dashboard, the CLI and MCP.
Custom domains
Connect your own domain, with an automatic HTTPS certificate.
Connect your repository
Connect your code host directly, with a preview on every pull request.
Image optimisation
next/image and Astro images at each device's size, in WebP or AVIF.
Security checks on every build
Vulnerable dependencies are caught before release, and your checks hold back a bad deployment.
Three commands to a live URL
init writes a cloudhost.toml; deploy builds, uploads and prints the address.
cd my-shop
cloudhost init
cloudhost deploy
# https://my-shop.app.trustpage.irPay for use only
Static files bill by transfer; server code by requests and active CPU time; builds by the minute. Time spent waiting on a database or an outside API is not active CPU.
Questions
Any framework with static output (React, Vue, Svelte, Hugo and more) with no setup. Next.js and Astro also run with their server code.
Prerendered pages, server-rendered pages, route handlers and the 404 page. Images are optimised through image resizing. Keep cacheComponents off in next.config.
Static pages, on-demand pages, endpoints and the 404 page. The image service works through image resizing.
An app has static files and can also have server code; a function is code only, for APIs, webhooks and scheduled jobs. Both run on the same platform, with the same versions, rollback, secrets and logs.
No. If the app is bound to a database, each branch preview gets its own database branch, copied from production data. Production never uses it.
Yes. Add it on the app's Domains page and create the DNS record it shows; the HTTPS certificate is issued automatically. Every app also keeps its address on app.trustpage.ir.
The live version is untouched. The build log is in the dashboard, the CLI and MCP.
Publish your next app here
The Hobby plan is free for personal projects.
Sign-up is by invite for now. If you have a code, create your account.
Sign up withEmail codeSMS code