AI writes the code, but you have to explain it in interviews. ink automatically turns every commit into clear Obsidian study notes and flashcards so you always master what you shipped.
From raw Git diff to interconnected Obsidian note and interactive interview quiz.
Exponential backoff is a strategy where our app waits longer after each failed request (1s, 2s, 4s) instead of spamming the server immediately. Adding random jitter prevents all clients from retrying at the exact same millisecond.
- Q: Why do we add jitter to exponential backoff instead of just using pure exponential delay?
Answer: Pure exponential backoff causes the "thundering herd problem" where multiple clients retry at synchronized waves. Adding random jitter desynchronizes the retries and smooths out server traffic.
- [[2026-10-23-adb8e16]] : src/llm.ts
Built with pure Node.js, strict TypeScript, and zero heavy frameworks.
When you take notes, you write in plain English. Concepts are explained like a teammate chatting over coffee—free from robotic AI fluff and textbook jargon.
Run ink install-hook once. Every commit triggers an asynchronous post-commit process that never blocks your git workflow.
Combines exact slug matching, normalized tokens with filler words dropped, and Levenshtein similarity to merge concepts automatically into your existing notes.
Uses the battle-tested SuperMemo-2 algorithm to calculate review intervals and ease factors so you review difficult concepts more frequently and retain knowledge longer.
Generates standard YAML frontmatter, tags, aliases, and bidirectional [[wikilinks]] that instantly light up your Obsidian graph view.
Practice technical interviews right in your terminal. Explain your commit in your own words, and get graded from 0 to 5 on accuracy, missed edge cases, and follow-ups.
Generate notes on-demand for specific commits, or turn on the background hook for 100% automation.
Run once in the cloned repository to compile TypeScript and register ink in your system PATH so it runs anywhere:
Save your API key in your home directory so all projects detect it automatically:
Writes your key to ~/.ink/.env in your user home directory.
Creates $HOME\.ink\.env in your user profile folder.
Navigate into any project folder and connect it to your Obsidian vault directory:
Use whichever approach fits your current coding workflow:
Generate study notes only when you want them without installing any background hooks.
Set it and forget it. Every git commit triggers silent background note generation.
Retain what you built with spaced-repetition and test your architectural reasoning:
Generates today's interactive quiz note with spaced repetition (SM-2) and click-to-reveal answers.
Explain your architectural decisions in plain words right in your terminal. Get scored 0 to 5.