@princejoogie/chatgpt-cli
v0.3.4
Published
ChatGpt in your terminal
Downloads
4
Maintainers
Readme
chatgpt-cli
ChatGpt in your terminal
Usage
Generate an API key -> https://platform.openai.com/account/api-keys
# .bashrc or .zshrc
export OPENAI_API_KEY=your-api-key
# this environment variable is used as authentication in openai's api endpoints
$ npm install -g @princejoogie/chatgpt-cli
$ gpt # this is the bin when installing the package globally
Todo
- [x] Response streaming
- [ ] Conversation history
- [ ] Model change (default gpt-3.5-turbo)
Develop
$ pnpm install
$ pnpm dev # terminal 1
$ pnpm start # terminal 2
Made with ☕ by Prince Carlo Juguilon