$ drift replay --session last-2-weeks
> indexing 2,341 commits across 47 repos...
> 0xFA2C1 — "wire auth v2" by @you
> 0xFA2B7 — "remove unused middleware" by @you
> ready. type 'open' to play.
// your code remembers. do you?
Drift captures the trail behind every edit, commit, branch hop, test run, and revert. Scrub backward through the work, replay decisions in order, and recover the why behind code that normally disappears into git history.
$ man drift
$ drift --help
Reconstructs a development session as a frame-by-frame timeline. Drift keeps the branch switches, file saves, failing tests, pasted snippets, and commits in the same order they happened.
use when: you need to explain how a feature actually came togetherOpens any checkpoint as a living diff, not a static before/after. Watch a function collapse, expand, rename, and settle before the final patch lands.
emits: file events, hunk moves, dependency changes, test statusStores local context without turning your private work into a feed. Push encrypted journals to your own storage, attach them to PRs, or keep them offline.
default: local-first, encrypted at rest, repo-scoped permissionsAnswers the useful version of blame: what changed, what prompted it, which test went red, and what evidence made the final version stick.
pairs with:git log, editor saves, terminal history, CI output
$ drift log --since friday
$ tail -f .drift/session.log
$ drift pricing
$ drift pricing --format table
Start with a local journal. Pay when the replay becomes team memory.
$ drift pricing ┌──────────────┬──────────────────────┬──────────────────────────────┬──────────────────────────────┐ │ plan │ price │ includes │ best for │ ├──────────────┼──────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ local │ $0 / developer │ local journals, replay, diff │ solo debugging, memory │ │ │ │ 30 day history, CLI export │ before a context switch │ ├──────────────┼──────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ team │ $12 / seat / month │ shared sessions, PR embeds │ teams that review work │ │ │ │ encrypted sync, retention │ by watching the path │ ├──────────────┼──────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ archive │ custom │ compliance vault, SSO, logs │ regulated codebases with │ │ │ │ admin export, policy hooks │ long-lived audit trails │ └──────────────┴──────────────────────┴──────────────────────────────┴──────────────────────────────┘
$ drift install
$ curl the recorder into place
$ curl -sSf drift.run/install | sh
One binary, one local journal, no hosted account required. Drift starts recording when your editor and shell start changing the repo.