Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built my husband a vim trainer with a Gemma coach that runs in the browser

Описание и применение

Создано приложение для обучения Vim с помощью AI‑коуча Gemma, работающего в браузере, что позволило мужу продолжать обучение без внешнего давления.

Задача

My husband struggled to learn vim because of too many commands to memorize and slow, awkward experience compared to his usual tools.

Результат

The app enabled sustained engagement with Vim drills, providing real-time feedback and AI-generated hints, leading to continued learning without external motivation.

Рабочий процесс

  • 1. Design lessons with limited commands and cheat sheet.
  • 2. Implement real Vim editor using CodeMirror 6 and @replit/codemirror-vim.
  • 3. Create drills with reference solutions and par checks via test suite.
  • 4. Add AI coach using Gemma 4 E2B on WebGPU with Transformers.js.
  • 5. Generate additional drills with Gemma and validate them.
  • 6. Deploy static site on Cloudflare Workers.
  • 7. Provide live demo and documentation.

Доказательства

My husband has wanted to learn vim for a long time. He's tried a bunch of times, and it always ends the same way: he gives up.

Источник

Each drill gives you a small buffer, a goal, and a keystroke "par" to beat. You solve it in a real vim editor, not a simulation.

Источник

The AI coach is optional and off by default. When you turn it on, it downloads Gemma 4 E2B once and runs it in a Web Worker on WebGPU with Transformers.js.

Источник

The app supplies the keys by reusing the key patterns from that lesson's hand‑written drills on the new text. Then it plays them in real vim to get the goal and par.

Источник

It's a static site on Cloudflare Workers static assets.

Источник

  • Дата записи: 2026-10-11T21:41:07.203Z