{"id":47782417,"url":"https://github.com/pixari/gitvana","last_synced_at":"2026-04-07T17:00:31.608Z","repository":{"id":348607231,"uuid":"1197743108","full_name":"pixari/gitvana","owner":"pixari","description":"Learn git by playing. A retro browser game where you type real git commands in a real terminal to solve puzzles at the Monastery of Version Control. ","archived":false,"fork":false,"pushed_at":"2026-04-06T13:29:58.000Z","size":1156,"stargazers_count":46,"open_issues_count":4,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T16:03:18.685Z","etag":null,"topics":["games","git","retro"],"latest_commit_sha":null,"homepage":"https://gitvana.pixari.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING_TRANSLATIONS.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-31T21:03:59.000Z","updated_at":"2026-04-06T13:30:01.000Z","dependencies_parsed_at":"2026-04-06T16:00:43.075Z","dependency_job_id":null,"html_url":"https://github.com/pixari/gitvana","commit_stats":null,"previous_names":["pixari/gitvana"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pixari/gitvana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixari%2Fgitvana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixari%2Fgitvana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixari%2Fgitvana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixari%2Fgitvana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixari","download_url":"https://codeload.github.com/pixari/gitvana/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixari%2Fgitvana/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31520577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["games","git","retro"],"created_at":"2026-04-03T13:45:49.073Z","updated_at":"2026-04-07T17:00:31.332Z","avatar_url":"https://github.com/pixari.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/pixari"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/screenshot.png\" alt=\"Gitvana — Reach git enlightenment\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eGitvana\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ccode\u003e⚠️ ALPHA — Work in progress. Bugs, rough edges, and the occasional angry monk ahead. ⚠️\u003c/code\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eLearn git by playing.\u003c/strong\u003e A retro browser game where you type real git commands in a real terminal to solve puzzles at the Monastery of Version Control.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  🎮 \u003ca href=\"https://gitvana.pixari.dev\"\u003e\u003cstrong\u003ePlay now — gitvana.pixari.dev\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What is this?\n\nGitvana is a browser-based game that teaches git through 35 progressively harder levels. No slides, no videos — you type actual git commands and watch the results in real time.\n\nYou play as a monk climbing toward enlightenment. The Head Monk assigns you tasks. A cat judges your commits.\n\n## Features\n\n**Real git, in your browser**\n- Powered by isomorphic-git + lightning-fs — a complete git engine running client-side\n- Every command you type (`git add`, `git rebase`, `git bisect`...) executes for real\n- 21 git commands implemented: init, add, commit, status, log, diff, branch, checkout, merge, reset, rm, tag, cherry-pick, show, revert, stash, reflog, rebase, blame, bisect, update-ref\n\n**35 levels across 6 acts**\n- Act 1: *Awakening* — The basics\n- Act 2: *The Middle Path* — Tags, cherry-pick, revert, stash\n- Act 3: *Rewriting Reality* — Rebase, amend, squash, secret purging\n- Act 4: *The Safety Net* — Reflog, blame, bisect, recovery\n- Act 5: *Advanced Techniques* — Surgical staging, dependency chains\n- Act 6: *Gitvana* — The final trial\n\n**Everything you need to learn**\n- Live file state panel (working dir / staging / repo)\n- Commit graph visualization\n- Built-in docs with 9 conceptual guides + 21 command references\n- Tab completion, command history, conflict editor\n- Monkey Island-style humor throughout\n\n**Zero setup**\n- Runs entirely in the browser\n- No backend, no database, no sign-up\n- Works offline (PWA)\n- Progress saved to localStorage\n\n## Tech stack\n\n- [Svelte 5](https://svelte.dev) — UI framework\n- [isomorphic-git](https://isomorphic-git.org) — Git engine in JavaScript\n- [lightning-fs](https://github.com/isomorphic-git/lightning-fs) — In-memory filesystem\n- [xterm.js](https://xtermjs.org) — Terminal emulator\n- [Vite](https://vitejs.dev) — Build tool\n- [UnoCSS](https://unocss.dev) — Atomic CSS\n- Web Audio API — Retro sound effects\n- [PixelLab](https://pixellab.ai) — AI-generated pixel art\n\n## Run locally\n\n```bash\ngit clone https://github.com/pixari/gitvana.git\ncd gitvana\nbun install\nbun run dev\n```\n\nOpen [http://localhost:5173](http://localhost:5173)\n\n## Run tests\n\n```bash\nbun test\n```\n\nAll 35 levels have automated tests that verify the solution works.\n\n## Project structure\n\n```\nsrc/\n├── components/          # Svelte UI components\n│   ├── terminal/        # xterm.js terminal\n│   ├── file-state/      # Working dir / staging / repo panels\n│   ├── graph/           # Commit graph visualization\n│   ├── level/           # Level intro, complete, objectives\n│   ├── editor/          # File editor, conflict resolver\n│   ├── docs/            # Docs page\n│   ├── landing/         # Landing page\n│   ├── progression/     # Mountain path, monk evolution\n│   └── shared/          # DevPanel, PixelArt, ShareCard\n├── lib/\n│   ├── engine/\n│   │   ├── git/         # GitEngine + 22 command implementations\n│   │   ├── shell/       # ShellBridge, builtins, tab completion\n│   │   ├── level/       # LevelLoader, LevelValidator\n│   │   ├── progression/ # Stages, persistence\n│   │   └── events/      # GameEventBus\n│   └── audio/           # Web Audio chiptune sounds\n├── levels/              # 35 level JSON definitions\n│   ├── act1-basics/\n│   ├── act2-branching/\n│   ├── act3-conflicts/\n│   ├── act4-rewriting/\n│   ├── act5-recovery/\n│   └── act6-collaboration/\n├── docs/                # Command docs + conceptual guides\n└── main.ts              # Entry point\n```\n\n## Found a bug?\n\n```\n╔══════════════════════════════════════════╗\n║  The monks welcome bug reports.          ║\n║  Even the cat files issues sometimes.    ║\n╚══════════════════════════════════════════╝\n```\n\n**[→ Report an issue on GitHub](https://github.com/pixari/gitvana/issues/new)**\n\nInclude:\n- Which level you were on\n- What you typed\n- What happened vs what you expected\n- Screenshot if possible\n\n## Contributing\n\nGitvana is in **alpha** — contributions are welcome!\n\n**Quick wins:**\n- Fix a level validator (most bugs are in the JSON files in `src/levels/`)\n- Add a new level (copy an existing JSON, change the content)\n- Improve docs (`src/docs/commands/index.ts` and `src/docs/guides/index.ts`)\n- Fix a git command edge case (`src/lib/engine/git/commands/`)\n\n**Getting started:**\n```bash\ngit clone https://github.com/pixari/gitvana.git\ncd gitvana\nbun install\nbun run dev          # Vite dev server on :5173\nbun run dev:server   # API server on :3000 (optional, for telemetry)\nbun test             # Run all 35 level tests\n```\n\n**Before submitting a PR:**\n- Run `bun test` — all 35 level tests must pass\n- Run `bun run build` — no build errors\n- If you changed a level, update the solution in `src/lib/engine/shell/solutions.ts`\n\n## Credits\n\nBuilt by [Raffaele Pizzari](https://pixari.dev) ([@pixari](https://github.com/pixari))\n\nPixel art generated with [PixelLab](https://pixellab.ai)\n\nIf this helped you learn git, consider [buying me a coffee](https://buymeacoffee.com/pixari) ☕\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixari%2Fgitvana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixari%2Fgitvana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixari%2Fgitvana/lists"}