ezclai
Command Line AI- this tool lets you call ChatGPT from a CLI.
I'm designing this to be used in conjunction with a fork of shin, which will allow you
to call ezclai from any textbox in your computer. Finally, ChatGPT everywhere!
The long-term vision for this project is to add support for extracting context. For example, it would read the current text on a window and be able to add to it, or answer questions about it.
Read Latest Documentation - Browse GitHub Code Repository
Installation
-
The recommended installation method is to use
pipx, viapipx install ezclai
Optionally, install
tesseractso thatezclaican read the screen context and send that along with requests:sudo apt install tesseract-ocr scrot python3-tk python3-dev
-
Then go to OpenAI and create an API Key. Once it's generated, add the following to your
~/.profile:export OPENAI_API_TOKEN=<paste here>
-
The best way to use this tool is in conjunction with the tool shin, which allows you to run arbitrary bash commands in any textbox in a linux computer, using ibus. To use that, install 'shin' via the fork above, then configure it in your
~/.profileto callezclaiby default:export SHIN_DEFAULT_COMMAND="ezclai"
-
Log out then log back in for the changes to take effect!
Usage
Invoke the assistant with the format ezclai <your prompt>. For example:
ezclai Write an email saying I'll be late to work because I'm working on commandline AIs
Development
Installing python dependencies
poetry install
Running Tests
pytest .
Formatting Code
bash .github/format.sh
Linting
bash .github/check_lint.sh
Metadata
Release files for ezclai 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ezclai-0.3.1.tar.gz | 5.9 kB | Without provenance | Details for ezclai-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ezclai-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for ezclai-0.3.1-py3-none-any.whl |
Total release size: 13.7 kB
Release files / ezclai-0.3.1.tar.gz
| Download URL | ezclai-0.3.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d7c604cfb06f89f05a397b0c94f680b7dc0b8c78d697559575ba8d8d31af8c4
|
|
BLAKE2b-256 checksum How to use checksums |
e4cdaaf5b257403fdcd3864d0bb1e85a200529c37d79a275a4ab90ccb23cca0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Linux/6.5.6-76060506-generic
|
Release files / ezclai-0.3.1-py3-none-any.whl
| Download URL | ezclai-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e49f42ddb17e0bf7a16d2f38bfdc7d716c984b46771c3f8ede3bf392e662a42
|
|
BLAKE2b-256 checksum How to use checksums |
8ee03ea39a94f5f99ef471575c60a8c2d2c341dc980ae7680ed81d38eb3b876a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Linux/6.5.6-76060506-generic
|
Security for ezclai 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.