Svelte and SvelteKit hosting,
fully managed.

Run your SvelteKit app or Svelte single-page app on HCode, managed app hosting from HostAfrica. Server rendering, form actions and a PostgreSQL database, with no server to look after.

Billed monthly. Cancel anytime.

One pushPush to main and it is live. No servers to set up, no config to fight, just a URL you can send to someone.
PostgreSQLYour database sits right next to your app and gets backed up every day. Grab the connection string and get on with it.
SSL and rollbacksHTTPS is on from the first deploy. Shipped something broken? Roll back to the last good one and breathe.
From R50/moOne flat price in Rands. No dollar surprises when the exchange rate moves, no guessing what next month costs.

Svelte first.Anything else beside it.

HCode detects SvelteKit and builds it for you, and a Vite Svelte app builds as a static site. Add a Python worker, a Go service or Redis next to it, or bring your own Dockerfile.

Read the docs

Your ambition.A plan to match.

Start small. Make something that matters. Grow from there.

Billing period
HCode plans compared
SoloSmall beginnings. Big possibilities.DeveloperMore room for your next release.ProA home for your production apps.TeamYour whole team. One platform.Enterprise

R50/mo

Billed monthly

R45.83/mo

R550 billed yearly

Save 8%

R200/mo

Billed monthly

R183.33/mo

R2,200 billed yearly

Save 8%

R999/mo

Billed monthly

R916.58/mo

R10,999 billed yearly

Save 8%

Custom

Talk to sales
Projects3520Custom
DatabasesPostgreSQL or Redis1320Custom
Compute
RAM1 GB4 GB16 GBCustom
Storage10 GB20 GB80 GBCustom
Usage and features
Backup retentiondaily backups3 days7 days60 daysCustom
Enterprise
Single sign-onSAML / OIDCNot includedNot includedNot includedIncluded
Invoiced billingannual contractNot includedNot includedNot includedIncluded

Every plan includes

  • Managed PostgreSQL
  • Custom domains & SSL

All prices in ZAR. Annual figures show the monthly equivalent, billed yearly.

From git pushto a live SvelteKit app.

Connect a GitHub repository or upload a .zip. HCode detects SvelteKit, runs your build, starts the Node.js server with node build and serves your app with SSL.

Create a project

Deploy to My Organization

  1. 1Source
  2. 2Build settings
  3. 3Details
GitHubDeploy from repo
UploadDeploy a .zip

Import from GitHub

your-next-big-ideamainConnected
Continue

Create a project

Deploy to My Organization

  1. ✓Source
  2. 2Build settings
  3. 3Details

Build

  1. $ git push origin main
  2. Repository connected: main
  3. SvelteKit detected: preparing build
  4. Running npm run build...
  5. Build complete

Create a project

Deploy to My Organization

  1. ✓Source
  2. ✓Build settings
  3. 3Details

your-next-big-idea

Live
  1. Provisioning app + PostgreSQL in South Africa…
  2. SSL configured
  3. Deployment complete

Built for the waySvelte apps run.

SvelteKit renders on the server and its load functions and form actions need a Node.js process that stays up. HCode keeps that process running, and serves a static Svelte build just as well.

  • SvelteKit on adapter-node.

    HCode detects SvelteKit and starts the server with node build, so server-rendered pages, load functions, form actions and API routes run as they do on your machine.

  • Static builds too.

    A Vite Svelte app or a SvelteKit site on adapter-static deploys as a static site. Set the output folder to the one your build writes, and single-page apps get the home page as a fallback.

  • PostgreSQL for your server code.

    Your load functions and form actions query managed PostgreSQL over a private network, through one connection string. It comes with every plan and is backed up every day.

  • Private env stays private.

    Set environment variables in the panel, stored encrypted. Only PUBLIC_ or VITE_ variables reach the browser, and they are baked in at build time, so change one and redeploy.

  • Releases without downtime.

    Each push builds a new version and brings it live without downtime. A build that fails never replaces the server that is running.

  • One click back.

    Shipped a regression? Restore the last good deploy from the panel and keep your users on a version that works.

More than hosting.Everything SvelteKit needs in production.

Managed PostgreSQL and Redis, custom domains with SSL, daily backups and rollbacks are part of every HCode plan, so a new Svelte app is ready for production from its first deploy.

  • A database, not a detour.

    Managed PostgreSQL and Redis alongside your app, on its own private network. Keep your data close and your setup simple.

  • Secure from the start.

    Your own domain with automated SSL, encrypted secrets and built-in backups. The essentials come with you.

  • Go forward. Roll back.

    A new release goes live without downtime, and one that fails its checks never replaces the app that is running. Need the last one back? Roll back in a click.

One platform.Three ways to build.

Side projects, SaaS products and client work all deploy the same way on HCode. Here is what that looks like for you.

Developers

Less config.More creation.

Give your next side project a real home. Connect your repository and get back to the part you love: building.

  • Framework detection
  • Git deployments
  • Live build logs

SaaS teams

Build the product.Keep your momentum.

Keep your app, its database and its background workers together, with the building blocks your product needs as it grows.

  • Managed PostgreSQL
  • Environment variables
  • Rollbacks

Agencies

Client work.Without the busywork.

A modern workflow for every client. Every project gets a free subdomain the moment it deploys; add the client’s own domain when they are ready, give each teammate the right role, and bill predictably in Rands.

  • Multiple projects
  • Custom domains
  • Free subdomains

Tell us what you are building and we will help you choose.

code.

Let’s buildsomething great.

Tell the HostAfrica team what you have in mind. They’ll help confirm HCode availability and the right plan for your project.

Opens HostAfrica’s contact page. No account or payment is created here.

So, why HCode?Let’s compare.

Chances are you have shipped on Vercel, Netlify, Railway or Render, or your AI builder does it for you. All good tools. Here is what changes when your app and its database live in South Africa.

code.VercelNetlifyRailwayRender
App runs in South AfricaYes: Yes, by defaultCape Town on request; defaults to Washington, D.C.No African regionUS, Netherlands, SingaporeUS, Germany, Singapore
Database beside the appYes: Managed PostgreSQL, same placeThrough a marketplace partnerThrough a partner-backed databaseManaged PostgreSQL, same regionManaged PostgreSQL, same region
Billed inYes: RandsUS dollarsUS dollarsUS dollarsUS dollars
Where you startYes: From R50/mo, always onFree Hobby plan, personal and non-commercial use onlyFree plan with a credit capA one-off trial credit, then a paid planFree instances sleep after 15 minutes idle
Push from GitHub, custom domain, SSLYes: YesYesYesYesYes
SupportYes: A South African team, in your time zoneGlobalGlobalGlobalGlobal

Svelte on HCode,questions answered.

Have something else in mind?

Talk to our teamBrowse the docs

Does HCode support SvelteKit server-side rendering?

Yes. HCode detects SvelteKit and runs the Node.js server that adapter-node builds, started with node build. Server-rendered pages, load functions, form actions and API routes work as they do on your machine. HCode sets the PORT environment variable for the server.

Which SvelteKit adapter should I use?

adapter-node for a server, or adapter-static for a fully static site. If your project uses adapter-auto or an adapter for another host, such as Vercel or Netlify, switch to adapter-node before you deploy to HCode. HCode runs your app as a long-running server and has no serverless or edge functions.

Can I host a plain Svelte app without SvelteKit?

Yes. A Svelte app built with Vite deploys as a static site: HCode runs your build and serves the dist folder with SSL. If your app has a back end, run it beside the front end as its own app on HCode.

How do I run database migrations?

The database is not reachable while your app builds, so run migrations when the app starts. Put the migration command before node build in the start command, and HCode runs both on every deploy.

Is a database included?

Yes. Every HCode plan includes managed PostgreSQL with daily backups, so you never buy a database separately. The plan table on this page shows how many databases each plan includes.

How do I move an existing SvelteKit app to HCode?

Switch to adapter-node, connect the GitHub repository or upload a .zip, set your environment variables in the panel and deploy. Bring PostgreSQL data across from a .sql file or a pg_dump archive. Talk to our team if you would like help planning the move.

What support do I get?

HostAfrica support is available 24/7, and live chat is open during business hours. The HCode docs cover the platform step by step.

How do I get started?

Pick a plan on this page and order it in the HostAfrica panel, then connect your repository. Not sure which plan fits? Talk to our team and we will help you choose.