Console utility for integrating artificial intelligence into a Linux terminal.
Project description
Ai-ebash!
Console utility for integrating artificial intelligence into a Linux terminal. Allows you to ask an AI question and execute the scripts and commands suggested by the AI in the terminal. It will be useful for novice Linux administrators.
The project is in the pre-alpha stage. In case of problems with the installation or operation of the Ai-bash utility, please contact me.
Features
- Sends requests to LLM from the command line with a simple command and receives responses in a formatted, easy-to-read form
- Supports dialog mode (key -d). By default, the quick questions mode with a return to the console works without a key.
- In the dialog mode, it allows you to run scripts proposed by the neural network (be careful!)
Requirements
- Python 3.11+
Installation
Debian/Ubuntu (pipx package)
- Install pipx (if not already installed):
sudo apt update
sudo apt install pipx python3-venv -y
pipx ensurepath
-
Restart the terminal
-
Install ai-ebash
pipx install ai-ebash
Note: If you encounter issues with pipx not recognizing the package, you can also install it using pip:
pip install ai-ebash
Debian/Ubuntu (*.deb package)
- Download the latest DEB package from GitHub Releases
wget -qO latest.deb $(wget -qO- https://api.github.com/repos/Vivatist/ai-ebash/releases/latest \
| grep "browser_download_url" | grep ".deb" | cut -d '"' -f 4)
- Install the package:
sudo dpkg -i ./latest.deb
sudo apt-get install -f -y
- Restart the terminal
Windows (experemental)
-
Install Python v3.11+ (if not already installed):
-
Open CMD or PowerShell and install ai-ebash:
pip install ai-ebash
- Restart Windows
Example
ai Hello AI! Write example script.
or
ai -d Hello AI! Write example script.
Uninstall
To completely remove the utility:
If installed via pipx:
pipx uninstall ai-ebash
If installed via DEB package:
sudo apt remove python3-ai-ebash
# Or for complete deletion, including configuration files:
sudo apt purge python3-ai-ebash
If installed via Windows:
pip uninstall ai-ebash
You can also use dpkg.:
sudo dpkg -r ai-ebash
# Or for complete deletion, including configuration files:
sudo dpkg -P ai-ebash
Security
Do NOT execute arbitrary code returned by an LLM without review. Executing assistant-provided code has security and safety risks. Recommended mitigations:
Contributing
- Localization to any languages
- Fork the repo and create a feature branch.
- Add tests for new behavior.
- Open a PR with a clear description.
License
MIT
Contact
andrey.bch.1976@gmail.com. Issues and PRs are welcome. Include logs and reproduction steps
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_ebash-0.3.1.tar.gz.
File metadata
- Download URL: ai_ebash-0.3.1.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00a71bc2f5733e54669cf0888b11c44e87ecb3802b10b9407f75fdea5a673a02
|
|
| MD5 |
846757e18903b795e938c9f71ae7b624
|
|
| BLAKE2b-256 |
5d3e0d2b72b3e245fd2d0006ea519181cc288c5d71013e351ae91a0edc36f623
|
File details
Details for the file ai_ebash-0.3.1-py3-none-any.whl.
File metadata
- Download URL: ai_ebash-0.3.1-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1351e65bf1fdeca523256fe96d13d29d3ce0c2ce12efb87168444c8510246e36
|
|
| MD5 |
3b02da290a75f0cea2249bb07ac7ddf1
|
|
| BLAKE2b-256 |
96fd56f3db9b89eb0caebbd3fce31c3a45467f6100b6a8e49a4c33aeebb95fcf
|