https://github.com/coding-hui/ai-terminal
AI-Terminal is an advanced AI-powered CLI that enhances terminal workflows through AI-driven automation and optimization.
https://github.com/coding-hui/ai-terminal
agent ai go gpt gpt-cli llm terminal
Last synced: 8 months ago
JSON representation
AI-Terminal is an advanced AI-powered CLI that enhances terminal workflows through AI-driven automation and optimization.
- Host: GitHub
- URL: https://github.com/coding-hui/ai-terminal
- Owner: coding-hui
- License: mit
- Created: 2024-06-27T15:40:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-01T14:19:40.000Z (8 months ago)
- Last Synced: 2025-10-01T15:25:02.080Z (8 months ago)
- Topics: agent, ai, go, gpt, gpt-cli, llm, terminal
- Language: Go
- Homepage:
- Size: 813 KB
- Stars: 19
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AI-Terminal
[πΊπΈ English](./README.md) | [π¨π³ δΈζ](./README_zh.md) | [π―π΅ ζ₯ζ¬θͺ](./README_ja.md)
AI-Terminal is an AI-powered command-line interface that enhances terminal workflows through intelligent automation and optimization.
## Features
- **Smart Assistance:** Context-aware command suggestions and completions
- **Task Automation:** Automate repetitive tasks with AI-generated shortcuts
- **Intelligent Search:** Advanced file and content search capabilities
- **Error Handling:** Command correction and alternative suggestions
- **Extensible:** Plugin system for custom integrations
## Quick Start
### Prerequisites
- Go 1.22.0 or later
### Installation
**Homebrew:**
```bash
brew install coding-hui/tap/ai-terminal
```
**Download:**
- [Packages][releases] (Debian/RPM formats)
- [Binaries][releases] (Linux/macOS/Windows)
[releases]: https://github.com/coding-hui/ai-terminal/releases
**From Source:**
```bash
make build
```
**Initialize:**
```bash
ai configure
```
### Shell Completions
Completion files are included for Bash, ZSH, Fish, and PowerShell. Generate manually with:
```bash
ai completion [bash|zsh|fish|powershell] -h
```
## Usage Examples
### Chat & Assistance
```bash
ai ask "How to optimize Docker performance?"
ai ask --file prompt.txt
echo "code content" | ai ask "analyze this code"
```
### Code Generation
```bash
# Interactive mode
ai coder
# Batch processing
ai ctx load context.txt
ai coder -c session_id -p "add error handling"
```
### Code Review
```bash
ai review --exclude-list "*.md,*.txt"
```
### Command Execution
```bash
ai exec "find large files from last week"
ai exec --yes "docker ps -a"
ai exec --interactive
```
### Commit Messages
```bash
ai commit --diff-unified 3 --lang en
```
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
**Changelog:** [CHANGELOG.md](CHANGELOG.md)
**License:** [MIT](LICENSE) Β© 2024 coding-hui