An open API service indexing awesome lists of open source software.

https://github.com/bannawandoor27/dirac

An intelligent terminal interface that understands natural language commands, making command-line operations more intuitive and accessible.
https://github.com/bannawandoor27/dirac

ai-cli ai-command-generator ai-powered-terminal async-rust cli dirac intelligent-command-suggestions interactive-cli rust rustyline terminal

Last synced: about 2 months ago
JSON representation

An intelligent terminal interface that understands natural language commands, making command-line operations more intuitive and accessible.

Awesome Lists containing this project

README

        

# Dirac

> 🧠 An AI-Powered Terminal That Understands Natural Language

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## 🌟 Overview

dirac-terminal is a revolutionary terminal application that leverages artificial intelligence to understand and process natural language commands. It bridges the gap between human language and command-line operations, making terminal interactions more intuitive and efficient.

## ✨ Features

- 🧠 **Natural Language Processing**: Understand and execute commands written in plain English
- 🔍 **Smart Command Completion**: Intelligent suggestions based on context and history
- 📁 **File Path Completion**: Seamless navigation through your filesystem
- 📝 **Command History**: Searchable history with smart filtering
- 🔌 **Plugin System**: Extensible architecture for custom functionality
- 🎨 **Modern Interface**: Colorful and intuitive terminal UI
- ⌨️ **Emacs-style Keybindings**: Familiar keyboard shortcuts
- 🔄 **Signal Handling**: Proper handling of CTRL-C and CTRL-Z

## 🚀 Installation

### Prerequisites

- Rust and Cargo (latest stable version)
- [Ollama](https://ollama.ai/) for AI processing

### Quick Start

```bash
# Install from crates.io
cargo install dirac-terminal

# Or build from source
git clone https://github.com/bannawandoor27/dirac-terminal.git
cd dirac-terminal
cargo install --path .
```

## 🎯 Usage

```bash
# Start dirac-terminal
dirac-terminal

# Use natural language commands
> show me all pdf files modified in the last week
> create a new python virtual environment
> what's using port 8080?
```

## 🛠 Development

```bash
# Clone the repository
git clone https://github.com/bannawandoor27/dirac-terminal.git

# Navigate to project directory
cd dirac-terminal

# Install dependencies and build
cargo build

# Run tests
cargo test
```

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 👤 Author

**Hasanulbanna**

- GitHub: [@bannawandoor27](https://github.com/bannawandoor27)

---


Made with ❤️ by Hasanulbanna