Skip to content

ruapotato/Terminal-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

#No longer developed, superseded by: https://github.com/ruapotato/Voice-Command

AI Terminal Assistant

Author

David Hamner

Description

AI Terminal Assistant is an intelligent command-line interface that enhances the traditional terminal experience with AI-powered features. It interprets natural language queries, executes commands, and provides context-aware debugging assistance.

Features

  • Natural language command interpretation
  • Execution of shell commands
  • Intelligent error debugging with suggestions
  • Command history tracking
  • Color-coded output for improved readability
  • Tab completion for file paths

Requirements

  • Python 3.x
  • Ollama (with a suitable language model, default is "llama3.1:8b")
  • requests library

Installation

  1. Clone this repository:

    git clone https://github.com/ruapotato/Terminal-Assistant
    cd Terminal-Assistant
    
  2. Install the required Python library:

    apt install python3-requests python3-pyperclip
    
  3. Ensure Ollama is installed and running with the appropriate model "llama3.1:8b".

Usage

Run the script using Python:

python3 main.py

Once started, you can interact with the AI Terminal Assistant using natural language queries or standard shell commands. Type 'exit' to quit the application.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.

Acknowledgements

Disclaimer

This assistant interacts with your real file system. Use with caution and always verify commands before execution, especially when dealing with important data or system files.

Contributing

Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.

About

AI-powered terminal assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages