velobase/velobase-harness

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.

What it solves

Turning an AI prototype into a commercial product often requires rebuilding tedious infrastructure like user accounts, usage-based billing, credit systems, and anti-abuse controls. Velobase Harness provides a production-ready foundation so developers can focus on their unique AI workflows rather than the underlying SaaS plumbing.

How it works

It is an open-source application framework and boilerplate built with Next.js, React, and TypeScript. It integrates a suite of pre-built modules for monetization (Stripe, NowPayments), background processing (BullMQ workers), and growth tracking (PostHog, Google Ads). The architecture uses a domain-service pattern with a PostgreSQL database and Redis for queuing and rate limiting, allowing the codebase to run as a single process or be split into separate web, worker, and API services.

Who it’s for

  • Indie developers with an AI demo who need to add payments and production infrastructure.
  • Product teams adding usage-based billing and anti-abuse controls to existing AI apps.
  • AI-native builders using coding agents (like Cursor or Claude Code) who need a documented production foundation to build upon.

Highlights

  • Monetization Suite: Built-in support for subscriptions, credit ledgers, and usage metering.
  • Anti-Abuse Tools: Includes rate limits, disposable-email checks, and guest quotas to protect expensive AI resources.
  • Growth Infrastructure: Server-side attribution, affiliate programs with double-entry ledgers, and referral tracking.
  • Developer Experience: Full local stack deployment via Docker and a managed path through Velobase Cloud for faster deployment.

Related

  • Project
  • Project
  • Project
  • Project
  • Project