Vineyard for developers. Grapevines are codebases, wine is data, terroir is tech stack, harvest is release, aging is CI maturation.
  • JavaScript 100%
Find a file
2026-06-30 11:14:09 +00:00
node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 test: add e2e tests 2026-06-28 11:09:38 +00:00
src feat(#1): vineyard engine — vines, grapes, terroir, harvest, wine cellar, ASCII vineyard 2026-06-15 15:05:52 +00:00
tests fix: e2e tests now use CommonJS require for node --test compatibility 2026-06-30 11:14:06 +00:00
package.json feat(#1): vineyard engine — vines, grapes, terroir, harvest, wine cellar, ASCII vineyard 2026-06-15 15:05:52 +00:00
README.md feat(#1): vineyard engine — vines, grapes, terroir, harvest, wine cellar, ASCII vineyard 2026-06-15 15:05:52 +00:00

code-vineyard

Vineyard for developers. Grapevines are codebases, wine is data, terroir is tech stack, harvest is release, aging is CI maturation.

Usage

const { Vineyard, VARIETIES } = require('./src/vineyard');

const vy = new Vineyard('Chateau du Code');
vy.setVintner('Pierre');

// Plant vines (codebases)
vy.plantVine('Row D - ML Pipeline', VARIETIES.PINOT_NOIR);
vy.plantVine('Row E - Microservice', VARIETIES.SYRAH);

// Adjust terroir (tech stack)
vy.terroir.setSoil(85);
vy.terroir.setSun(75);

// Time passes
for (let i = 0; i < 20; i++) vy.tick();

// Harvest!
vy.harvestAll();
vy.advanceYear();

console.log(vy.vineyardView());
console.log(vy.report());

Grape Varieties

  • Pinot Noir (Python) — Elegant, finicky, quality 85
  • Cabernet (Rust) — Bold, structured, hardiness 90
  • Merlot (JavaScript) — Versatile, everywhere
  • Chardonnay (Go) — Clean, efficient, concurrent
  • Riesling (Haskell) — Precise, pure, ages forever
  • Syrah (C++) — Powerful, dark, intense
  • Tempranillo (Ruby) — Warm, elegant, developer happiness

Terroir (Tech Stack)

Soil = Framework quality, Sun = CPU, Rain = Bandwidth, Temp = Latency

Components

  • Vine — 7 varieties, 8 growth stages (dormant->raisin), sugar/acidity tracking
  • Terroir — Soil/sun/rain/temp affecting quality (Grand Cru -> Table Wine)
  • Wine — Vintage system with aging and ratings
  • Vineyard — Vintner, harvest, cellar, pest management, ASCII rows