https://github.com/kevcui/chatgpt-cli
💬 Chat with Chatgpt in terminal
https://github.com/kevcui/chatgpt-cli
chatgpt chatgpt-app chatgpt-cli cli command-line command-line-tool playwright playwright-javascript
Last synced: about 2 months ago
JSON representation
💬 Chat with Chatgpt in terminal
- Host: GitHub
- URL: https://github.com/kevcui/chatgpt-cli
- Owner: KevCui
- Created: 2024-05-19T19:51:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-01-26T17:32:11.000Z (3 months ago)
- Last Synced: 2025-01-26T18:25:51.371Z (3 months ago)
- Topics: chatgpt, chatgpt-app, chatgpt-cli, cli, command-line, command-line-tool, playwright, playwright-javascript
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chatgpt-cli
> Chat with [Chatgpt](https://chatgpt.com/) in terminal
# Table of Contents
- [Dependency](#dependency)
- [Installation](#installation)
- [How to use](#how-to-use)
- [Want an alternative?](#want-an-alternative)
- [Note](#note)## Dependency
- [playwright-extra](https://www.npmjs.com/package/playwright-extra)
- [playwright-extra-plugin-stealth](https://www.npmjs.com/package/puppeteer-extra-plugin-stealth)## Installation
```bash
npm i playwright-extra puppeteer-extra-plugin-stealth
npx playwright install chromium
```## How to use
```bash
$ ./chatgpt.js "enter any text here"
```## Want an alternative?
Check out [copilot-cli](https://github.com/KevCui/copilot-cli)
## Note
This script is designed to process one question and answer at a time, delivering in plain text format. It is optimized for command-line use, enabling users to rapidly retrieve answers directly in the terminal, without having to engage in a conversation with Chatgpt.
---