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.
- Unzip the download into an empty folder.
- Create a new repository on GitHub (public or private — your choice). Private is fine as long as you connect that GitHub account to HostKB.
- 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.
- Create a free HostKB account and connect Git under Integrations.
- Create a project and application from your new repository.
- Start a build, then deploy. Open `/` or `/health` on the app URL.
Full UI walkthrough: Getting started.
Related guides
- Getting started — Create 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 hosting — Free hosting for Node.js, Python, .NET, Java, React, Angular, Next.js, Vue, PHP, and Docker apps.
- Free deployment platform — Free deployment platform to deploy apps from Git — builds, HTTPS, domains, and auto-deploy.
- Deploy from GitHub — Connect GitHub, pick a repository and branch, then build and deploy your app.
- Custom domains & HTTPS — Attach your own domain, point DNS, and serve your app over automatic HTTPS.
- Environment variables — Add app and project variables, mark secrets, and redeploy so the live app picks them up.
- Auto-deploy on push — Enable auto-deploy so pushes to your selected branch build and deploy automatically.
- Build & deploy logs — Watch real-time build and deployment logs to troubleshoot releases on HostKB Cloud.
- App sizes & scaling — Choose the right application size for CPU and memory, then upgrade as your workload grows.