8000 GitHub - LOVISH066/aido_opensource: aido (A.I. do) command
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

LOVISH066/aido_opensource

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 aido

A lightweight command-line tool that transforms natural language into valid Linux commands using AI.

Example


📌 Features

✔️ Supports multiple AI models: OpenAI, Anthropic, and Ollama.
✔️ Multilingual input support – use your preferred language! 🌎
✔️ Easily configurable via aido.config file.
✔️ System-wide installation available – use aido like any other Linux command.


⚙️ Setup

📥 Install Dependencies

pip3 install -r requirements.txt

🔑 Set API Keys

You need API keys for OpenAI and Anthropic. Set them in your config file before running the script.


🛠️ Configuration File

Ensure your API keys and settings are in the config file (~/.config/aido). Use aido.config as a template.

Example:

DEFAULT_PROVIDER=ollama
OLLAMA_DEFAULT_MODEL=codegemma

🏃 Usage

🎯 Basic Command

python3 aido.py "Show the contents of text.txt" --provider openai --model gpt-3.5-turbo

📌 Specifying a Provider and Model

python3 aido.py --provider ollama --model codegemma "Count occurrences of 'AI' in ~/my-project/file.txt"

💡 Tip: You can set default values in the aido config file to avoid typing the provider and model every time.


💾 System-Wide Installation

If you love aido, install it as a global command! 😜

chmod +x aido.py
sudo cp aido.py /usr/bin/aido

Now, use aido anywhere in your system:

aido "Create a new folder called 'projects'"

🌎 Contribute & Support

🛠️ Found a bug? Want a feature? Open an issue or contribute to the project!

🚀 Happy coding with aido! 🤖

About

aido (A.I. do) command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0