# Vibestrap ## Docs - [AI hooks](https://docs.vibestrap.dev/ai/hooks.md): Five client hooks for streaming, polling, credits, prompts, and history. - [Observability](https://docs.vibestrap.dev/ai/observability.md): Every AI call lands in `ai_call` — tokens (when reported), latency, and status. The dashboard rolls it up. - [AI primitives](https://docs.vibestrap.dev/ai/primitives.md): 17 purely-presentational components for tokens, chat, images, and forms. - [AI providers](https://docs.vibestrap.dev/ai/providers.md): Six pluggable providers, picked by env, with fallback and per-model pricing. - [Architecture](https://docs.vibestrap.dev/architecture.md): How Vibestrap is wired — stack, layout, and the load-bearing decisions. - [GitHub OAuth](https://docs.vibestrap.dev/auth/github-oauth.md): Add "Continue with GitHub" by registering an OAuth App on GitHub and dropping two env vars. - [Google OAuth](https://docs.vibestrap.dev/auth/google-oauth.md): Add "Continue with Google" sign-in by creating an OAuth 2.0 Client in Google Cloud and dropping two env vars. - [Google One-Tap](https://docs.vibestrap.dev/auth/one-tap.md): Frictionless one-click sign-in for users with an active Google session — already wired via Better Auth's One-Tap plugin. - [Auth overview](https://docs.vibestrap.dev/auth/overview.md): How Vibestrap wires Better Auth — what's enabled, what plugins ship, and the role and session model. - [Configuration](https://docs.vibestrap.dev/configuration.md): How to customize Vibestrap via src/config/site.ts and the env layer. - [Fumadocs collections (blog + changelog)](https://docs.vibestrap.dev/content/fumadocs.md): How Vibestrap's blog and changelog use Fumadocs MDX, and where they differ from the Mintlify docs site. - [Bilingual content & i18n](https://docs.vibestrap.dev/content/i18n.md): How Vibestrap handles English + Chinese copy, MDX variants, and locale-aware lookups. - [Marketing blocks](https://docs.vibestrap.dev/content/marketing.md): How the home page is composed from block components and how to extend it. - [Customization](https://docs.vibestrap.dev/customization.md): What buyers customize, where to change it, and what stays out of the way. - [Adding dark mode back](https://docs.vibestrap.dev/dark-mode.md): Vibestrap ships light-only. Here's the five-step recipe to re-enable a light/dark toggle. - [Deploy to Cloudflare Workers](https://docs.vibestrap.dev/deployment/cloudflare.md): Migrate from Vercel to Workers for sub-50ms global latency. - [Deploy with Docker](https://docs.vibestrap.dev/deployment/docker.md): Build, run, and ship Vibestrap as a Docker container — locally with compose, in production on any host. - [Deploy on Kubernetes](https://docs.vibestrap.dev/deployment/kubernetes.md): Single-file production manifest with a CI workflow that builds one image, pushes to Harbor, and auto-bumps the manifest. - [Deploy docs on Mintlify](https://docs.vibestrap.dev/deployment/mintlify.md): Connect this repository to Mintlify, point docs.your-domain.com at it, ship in under an hour. - [Deploy to Vercel](https://docs.vibestrap.dev/deployment/vercel.md): Five-minute Vercel deploy — push, set env, hit deploy. - [Environment variables](https://docs.vibestrap.dev/env-reference.md): Every env var the scaffold reads, what it does, and whether you can skip it. - [Going live](https://docs.vibestrap.dev/going-live.md): Step-by-step from a fresh clone to a live commercial site — every credential, every dashboard URL, every env var name. - [Affiliate program](https://docs.vibestrap.dev/growth/affiliate.md): Pay people to bring you customers — pick a SaaS provider, or run the built-in commission tracker that works with any payment gateway. - [Customer service](https://docs.vibestrap.dev/growth/customer-service.md): Drop a chat widget on every page — pick from Crisp, Tawk.to, Intercom, or Chatwoot with a single config flip. - [Newsletter](https://docs.vibestrap.dev/growth/newsletter.md): Email signups behind one facade — Resend Audiences (default) or Beehiiv with double opt-in and broadcast scheduling. - [Turnstile (anti-bot)](https://docs.vibestrap.dev/growth/turnstile.md): Cloudflare Turnstile gate on signup, forgot-password, and newsletter forms — privacy-friendly, free, no cookies. - [Welcome](https://docs.vibestrap.dev/index.md): A paid Next.js scaffold for indie hackers building AI tool-stations. - [Installation](https://docs.vibestrap.dev/installation.md): Clone the repo, install dependencies, push the schema, run dev. - [Analytics & Webmaster Tools](https://docs.vibestrap.dev/operations/analytics.md): Fan out to Vercel, GA4, PostHog, Plausible, Umami, and Clarity — plus one-line site verification for Google Search Console, Bing Webmaster, and Yandex Webmaster. Every provider self-gates on its env var, mix and match freely. - [Cookie consent](https://docs.vibestrap.dev/operations/cookie-consent.md): GDPR / CCPA / global compliance banner powered by vanilla-cookieconsent. Opt-in by default, gates analytics scripts, ships with en + zh i18n out of the box. - [GitHub invite delivery](https://docs.vibestrap.dev/operations/github-invite-delivery.md): How buyers get the source — payment-gated, read-only collaborator invites to your private Org repo. - [Dev tooling](https://docs.vibestrap.dev/operations/tooling.md): The opinionated stack — Biome, Knip, Drizzle, Vitest, next-safe-action, server-only, t3-env — chosen so the verification loop stays fast. - [Credits](https://docs.vibestrap.dev/payments/credits.md): An immutable ledger with exactly 4 transaction types — wired into every payment provider. - [Creem](https://docs.vibestrap.dev/payments/creem.md): The mainland-China payment provider — Alipay and WeChat Pay with a clean Stripe-like API. - [NOWPayments](https://docs.vibestrap.dev/payments/nowpayments.md): Crypto-only hosted invoice gateway — accept BTC/ETH/USDC and 300+ coins with no merchant KYC. - [Payments overview](https://docs.vibestrap.dev/payments/overview.md): Start with one Stripe checkout, keep provider switching optional. - [Stripe](https://docs.vibestrap.dev/payments/stripe.md): Wire Stripe as the active payment provider — keys, products, webhook, local testing. - [Quickstart](https://docs.vibestrap.dev/quickstart.md): From a fresh clone to your first paid checkout in under an hour. ## OpenAPI Specs - [openapi](https://docs.vibestrap.dev/api-reference/openapi.json)