Pular para o conteúdo principal

Client Documentation

Welcome to the Cactus front-end documentation. This guide covers everything you need to set up, customize, and deploy your branded front-end (React template, SDK, theming, and deployment).

What you get

The Cactus platform provides:

  • A React application template (front-web-base) with SSR, auth, theming, and multi-language support
  • SDK packages (@cactus-agents/*) with business logic, auth, payments, and more
  • Cloudflare Workers deployment for fast global delivery
  • Theming system to match your brand identity

How it works

Your site is a full copy of the Cactus base template. You have complete freedom to customize it.

Quick customization points (already prepared for you):

  • Colors — via theme.config.ts (your brand palette)
  • Pages — via routes.config.ts (add/remove routes)
  • Layout — via layout.config.ts (optional layout customization)

But you're not limited to those files. You can create your own components, pages, hooks, services — anything you need. The fork is fully yours.

Business logic (auth, payments, games, etc.) comes from @cactus-agents/* packages that you update via pnpm update. These are the only thing you should avoid modifying directly.

Next steps