Guides
Short, task-oriented walkthroughs. Each one assumes you've already run npx vibemonetize init — see the quickstart if you haven't.
- Gate a feature behind a plan
Wrap any component in <Paywall> and enforce it for real server-side.
- Sell credit packs
One-time top-ups that stack additively alongside subscription plans.
- Meter usage and cap it
Define a meter, record usage, and block once a user hits their cap.
- Send users to checkout
<CheckoutButton> and the hosted Stripe Checkout session it drives.
- Understand entitlement tokens
The signed JWT that makes can() calls ~0ms — issuance, refresh, verification.
- Enforce the paywall with one edge function
No backend? The copy-paste Vercel/Netlify edge function that makes your paywall real instead of advisory.
- Get your app indexed — including the paywalled parts
Flexible sampling + paywalled-content JSON-LD so gating doesn't tank rankings, and the honest Vite-vs-Next SEO tradeoff.
- Run it locally / self-host
Boot the api and dashboard on your own machine and finish a real signup → gated-route loop with no external inbox — the four env details that trip up a fresh cold start.
- Sell one price across multiple apps (bundles)
A developer-scoped Plan container whose grants fan out across every app you own — create the bundle, sell it, and both apps get entitled.