All articles

VIBEFIX GUIDES

AI Coding Guides

Practical knowledge for tools, deployment, workflows, and building projects.

Charge lifecycle flowchart for one AI API call: idempotency check, row lock, pre-auth hold, execution, then settle on success or rollback on failure
Guide
Metered Billing in the AI Era: Designing and Reconciling a Credits Ledger

Your users' credits are not a balance column — they're a journal. This guide builds a double-entry credits ledger for AI SaaS: immutable journal schema you can copy, idempotent deduction with row locks, two-phase pre-auth/settle for unpredictable token usage, refund and expiry write-backs, a three-way daily reconciliation, negative-balance circuit breakers, and an anti-abuse checklist.

Payments & MonetizationBackend EngineeringIndie Development
Photo of a security researcher at work, with bug bounty related content on the computer screen
Guide
Bug Bounty Operations for Vibe Projects: From Pricing to Payout

A bounty program burns budget to save you from incidents. This guide covers when to launch, how to price, how to write scope, how to set up disclosure channels, how to choose a platform, how to triage and deduplicate, how to filter AI slop reports, how to communicate with hunters, and how to set remediation SLAs — a complete, ready-to-run bounty operations playbook for vibe projects.

DeploymentProject BuildingStartup Journey
Tencent Cloud console showing the ICP filing operation walkthrough for domains
Guide
Launching in China? Clear These Three Filings First: ICP, PSB, and App Registration SOP

Servers in mainland China, domestic payments, mini-program listing — everything needs filing. This is the three-gate map for Chinese indie developers: ICP filing, PSB filing, and App filing — trigger self-checks, materials checklists, top rejection reasons with fixes, the individual vs enterprise red lines, and the real cost of 'launch first, file later'.

DeploymentIndie DevelopmentStartup Journey
Dark theme toggle switch UI mockup: a dark pill labeled "Dark theme" with a moon-icon switch
Guide
Stop Flashbanging Your Users: Dark Mode and Theme Switching for Vibe Projects

AI-built dark mode fails three predictable ways: hardcoded colors, white flashes on toggle, system preference fighting explicit choice. The fix: semantic CSS variables as the single source of truth, Tailwind v4 @custom-variant wiring, a system/light/dark state machine, an inline <head> script killing SSR first-paint flash (Next.js specifics, quantified acceptance), plus images, canvas charts, iframe embeds, WCAG AA contrast sampling — and a 5-step migration SOP with an AI rewrite prompt.

Tool TipsDesign SystemsProject Building
Flat illustration of a developer facing code and browser windows, symbolizing hands-on Web Push implementation
Guide
Web Push from Zero to One: A Code-First Guide for Vibe Projects

Web Push looks like a half-hour job until production hits you with iOS no-delivery, VAPID 401s, and a rotting subscription table. This code sequel walks the full chain: VAPID key generation and safekeeping, permission timing, Service Worker push/click handling, server-side web-push in practice, iOS 16.4 adaptation, 410 subscription cleanup, and a debugging checklist — all code ready to ship.

Node.jsTool TipsBackend Engineering