Cha - ChatGPT In The Shell

Project’s GitHub Repo

About

Cha is a simple CLI chat tool designed to easily interface with OpenAI’s LLM models through OpenAI’s API. Projects like this are common, but I did not find any that suited my needs. So, I built Cha. I built this tool a little over a month and a half ago and have been using it daily since. If you want to use Cha, check out the project’s GitHub repo (located at the top of this post).

Features

  • Basic CLI chat interface with OpenAI’s LLM models.
  • Web scraping capability for provided links (supports JavaScript scraping).
  • YouTube scraping functionality for extracting video transcripts.
  • Answer-Search feature utilizing the Brave API, similar to the Perplexity AI search engine.
    • This feature uses the Brave API as it’s search engine.
    • Click HERE to view a demo of the Answer-Search feature.
  • Multi-line support for easy copying and pasting into the CLI.
  • Ability to generate images using OpenAI’s image models.
    • Uses CLImage to display images directly in the terminal.
  • Supports both interactive and non-interactive chat modes.

Demos

Current Main Cha Demo (March 19, 2024)

Cha's Answer-Search Feature(March 11, 2024)

Main Cha Demo (March 6, 2024)

Main Cha Demo (March 1, 2024)

Marketing

Hacker News Posts:

Twitter/X Tweets: