https://github.com/olistic/chatgpt-clone
A CLI clone of OpenAI's famous chat, with a twist
https://github.com/olistic/chatgpt-clone
ai chatgpt cli openai
Last synced: about 2 months ago
JSON representation
A CLI clone of OpenAI's famous chat, with a twist
- Host: GitHub
- URL: https://github.com/olistic/chatgpt-clone
- Owner: olistic
- License: mit
- Created: 2023-07-15T19:52:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T01:21:32.000Z (almost 3 years ago)
- Last Synced: 2025-01-17T15:16:44.929Z (over 1 year ago)
- Topics: ai, chatgpt, cli, openai
- Language: TypeScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chatgpt-clone
A CLI clone of [OpenAI's famous chat](http://chat.openai.com), with a twist.
## Usage
1. Clone this repo wherever you want:
```sh
$ git clone https://github.com/olistic/chatgpt-clone.git && cd chatgpt-clone
```
2. Create an [OpenAI API key](https://platform.openai.com/account/api-keys) and write it to a `.env` file:
```sh
$ echo 'OPENAI_API_KEY=' > .env
```
3. Launch the CLI:
```sh
$ ./cli.ts
```
> **NOTE:** You'll need to have [Deno](https://deno.land/manual/getting_started/installation) installed for the above command to work.