Home

Awesome

<div align="center"> <h1>

console-chat-gpt v6

</h1>

Your Ultimate CLI Companion for Chatting with AI Models

Enjoy seamless interactions with ChatGPT, MistralAI, Claude by Anthropic, Grok by xAI and Gemini by Google directly from your command line. </br>Elevate your chat experience with efficiency and ease.

<h3>

Homepage | Examples

</h3> <h4 align="center"> <a href="https://github.com/amidabuddha/consoleChatGPT/blob/main/LICENSE.md"> <img src="https://img.shields.io/github/license/amidabuddha/consoleChatGPT" alt="Released under the Apache license." /> </a> <img src="https://img.shields.io/badge/Python-3.10+-blue" alt="Working on Python 3.10+" /> <img src="https://img.shields.io/github/stars/amidabuddha/consoleChatGPT"/> <img src="https://img.shields.io/github/issues/amidabuddha/consoleChatGPT"/> <img src="https://img.shields.io/github/forks/amidabuddha/consoleChatGPT"/> <img src="https://img.shields.io/badge/platform-Linux%20%7C%20macOS-blue"/> </h4> </div>

Table of Contents


DISCLAIMER: The intention and implementation of this code are entirely unconnected and unrelated to OpenAI, MistralAI, Anthropic, xAI, Google AI or any other related parties. There is no affiliation or relationship with OpenAI, MistralAI, Anthropic, xAI, Google or their subsidiaries in any form.


Features

Overall, this app focuses on providing a user-friendly and customizable experience with features that enhance personalization, control, and convenience.


Installation and Usage

The script works fine on Linux and MacOS terminals. For Windows it's recommended to use WSL.

  1. Clone the repository:

    git clone https://github.com/amidabuddha/console-chat-gpt.git
    
  2. Go inside the folder:

    cd console-chat-gpt
    
  3. Install the necessary dependencies:

    python3 -m pip install -r requirements.txt
    
  4. Get your API key from OpenAI, MistralAI, Anthropic, xAI, Google AI Studio depending on your selected LLM.

  5. The config.toml.sample will be automatically copied into config.toml upon first run, with a prompt to enter your API key/s. Feel free to change any of the other defaults that are not available in the settings in-app menu as per your needs.

  6. Run the executable:

    python3 main.py
    

    Pro-tip: Create an alias for the executable to run from anywhere.

  7. Use the help command within the chat to check the available options.

  8. Enjoy


Examples

You can find more examples on our Examples page.


Contributing

Contributions are welcome! If you find any bugs, have feature requests, or want to contribute improvements, please open an issue or submit a pull request.