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

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

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.

---

Buy Me A Coffee