Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vinc/chatai

A simple CLI for ChatGPT made in Ruby
https://github.com/vinc/chatai

chatgpt chatgpt-cli openia

Last synced: 2 months ago
JSON representation

A simple CLI for ChatGPT made in Ruby

Awesome Lists containing this project

README

        

# Chatai

A simple CLI for ChatGPT written in Ruby

![chatai](chatai.png)

## Setup

Copy and edit the env file with your [API key](https://platform.openai.com/account/api-keys)

$ cp .env.sample ~/.chatai.env

Build and install the CLI

$ gem build chatai.gemspec
$ gem install chatai-*.gem

## Usage

$ chatai
> What is Unix?
Unix is a multi-user, multi-tasking operating system that was first
developed in the 1960s. It is known for its stability, security, and
flexibility, and is widely used in servers, workstations, and embedded
systems. Unix is based on the concept of a shell, which allows users to
interact with the system through a command-line interface or graphical
user interface. It also has a rich set of standard utilities and tools
that make it easy to perform various tasks such as file management,
process management, networking, and more. Unix has many variants,
including Linux, FreeBSD, Solaris, and macOS.

> Who wrote it?
Unix was initially written by Ken Thompson, Dennis Ritchie, and others
at Bell Labs in the late 1960s and early 1970s.

> List 5 contributors
1. Ken Thompson
2. Dennis Ritchie
3. Brian Kernighan
4. Steve Bourne
5. Doug McIlroy

## License

Chatai is released under MIT