All AI developers deserve to get paid. Turn your AI prototype into a paid SaaS with open-source infrastructure for usage billing, payments, attribution, affiliates, anti-abuse, and deployment.
$git clone https://github.com/velobase/velobase-harnessInstalls into the current project.
Install velobase-harness by running `git clone https://github.com/velobase/velobase-harness`, then use it for the current task and follow its documentation at https://github.com/velobase/velobase-harness.
| 1 | <p align="center"> |
| 2 | <img src="public/banner.gif" alt="Velobase Harness" /> |
| 3 | </p> |
| 4 | |
| 5 | <p align="center"> |
| 6 | <strong>All AI developers deserve to get paid.</strong> |
| 7 | </p> |
| 8 | |
| 9 | <p align="center"> |
| 10 | Turn your AI prototype into a paid SaaS with open-source infrastructure for |
| 11 | usage billing, payments, attribution, affiliates, anti-abuse, and deployment. |
| 12 | </p> |
| 13 | |
| 14 | <p align="center"> |
| 15 | <a href="https://nextjs.org"><img src="https://img.shields.io/badge/Next.js-15-black" alt="Next.js" /></a> |
| 16 | <a href="https://react.dev"><img src="https://img.shields.io/badge/React-19-61dafb" alt="React" /></a> |
| 17 | <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-5-blue" alt="TypeScript" /></a> |
| 18 | <a href="https://pnpm.io"><img src="https://img.shields.io/badge/pnpm-10-f69220" alt="pnpm" /></a> |
| 19 | <a href="#license"><img src="https://img.shields.io/badge/license-MIT-blue" alt="License" /></a> |
| 20 | </p> |
| 21 | |
| 22 | <p align="center"> |
| 23 | <a href="https://velobase.cloud/launchpad"><strong>Try Launchpad</strong></a> |
| 24 | · |
| 25 | <a href="#quick-start"><strong>Run Locally</strong></a> |
| 26 | · |
| 27 | <a href="./docs/en/README.md"><strong>Read the Docs</strong></a> |
| 28 | </p> |
| 29 | |
| 30 | <p align="center"> |
| 31 | <a href="https://x.com/VelobaseX"><img src="https://img.shields.io/badge/Follow_on_X-000000?style=for-the-badge&logo=x&logoColor=white" alt="Follow on X" /></a> |
| 32 | <a href="https://discord.gg/UnzEZJRnUf"><img src="https://img.shields.io/badge/Join_Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Join Discord" /></a> |
| 33 | </p> |
| 34 | |
| 35 | <p align="center"> |
| 36 | If Harness helps you ship, <a href="https://github.com/velobase/velobase-harness"><strong>star the repo</strong></a> |
| 37 | and <a href="https://discord.gg/UnzEZJRnUf"><strong>join the community</strong></a>. |
| 38 | </p> |
| 39 | |
| 40 | <p align="center"> |
| 41 | <a href="./README.zh-CN.md">中文</a> · <a href="#what-you-can-ship">What You Can Ship</a> · <a href="#open-source-or-managed-cloud">Open Source vs Cloud</a> · <a href="#architecture">Architecture</a> |
| 42 | </p> |
| 43 | |
| 44 | --- |
| 45 | |
| 46 | ## Build the product. Keep the revenue infrastructure. |
| 47 | |
| 48 | AI coding tools make prototypes fast. Turning one into a reliable business still |
| 49 | means rebuilding payments, usage metering, fraud controls, attribution, |
| 50 | affiliates, lifecycle email, and deployment. |
| 51 | |
| 52 | Velobase Harness packages that work into an MIT-licensed framework for AI SaaS |
| 53 | builders. Start with a working product foundation, then spend your time on the |
| 54 | part only you can build. |
| 55 | |
| 56 | > Harness helps you build and monetize the application. Velobase Cloud removes |
| 57 | > the infrastructure and deployment work. |
| 58 | |
| 59 | <!-- TODO: Replace with a 30-45 second product walkthrough: |
| 60 | idea -> generated repo -> working app -> usage billing -> git push deployment. --> |
| 61 | <!-- <p align="center"> |
| 62 | <img src="public/demo.gif" alt="Harness Demo" width="720" /> |
| 63 | </p> --> |
| 64 | |
| 65 | ## What You Can Ship |
| 66 | |
| 67 | ### Launch a paid AI product |
| 68 | |
| 69 | Accept subscriptions and usage-based payments, manage credits, meter AI usage, |
| 70 | and give customers a billing dashboard from day one. |
| 71 | |
| 72 | ### Understand which growth channels work |
| 73 | |
| 74 | Connect purchases to acquisition channels with server-side attribution, Google |
| 75 | Ads offline conversions, X pixel events, and PostHog analytics. |
| 76 | |
| 77 | ### Turn customers into a distribution channel |
| 78 | |
| 79 | Run an affiliate program with a double-entry ledger, refund clawbacks, referral |
| 80 | tracking, promo codes, and USDT cashout. |
| 81 | |
| 82 | ### Protect expensive AI usage |
| 83 | |
| 84 | Reduce free-credit abuse with rate limits, Turnstile, disposable-email checks, |
| 85 | signup signals, guest quotas, and credit clawbacks. |
| 86 | |
| 87 | ### Operate without assembling the backend yourself |
| 88 | |
| 89 | Use built-in auth, multi-LLM chat, background workers, lifecycle email, admin |
| 90 | tools, Docker, Kubernetes, and GitOps guidance. |
| 91 | |
| 92 | ## Built For |
| 93 | |
| 94 | | You are... | Harness helps you... | |
| 95 | | --- | --- | |
| 96 | | An indie developer with an AI prototype | Add monetization and production infrastructure without starting over | |
| 97 | | A team already serving AI users | Add usage billing, attribution, affiliates, and anti-abuse controls | |
| 98 | | An AI-native builder using Codex, Cl |