DEV Community

ke jia
ke jia

Posted on

5 Open-Source CLI Tools I Wish I Discovered Sooner

The Discovery

I spent years doing things the hard way. Then I found these 5 CLI tools that completely changed my workflow. All free, all open-source.


1. Secret Scanner: dotguard

npm i -g @wuchunjie/dotguard && dotguard
Enter fullscreen mode Exit fullscreen mode

Scans your entire project for hardcoded secrets, API keys, and passwords. Found a Stripe test key I'd committed 6 months ago. Not my proudest moment.

2. Git Analytics: gitpulse

npm i -g @wuchunjie/gitpulse && gitpulse
Enter fullscreen mode Exit fullscreen mode

Like Google Analytics but for your git repo. Shows commit patterns, file hotspots, team velocity. I discovered my most-edited file changes 3x more than average.

3. Project Scaffolder: scaffoldx

npm i -g scaffoldx-cli && scaffoldx init
Enter fullscreen mode Exit fullscreen mode

Generates production-ready project templates with proper TypeScript, ESLint, Prettier, and testing configs. No more copying package.json from old projects.

4. Snippet Manager: snippetx

npm i -g @wuchunjie/snippetx && snippetx
Enter fullscreen mode Exit fullscreen mode

CLI snippet manager. Tag, search, share code snippets without leaving the terminal. Replaced my messy ~/snippets/ folder.

5. Bonus: Combine Them

scaffoldx init my-app && cd my-app
dotguard          # scan for secrets
gitpulse          # track changes
snippetx          # save useful patterns
Enter fullscreen mode Exit fullscreen mode

These tools saved me hours per week. The best part? They're all under 100KB and install in seconds.

What CLI tools can't you live without? 👇

☕ Support open-source

Top comments (0)