Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

NickCirv/vibe-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Banner

vibe-coding

Type English. Ship code. Track the ratio.

npm version license GitHub stars

The Problem

You tell Claude what to build. Claude writes the code. But nobody's measuring the ratio. How many words did you type to ship 2,847 lines? What's your personal multiplier? Is it going up?

Stop counting lines of code written. Start counting lines of English typed. That's the real metric now.

Quick Start

# Start a tracked vibe coding session
npx vibe-coding start

# Check your stats
npx vibe-coding stats

# Generate a badge for your README
npx vibe-coding badge

No API key needed โ€” wraps Claude Code and reads git diffs locally.

Example Output

Session End

  โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
  โ”‚         VIBE CODING STATS             โ”‚
  โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
  โ”‚  Latest Session  2026-02-27           โ”‚
  โ”‚  Words typed:        43               โ”‚
  โ”‚  Lines generated:    2,847            โ”‚
  โ”‚  Ratio:              66:1 ๐Ÿ”ฅ          โ”‚
  โ”‚  Duration:           47m              โ”‚
  โ”‚  Files changed:      12               โ”‚
  โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
  โ”‚  All Time                             โ”‚
  โ”‚  Total sessions:     23               โ”‚
  โ”‚  Total words:        891              โ”‚
  โ”‚  Total lines:        47,293           โ”‚
  โ”‚  Lifetime ratio:     53:1             โ”‚
  โ”‚  Time saved:         ~1,182 hours     โ”‚
  โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Badge Mode

$ npx vibe-coding badge

  Badge written to vibe-badge.svg
  Add to your README:

  ![Vibe Ratio](vibe-badge.svg)

Vibe Ratio

Features

  • Wraps Claude Code and tracks every English instruction you type
  • Counts lines generated via git diff --stat after each change
  • Calculates your personal typing-to-code multiplier
  • Session history saved to ~/.vibe-coding/sessions.json
  • Generates a shareable SVG badge for your README
  • Estimates time saved vs manual coding (baseline: 40 lines/hour)
  • All Time stats across every session

How It Works

  1. npx vibe-coding start launches Claude Code inside a tracked wrapper
  2. Every line you type is counted as "words typed"
  3. After each Claude Code change, git diff --stat is read for lines generated
  4. At session end, ratio is calculated and saved to local history
  5. stats and badge commands pull from that history

What Counts

  • Words typed: Your English instructions to Claude (not code you type manually)
  • Lines generated: Actual code changes tracked via git diff
  • Time saved: Estimated vs manual coding at ~40 lines/hour baseline

Ratio Scale

Ratio Rating
50:1+ Green โ€” peak vibe
20:1โ€“49:1 Yellow โ€” solid session
<20:1 White โ€” keep vibing

Requirements

  • Claude Code installed (claude in PATH)
  • Git repo in your project directory (for diff tracking)
  • Node.js 18+

See Also

  • 100x-dev โ€” Full velocity dashboard for AI-assisted development
  • dev-journal โ€” Auto daily dev journal from your git history
  • pr-poet โ€” PR descriptions that are actually good. Also: haikus.

License

MIT โ€” NickCirv

About

Type English, ship code, track the ratio. Measures how much of your output is natural language vs manual coding. ๐ŸŽต

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors