Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BugBite

BugBite is a tiny SaaS test app with one task: turn a messy customer complaint into a clean bug ticket.

The generator is locked behind a Bags payment layer. The browser calls local Vercel API routes, those routes create and verify Bags checkout sessions server-side, and the tool unlocks only after Bags reports the checkout as complete.

The current test plan is BugBite Pro for $0.10.

Bags environment

Set these in Vercel before production checkout will work:

BAGS_API_KEY=bag_test_...
BAGS_PRODUCT_ID=<bags-product-uuid>
BAGS_NETWORK=base

Optional:

BAGS_API_BASE_URL=https://getbags.app

Create the Bags plan

With a Bags API key available locally:

BAGS_API_KEY=bag_test_... npm run bags:create-plan

The script creates:

  • a $0.10 BugBite Pro product
  • a reusable Bags payment link for that product on Base and Solana

Use the returned productId as BAGS_PRODUCT_ID in Vercel.

Run locally

npm install
npm run dev

Build

npm run build

Deploy

This app is Vercel-ready. Vercel detects the Vite build and serves the dist output.

Releases

Packages

Contributors

Languages