Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vinc/chatai
- Owner: vinc
- License: mit
- Created: 2023-03-17T08:41:14.000Z (almost 2 years ago)
- Default Branch: trunk
- Last Pushed: 2024-06-03T07:53:45.000Z (7 months ago)
- Last Synced: 2024-10-06T22:46:34.651Z (3 months ago)
- Topics: chatgpt, chatgpt-cli, openia
- Language: Ruby
- Homepage:
- Size: 1.75 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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