Skip to content

A powerful terminal-based coding assistant that combines the convenience of a modern TUI with the intelligence of large language models. Rust TUI Coder provides an interactive environment where you can chat with AI, execute code, manipulate files, and run system commands—all from within a beautifully designed terminal interface.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Ammar-Alnagar/Rust-TUI-Coder

Rust TUI Coder

** Documentation has been reorganized into the docs/ folder for better organization.**

View Complete README ->


Quick Links

Documentation

👨‍💻 For Developers

📦 For Maintainers


Quick Start

Installation

cargo install rust_tui_coder

Configuration

Create a config.toml file:

[llm]
api_key = "your-api-key-here"
api_base_url = "https://api.openai.com/v1"
model_name = "gpt-4"

Run

rct

What is Rust TUI Coder?

A powerful terminal-based AI coding assistant that brings AI intelligence directly to your command line. Built with Rust for performance and reliability.

Key Features

  • Natural Language Interface - Chat with AI about your code
  • Direct Tool Execution - AI manipulates files and runs commands
  • Real-time Monitoring - Watch tool execution in real-time
  • Beautiful TUI - Modern terminal interface with ratatui
  • Multiple LLM Support - OpenAI, Anthropic, or local models
  • Fast & Efficient - Built with Rust for performance

Quick Example

You: Create a Python script that calculates fibonacci numbers and run it

AI: I'll create the script and execute it...
[Creates fibonacci.py]
[Executes the script]
[Shows output: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34...]

Available Tools

  • File Operations: read, write, append, search/replace, delete
  • Directory Operations: create, list, recursive list
  • Code Execution: Python, Bash, Node.js, Ruby
  • Plan Management: create plans, update steps, clear plans
  • Git Operations: status checking

Documentation Structure

The documentation is organized in the docs/ folder:

docs/
├── README_FULL.md           # Complete project README
├── INDEX.md                 # Documentation navigation
├── GETTING_STARTED.md       # Setup and first steps
├── EXAMPLES.md              # 30+ usage examples
├── ARCHITECTURE.md          # System design
├── API.md                   # Complete API reference
├── CONTRIBUTING.md          # How to contribute
├── TESTING.md               # Test suite (94 tests)
├── TROUBLESHOOTING.md       # Common issues and fixes
├── PUBLISH.md               # Publishing guide
├── IMPROVEMENTS_SUMMARY.md  # Recent improvements
└── COMPLETION_REPORT.md     # Development report

Start here: Documentation Index


Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.


License

Licensed under either of:

at your option.


🔗 Resources


**Happy Coding! **

About

A powerful terminal-based coding assistant that combines the convenience of a modern TUI with the intelligence of large language models. Rust TUI Coder provides an interactive environment where you can chat with AI, execute code, manipulate files, and run system commands—all from within a beautifully designed terminal interface.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages