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

https://github.com/kevcui/deepseek-cli

💬 Chat with Deepseek in terminal
https://github.com/kevcui/deepseek-cli

cli command-line command-line-tool deepseek deepseek-chat playwright playwright-javascript

Last synced: 7 months ago
JSON representation

💬 Chat with Deepseek in terminal

Awesome Lists containing this project

README

          

# deepseek-cli

> Chat with [DeepSeek](https://chat.deepseek.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

- Install dependencies

```bash
npm i playwright-extra puppeteer-extra-plugin-stealth
npx playwright install chromium
```

- Set value in `config.json`:
- User Agent: Its value can be found from any request
- userToken: Its value can be found in localStorage
- cf clearance: Its value can be found in cookie

```bash
cp config.json.sample config.json

```

## How to use

```bash
$ ./deepseek.js "enter any text here"
```

## Want an alternative?

- Check out [chatgpt-cli](https://github.com/KevCui/chatgpt-cli)
- Check out [copilot-cli](https://github.com/KevCui/copilot-cli)
- Check out [duckai-cli](https://github.com/KevCui/duckai-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 DeepSeek.

---

Buy Me A Coffee