Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/giorgimakharadze/terminal-gpt-chat-openai-node-typescript


https://github.com/giorgimakharadze/terminal-gpt-chat-openai-node-typescript

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Terminal chatGPT

## Description

This is a simple Node application that uses OpenAI to run ChatGPT in a local terminal. This application uses ChatGPT 3.5 version, which is nearly free, but you can choose another version if you have balance on the OpenAI website.

## How to install

1. Create API Key on OpenAI websitehttps://platform.openai.com/api-keys
2. Clone the repository to your local machine.
3. Navigate to the project directory in your terminal.
4. Run `npm install` to install the necessary dependencies.
5. Create a `.env` file at the root of the project and add the following environment variables:

```bash
OPENAI_API_KEY=your-OpenAI-API-key
```
Then run npm start.