Local development toolkit - 11 CLI tools you actually need, working together.
npm install -g @codavidgarcia/devtoolboxProject Setup
init- Auto-setup projects (detects type, generates .gitignore, checks env, frees ports)
Environment & Ports
doctor- Check Node, npm, Git, internet, and detect blocked portsports- List all active portskill-port <port>- Kill process on any port
Network
online- Check internet connectivity (gateway, DNS, HTTP)ip- Show local and public IP addresses
Security & Encoding
jwt <token>- Decode JWT tokens (works offline)hash <text>- Generate hashes (md5, sha1, sha256, sha512)encode/decode <text>- Base64 encoding
Project Files
gitignore <templates>- Generate .gitignore from templates
The commands talk to each other and learn from your usage:
# doctor detects issues and suggests fixes
$ devtoolbox doctor
✗ Port 3000 in use (node)
→ Run 'devtoolbox kill-port 3000' to fix
# kill-port learns from frequent usage
$ devtoolbox kill-port 3000
✓ Killed node (PID 1234) on port 3000
Tip: Port 3000 is frequently blocked
→ Run 'devtoolbox ports' to see all active ports
# ports shows which ones you use often
$ devtoolbox ports
Active Ports:
3000 node PID 1234 [COMMON]
8080 nginx PID 5678
[COMMON] = Frequently used in your projectsThey share context (~/.devtoolbox/context.json) to remember patterns and suggest next steps.
Setup a new project:
devtoolbox init
# Detects project type, generates .gitignore, checks env, frees portsCheck your environment:
devtoolbox doctorSee all active ports:
devtoolbox ports
devtoolbox ports --common # only common dev portsKill a process:
devtoolbox kill-port 3000Decode a JWT:
devtoolbox jwt eyJhbGc...Generate .gitignore:
devtoolbox gitignore node macosCheck connectivity:
devtoolbox onlineI kept installing separate tools for these tasks. This bundles them and makes them work together through shared context (~/.devtoolbox/context.json).
Pull requests welcome. See CONTRIBUTING.md.
MIT