Skip to content

SamSi0322/DevToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevToolkit

43 zero-dependency Python CLI tools for developers. Copy any file and run it -- no pip install, no setup, no configuration. Works on Windows, macOS, and Linux.

Quick Start

# Browse all tools
py toolkit.py

# Search by keyword
py toolkit.py search "api"
py toolkit.py search "json"

# Run any tool
py serve.py -p 3000
py fakegen.py user 10 --format json
py secretscan.py .

Tools by Category

Web/API (5 tools)

Tool Description Example
serve.py Local dev server with CORS, file upload, SPA mode py serve.py -p 3000 --cors
mockapi.py Mock API server from JSON config py mockapi.py routes.json
httpprobe.py Batch URL health checker with SSL info py httpprobe.py url1 url2 --ssl
catchhook.py Webhook receiver & request inspector py catchhook.py -p 9000
httpfile.py Run .http files (VS Code REST Client format) py httpfile.py requests.http

Data (6 tools)

Tool Description Example
dataconv.py Convert between JSON, YAML, TOML, CSV, XML py dataconv.py data.json -o data.yaml
csvtool.py Query & transform CSV (filter, sort, groupby) py csvtool.py data.csv filter "age > 30" sort name
textpipe.py Chain text ops (grep+awk+sort+uniq) py textpipe.py log.txt grep ERROR freq
smartdiff.py Structure-aware diff (JSON keys, directories) py smartdiff.py a.json b.json
sqlq.py Query SQLite databases with formatted output py sqlq.py mydb.sqlite "SELECT * FROM users"
fakegen.py Generate fake data (names, emails, users) py fakegen.py user 100 --format csv

Process (5 tools)

Tool Description Example
multirun.py Run multiple commands simultaneously py multirun.py "npm start" "python api.py"
watchrun.py Run command on file changes py watchrun.py "pytest" -p "*.py"
taskrun.py Task runner with dependencies (like Make) py taskrun.py build
todo.py CLI task manager with priorities & tags py todo.py add "Fix bug" -p high
quickbench.py Benchmark commands (like hyperfine) py quickbench.py "cmd1" "cmd2" -n 20

Code & Project (6 tools)

Tool Description Example
codebase_analyzer.py Project health: languages, TODOs, deps py codebase_analyzer.py .
readmegen.py Auto-generate README from project files py readmegen.py .
mdtool.py Markdown TOC, table format, link checker py mdtool.py toc README.md --insert
diskuse.py Disk usage analyzer (like ncdu) py diskuse.py . --top 20 --ext
scaffold.py Project scaffolder (Python/Node/Flask/etc) py scaffold.py flask myapi
changelog.py Keep a Changelog manager py changelog.py add "New feature" -t feature

Security (2 tools)

Tool Description Example
secretscan.py Find leaked API keys & secrets in code py secretscan.py . --no-entropy
envtool.py .env validator & secret detector py envtool.py validate .env

Logging (1 tool)

Tool Description Example
logtail.py Tail & filter logs (multi-file, JSON-aware) py logtail.py app.log -f -l error

Files (3 tools)

Tool Description Example
renamer.py Batch rename with regex, preview, undo py renamer.py "(.+)\\.txt" "{1}.md"
snap.py Simple file versioning (mini-git) py snap.py save "Before refactor"
tmpl.py Template processor (envsubst alternative) py tmpl.py render config.tmpl --env prod.env

Utilities (8 tools)

Tool Description Example
devutils.py 18 commands: base64, uuid, hash, jwt, etc py devutils.py uuid
portman.py Find & kill processes by port py portman.py check 8080
crontool.py Cron expression explainer & scheduler py crontool.py explain "0 9 * * 1-5"
colortool.py Color converter, palette, WCAG contrast py colortool.py palette "#3b82f6"
cheat.py Personal command snippet manager py cheat.py add "desc" "command" -t tag
retest.py Regex tester (like regex101 for terminal) py retest.py "\d+" "abc 123"
timer.py Time tracker with reports py timer.py start "Coding" -t dev
toolkit.py Browse & search all tools py toolkit.py search json

MCP/AI (6 tools)

Tool Description Example
mcp_schema_auditor.py Optimize MCP tool schemas (33.5% reduction) py mcp_schema_auditor.py tools.json
mcp_tool_selector.py BM25-based tool selection (84-94% savings) py mcp_tool_selector.py -q "search files"
claude_config_linter.py Lint CLAUDE.md & AI config files py claude_config_linter.py CLAUDE.md
ai_devtool.py Unified MCP workspace health check py ai_devtool.py check .
mcp_security_scanner.py Scan MCP servers for vulnerabilities py mcp_security_scanner.py server/
mcp_health_check.py Full MCP setup health report py mcp_health_check.py tools.json

Testing

py test_toolkit.py          # Full suite (99 tests)
py test_toolkit.py --quick  # Syntax + help only
py test_toolkit.py --tool serve  # Test specific tool

Design Principles

  • Zero dependencies -- Every tool uses only Python's standard library
  • Single file -- Each tool is one .py file. Copy it anywhere and run it
  • Cross-platform -- Works on Windows, macOS, and Linux
  • CLI-first -- Designed for terminal workflows, not imported as libraries
  • Colored output -- ANSI colors where supported, graceful fallback
  • JSON output -- Most tools support --json or --format json for scripting
  • CI/CD friendly -- Proper exit codes (0 = success, 1 = failure)

Requirements

  • Python 3.9+
  • No pip installs needed

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages