Push code. Get a URL.
A static site, a single-page app, or a full-stack Next.js, Astro, SvelteKit or Nuxt app with its server code. We build it, publish it and give every branch a preview. An app in Python, Go or another language is built from source and run too.
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, Astro, SvelteKit and Nuxt
Prerendered pages, server-rendered pages, route handlers, ISR and next/image work. The CLI detects the framework and builds it, with nothing added to your project.
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 security checks in every build and 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 GitHub, GitLab or a self-hosted GitLab. Every push is built and deployed, and the preview link is written on every pull request.
Image optimisation
next/image under your next.config images rules, and Astro images, at each device's size in WebP or AVIF. Each size is made once and every edge serves the same one.
Security checks on every build
Committed secrets, malicious packages and vulnerable dependencies are caught before release, and your checks hold back a bad deployment.
Next.js caching
ISR, the data cache and "use cache" live in the app's own cache with nothing to set, and every edge sees the same one. Revalidate by tag in code, or from the API, the CLI, MCP and the dashboard.
Gradual releases
Send a share of production traffic to the new version and raise it step by step. If errors pass the threshold, it rolls back by itself. Each visitor stays on one version, and you can pause the automatic steps at any time.
Deployment protection
Open previews only to team members or with a password, with shareable links for people outside the team and a bypass token for automated tests.
Version skew protection
An open page keeps getting answers from the version it loaded with, even after a new one is released. On by default.
Calls to the project's functions
The app's server code calls another function or app of the same project with env.AUTH.fetch(), on the same edge, never over the internet.
Any language
An app in Python, Go, PHP, Java or another language is built from source and runs on instances, with autoscale.
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, Astro, SvelteKit and Nuxt also run with their server code. Django, FastAPI, Laravel, Rails, Spring Boot and Go apps are built from source and run too.
Prerendered pages, server-rendered pages, route handlers and the 404 page; ISR, the data cache, "use cache", revalidateTag and revalidatePath; and next/image under your next.config images rules. Each preview has a cache of its own.
Static pages, on-demand pages, endpoints and the 404 page. The image service works through image resizing.
Prerendered pages, server-rendered pages, endpoints and the 404 page, on SvelteKit 2 and 3. Your vite.config settings stay as you wrote them.
Server-rendered pages, prerendered pages, endpoints in the server folder and the 404 page. Your nuxt.config stays as you wrote it.
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.
Yes, with a gradual release. For example 10% of traffic, then 50%, then everyone, by hand or every few minutes. Each visitor stays on one version, and if the new version's errors pass the threshold, all traffic goes back by itself.
The live version is untouched. The build log is in the dashboard, the CLI and MCP.
Publish your next app here
Start with the signup credit; team members are free.
Sign-up is by invite for now. If you have a code, create your account.
Sign up withEmail codeSMS code