Docs/Sample apps

Sample apps

Download a ready-made sample from HostKB, push it to your own GitHub (or other Git) repository, then connect that repo and deploy free — no access to HostKB’s private source repos required.

1. Download a sample

ZIPs are served from hostkb.com — public and free to use.

2. Push to your Git repository

Use a repo you own so HostKB can clone it via your Git integration.

  1. Unzip the download into an empty folder.
  2. Create a new repository on GitHub (public or private — your choice). Private is fine as long as you connect that GitHub account to HostKB.
  3. Commit and push the unzipped files as the repo root (Dockerfile should sit at the top level of the repo).
git init
git add .
git commit -m "HostKB sample app"
git branch -M main
git remote add origin https://github.com/YOU/YOUR-REPO.git
git push -u origin main

3. Deploy on HostKB

Connect your repo, build, and open the HTTPS URL.

  1. Create a free HostKB account and connect Git under Integrations.
  2. Create a project and application from your new repository.
  3. Start a build, then deploy. Open `/` or `/health` on the app URL.

Full UI walkthrough: Getting started.

Related guides

  • Getting startedCreate projects and apps, set environment variables, then build and deploy from the UI.
  • What is HostKB Cloud?HostKB Cloud is a free hosting and deployment platform — deploy apps from Git with HTTPS and logs.
  • Free app hostingFree hosting for Node.js, Python, .NET, Java, React, Angular, Next.js, Vue, PHP, and Docker apps.
  • Free deployment platformFree deployment platform to deploy apps from Git — builds, HTTPS, domains, and auto-deploy.
  • Deploy from GitHubConnect GitHub, pick a repository and branch, then build and deploy your app.
  • Custom domains & HTTPSAttach your own domain, point DNS, and serve your app over automatic HTTPS.
  • Environment variablesAdd app and project variables, mark secrets, and redeploy so the live app picks them up.
  • Auto-deploy on pushEnable auto-deploy so pushes to your selected branch build and deploy automatically.
  • Build & deploy logsWatch real-time build and deployment logs to troubleshoot releases on HostKB Cloud.
  • App sizes & scalingChoose the right application size for CPU and memory, then upgrade as your workload grows.