Find it while the thought is fresh
Search titles, code, notes, languages, and tags from the terminal or the browser.
Save the code worth reusing, find it without breaking flow, and keep every snippet in a SQLite file you control. No account or subscription required.
npm install --global https://github.com/tanRdev/codecache/releases/latest/download/codecache-cli.tgzLocal library
useLocalStorage
export function useLocalStorage<T>(key: string) {
Retry with backoff
Reusable implementation with notes
Docker healthcheck
Reusable implementation with notes
Cache keeps the useful parts of your past work close without turning them into another hosted service to maintain.
Search titles, code, notes, languages, and tags from the terminal or the browser.
Save notes and attach reference files so a snippet still makes sense months later.
One SQLite file and a local attachments folder. Easy to inspect, move, and back up.
Capture without leaving your editor, then browse and edit when you want more room. Both use the same local data.
$cache add ./retry.ts --tag typescript --tag network
✓ Saved “Retry with backoff”
$cache search backoff
Install Cache, add your first snippet, and keep the database wherever you already back up important work.