/ashlr-demo
30-second scripted showcase of ashlr token savings on a real file in the current project.
When to use
When onboarding a teammate or showing ashlr's value to a skeptic. Runs entirely on real project files — no mocked data.
What it does
- Finds the largest TypeScript (or relevant source) file in the current repo, ignoring
node_modulesand build artifacts. - Calls
ashlr__readon it and captures the returned payload size. - Compares payload size to the raw file size via
wc -c. - Prints a before/after comparison with the savings percentage.
- Runs a timed grep to show genome vs ripgrep speed difference (if genome is present).
Output
Related
/ashlr-tour— full 60-second guided walkthrough/ashlr-savings— real accumulated savings data