Open-source tool | 2025
Ephemeral Scratchpad CLI
Developer CLI that creates disposable multi-language scratch workspaces, opens them in your editor, and cleans them up safely.
Role
Primary developer
Stack
TypeScriptNode.jsCommanderVitestGitHub Actionsnpm
Local source folder: cli-Ephemeral-main
Quick Highlights
- - Implemented an interactive `scratch` flow: create temp workspace, launch editor, then prompt to save or discard.
- - Shipped starter templates for TypeScript, JavaScript, Python, Go, C, C++, and Java, including Makefiles for C/C++.
- - Added guarded cleanup commands (`scratch clean`, `scratch clean-all`) that only delete `scratch-*` directories inside OS temp paths.
- - Implemented editor resolution with cross-platform fallbacks (`SCRATCH_EDITOR`/`VISUAL`/`EDITOR`, VS Code wait mode, macOS/Windows/Linux defaults).
- - Verified behavior with automated checks (`npm run check`: typecheck + 19 tests + build) and CI/release workflows.