Skip to main content

Chai - AI in your CLI.

Introduction

Chai is a command-line interface (CLI) tool designed to simplify your experience with bash commands. Have you ever found yourself stuck, not knowing the right bash command to use? With Chai, you can simply run chai [your query in English], and it will respond with the appropriate bash command to help you out.

Problem Statement

The command-line interface can be intimidating, especially for beginners. Remembering the syntax of various bash commands and knowing which command to use in a specific situation can be challenging. Searching through documentation or forums for the right command can be time-consuming and frustrating. Chai aims to solve this problem by providing an intuitive interface where you can ask for help in plain English and get the correct bash command instantly.

Features

  • Natural Language Interface: Communicate with Chai in plain English, just like asking a question.
  • Instant Responses: Receive the correct bash command immediately after asking your query.
  • Saves Time: Eliminates the need to search through documentation or forums for the right command.
  • Easy to Use: Intuitive and straightforward interface, suitable for both beginners and experienced users.

Usage

To use Chai, simply run the following command in your terminal:

chai [your query in English]

Chai will process your query and respond with the appropriate bash command.

Installation

You can install Chai via pip:

pip install chai-cli

Clipboard

Every output is copied to your clipboard. To ensure that it works, run the following command to install required tools on Linux.

sudo apt-get install xclip xsel wl-clipboard

Examples

Here are some examples of queries you can ask Chai:

  • "list all files starting with a"
  • "grep emails.txt for yahoo addresses"
  • "list users who are logged in"

Chai will provide you with the corresponding bash commands for each query.

Contributing

Contributions to Chai are welcome! If you have any suggestions, bug reports, or feature requests, please feel free to open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for chai-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chai-cli 0.3.0
File Size Uploaded Provenance Actions
chai_cli-0.3.0.tar.gz 3.8 kB Without provenance Details for chai_cli-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chai-cli 0.3.0
File Interpreter ABI Platform Actions
chai_cli-0.3.0-py3-none-any.whl Python 3 none any Details for chai_cli-0.3.0-py3-none-any.whl

Total release size: 8.0 kB

Release files / chai_cli-0.3.0.tar.gz

Download URL chai_cli-0.3.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7ce730b4273023c6776a54d98fe81e2f4227137599490e5da92dc7544a500919
BLAKE2b-256 checksum
How to use checksums
455c74aef330e8f4fa674df535c1cf08b4d81ab6c1fea8e009a4aeae88efe402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / chai_cli-0.3.0-py3-none-any.whl

Download URL chai_cli-0.3.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd4d321dc5d57be0665b0f23740f1b7ce6c10a5c6c49a0ea5077780be7c2aac3
BLAKE2b-256 checksum
How to use checksums
0ff275d7c6494631e0240569216ad52dbec7930b594cb4e4618bb9f9b66eedec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for chai-cli 0.3.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page