Skip to content

wkaisertexas/chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat with ChatGPT without leaving your beloved command line interface

Introduction · Install · Setting Up Locally · Tech Stack · Inspiration · License


Introduction

clack-chat-gpt is a open-source AI chatbot ChatGPT wrapper which provides a beautiful user interface thanks to Clack and is available through npm.

demo.mov

Install

Install via NPM

npm install -g clack-chat-gpt

After that, use like any CLI tool.

chat What is the meaning of life?

Setting Up Locally

To set up clack-chat-gpt locally, you'll need to clone the repository and set up the following environment variables:

  • OPENAI_API_KEY – your OpenAI API key (you can get one here)
git clone https://wkaisertexas/chatgpt
cd chatgpt
node .

Tech Stack

clack-chat-gpt is built on the following stack:

  • openai - chat completions
  • cleye - command line interface parser
  • clack - textual user interface

Inspiration

Project built as a project for Machine Learning with TensorFlow JavaScript and inspired by Builder.io's ai-shell.

Author

License

Licensed under the MIT license1


Footnotes

  1. Thanks to Stephen Tey as I took the readme template from ChatHN