claudeers.
// Education & Learning

momentum

A strict daily planner and Codeforces trainer that runs locally in your browser, with a Claude coach and day planner via Claude Code

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up momentum (git-clone project) into my current project.
Found on https://claudeers.com/momentum
Repo: https://github.com/irrationalpi2008-bot/momentum
Homepage/docs: —
Detected install method: git-clone → git clone https://github.com/irrationalpi2008-bot/momentum
Category: education. Platforms: cli, api, web.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
unknown; community-verified: false. Confirm the source before running anything.
// or clone
git clone https://github.com/irrationalpi2008-bot/momentum

// compatibility

Platformscli, api, web
Operating systems—
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageTypeScript

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

Momentum

A strict daily planner and Codeforces trainer that runs in your browser and only rewards real work. It comes with a personal Claude coach and a Claude day planner that run through the Claude Code CLI on your own machine.

Momentum is a local app: a zero-dependency Python server on 127.0.0.1 serves a React PWA and stores everything in a JSON file on your disk. No accounts, no cloud, no telemetry.

Today: schedule, the current block, combo and real work done

What it does

Planner

  • XP is real work. XP = minutes worked × category weight (deep work and study 1.0, admin 0.6, health 0.4, life 0.3, breaks 0) × earned multipliers (on time, combo, streak, locked plan). Nothing is random.
  • Today: your schedule with a live "now" card, focus and Pomodoro timers, combos, streaks, quests and goals. Tasks you finish without a timer ask when you really did them.
  • Timeline: what you actually did, side by side with what you planned. Overlaps count once, midnight is split correctly, and untimed tasks show as dashed blocks you can tap to log.
  • Plan: describe your week in plain words (classes, exams, gym) and the Claude planner lays out blocks, shows a diff preview, and applies or undoes it.
  • Exam seasons: tell the planner or Settings your exam dates and training targets drop (45 min of practice, no daily mock, rated rounds optional) while study days count towards discipline.

Codeforces trainer

  • Link a handle and your submission history becomes an Elo-style rating per topic.
  • Daily practice sessions are picked for growth: weak topics just above your level, fluency at your level, stretches, upsolves and spaced re-solves. Accepted submissions on Codeforces are detected automatically.
  • A daily mock contest (6 problems, 2 hours) from topics you've learned, or an unseen past round taken as a virtual participation, scored as a performance rating.
  • A contest radar for upcoming rated rounds, a live-contest overlay, an upsolve queue with no deadline, an idea bank with spaced repetition, and a curriculum with curated reading per topic.

Claude coach

  • One long-lived Claude Code conversation that sees every problem you open, every verdict, time to AC, hints used, your mocks, hours and discipline.
  • It answers in chat, sets a "Do this now" instruction, adds concrete to-dos to Today, keeps a weakness board and a notebook, reviews pasted code (hints first), and designs your practice sessions within fixed bounds.

Archive

  • A permanent record of every mock, rated round, virtual and practice session you have ever done, with every problem and its full attempt history, kept on the server in data/archive/ and never pruned (built to stay useful for years).
  • Upsolve: every problem you have not solved yet, from every round, mock, virtual and practice session: wrong answers, ones you opened, skipped or wrote code for, and ones you never opened. A problem leaves the list on its own once you solve it on Codeforces.
  • Flashcards for every problem you solve, written on their own in the background by a one-shot claude -p: the statement in brief, how it should be solved, how you solved it (read from your own code) and what differed, reviewed with spaced repetition. Due cards show up on Today.
  • Your solutions folder: each file is linked to its problem (fix any link by hand), and the folder can keep itself organized: linked files go to Contests/, Virtual/, Mocks/ or Practice/, in a folder per round or day, named <problem id> <name>.cpp. Files edited in the last 2 hours are left alone, nothing is overwritten, contents never change, and the last batch can be undone.
  • The coach can read that folder and the archive (read-only), and a restarted coach gets a month-by-month digest of the whole history.

Progress

  • Rating vs. practice level, work hours, discipline score, habits, a topic ladder and more, all with table views.
TrainCoach
TimelineStats
PlanLadder

Keyboard shortcuts: 1–6 switch tabs, n adds a task, Space starts or pauses the timer, m minimises it, / focuses the coach chat, ? lists them all.

Requirements

  • Node.js 20+ (to build the front end)
  • Python 3.10+ (the server uses only the standard library)
  • Optional, for the coach and planner: Claude Code installed and logged in on the same machine. Everything else works without it.

Quick start

git clone https://github.com/irrationalpi2008-bot/momentum.git
cd momentum
npm install
npm run build          # type-checks and builds dist/
python3 server.py      # serves the app on http://localhost:8787 and prints your server key

Open http://localhost:8787, go to Settings → Local server, paste the key that server.py printed and press Connect. The key is also saved in data/sync_key.txt.

Chrome and Edge can install it as an app (the install button is in Settings), and it keeps working offline.

Start the server automatically (systemd user service)

mkdir -p ~/.config/systemd/user
cp contrib/momentum.service ~/.config/systemd/user/   # edit the path inside first
systemctl --user daemon-reload
systemctl --user enable --now momentum

Configuration

SettingDefaultWhat it does
--port8787Port to listen on (always 127.0.0.1)
MOMENTUM_DATA./dataWhere state, backups and Claude sessions are stored
MOMENTUM_KEYrandom, saved to data/sync_key.txtServer key the browser needs
MOMENTUM_COACH_MODEL / MOMENTUM_PLANNER_MODELopusModel passed to claude -p
MOMENTUM_CLAUDE_MAX_DAY40 coach / 30 plannerTurn cap per session per day
MOMENTUM_CLAUDE_TIMEOUT900Timeout for one Claude turn, in seconds
MOMENTUM_CLAUDE_BUDGETunsetPassed to claude -p --max-budget-usd
MOMENTUM_CLAUDE_BINclaudePath to the Claude Code binary (point at a stub for testing)
MOMENTUM_DIST./distBuilt front end to serve
MOMENTUM_CODEunsetYour solutions folder, read by the Archive and the coach (the path set in the Archive tab wins)
MOMENTUM_CARD_MODELsonnetModel used to write flashcards
MOMENTUM_CARD_MAX_DAY60Flashcards written per day at most (the rest wait for the next day)
MOMENTUM_AUTO_CARDS10 stops writing flashcards on their own (the buttons still work)

Data lives in data/state.json, with a daily backup in data/backups/ (the last 14 days). The archive lives in data/archive/ (plain JSON and text, append-only, never pruned) with its own daily snapshot data/backups/archive-YYYY-MM-DD.tar.gz; copy data/archive/ somewhere safe now and then to keep it for good. Claude sessions live in data/claude/. If a conversation is ever lost, the server starts a new one and re-seeds it from the coach's notebook.

Development

npm run dev                      # Vite on http://localhost:5181; point Settings at a running server.py
npm test                         # scenario tests (node, no browser needed)
python3 tests/server_check.py    # server checks

The first test run downloads the public Codeforces problem set into tests/fixtures/ (git-ignored).

Layout

server.py         HTTP server: static files, state API, backups, Claude session endpoints
sessions.py       long-lived claude -p sessions (coach and planner)
archive.py        permanent archive (activities, problems, statements, code links, flashcards, SM-2) and the card worker
prompts.py        system prompts and output schemas
src/              React app (store.ts = state and merge rules, train.ts = trainer, coach.ts, planner.ts, season.ts …)
curriculum/       topic curriculum with curated problems and reading
tests/            scenario suites and server checks
contrib/          systemd unit template

Privacy

Everything stays on your machine. The browser talks only to your local server, Codeforces' public API (for your handle's submissions and the problem set) and Google Fonts. The coach and planner send your training data to Claude through your own Claude Code login; the coach and the flashcard writer can also read the solutions you linked (the coach only inside your solutions folder and data/archive/, read-only).

License

MIT

// faq

What is momentum?

A strict daily planner and Codeforces trainer that runs locally in your browser, with a Claude coach and day planner via Claude Code. It is open-source on GitHub.

Is momentum free to use?

momentum is open-source under the MIT license, so it is free to use.

What category does momentum belong to?

momentum is listed under education in the Claudeers registry of Claude-compatible tools.

4 views
★ 10 stars
unclaimed
updated 3 days ago

// embed badge

momentum on Claudeers
[![Claudeers](https://claudeers.com/api/badge/momentum.svg)](https://claudeers.com/momentum)

// retro hit counter

momentum hit counter
[![Hits](https://claudeers.com/api/counter/momentum.svg)](https://claudeers.com/momentum)

// reviews

// guestbook

0/500

// related in Education & Learning

🔓

Skills for Real Engineers. Straight from my .claude directory.

// educationmattpocock/⟨Shell⟩★ 327,486◷ MIT[ claude ]
🔓

Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.

// educationmlabonne/★ 85,171◷ Apache-2.0[ claude ]
🔓

Learn it. Build it. Ship it for others.

// educationrohitg00/⟨Python⟩★ 79,059◷ MIT[ claude ]
🔓

DeepTutor: Agent-native Personalized Tutoring. https://deeptutor.info/.

// educationHKUDS/⟨Python⟩★ 58,346◷ Apache-2.0[ claude ]
→ see how momentum connects across the ecosystem