Skip to content

overflowy/bash-script-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash Script Tools

A web-based bash script formatter and linter with AI-powered autofix.

Bash.Script.Tools.mp4

Features

  • Format: Format bash scripts using shfmt
  • Lint: Check scripts with shellcheck
  • Autofix: Apply shellcheck's automatic fixes
  • Autofix (AI): Fix shellcheck issues using AI (Groq)

Requirements

Usage

# Basic usage
./bash-script-tools

# With AI autofix (optional)
export GROQ_API_KEY="your-api-key"
./bash-script-tools

# Custom configuration
export PORT=8085
export GROQ_MODEL_ID="openai/gpt-oss-120b"
export SHFMT_PATH="/custom/path/to/shfmt"
export SHELLCHECK_PATH="/custom/path/to/shellcheck"
./bash-script-tools

Open http://localhost:8085 in your browser.

License

MIT

About

A web-based bash script formatter and linter with AI-powered autofix.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published