Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sukhbinder/duckduckgo-ai-chat
A CLI to access DuckDuckGo ai chat service from terminal
https://github.com/sukhbinder/duckduckgo-ai-chat
Last synced: about 2 months ago
JSON representation
A CLI to access DuckDuckGo ai chat service from terminal
- Host: GitHub
- URL: https://github.com/sukhbinder/duckduckgo-ai-chat
- Owner: sukhbinder
- License: apache-2.0
- Created: 2024-11-30T02:56:13.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-30T04:12:13.000Z (about 2 months ago)
- Last Synced: 2024-11-30T04:18:11.277Z (about 2 months ago)
- Language: Python
- Size: 322 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# duckduckgo-ai-chat
[![PyPI](https://img.shields.io/pypi/v/duckduckgo-ai-chat.svg)](https://pypi.org/project/duckduckgo-ai-chat/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/duckduckgo-ai-chat?include_prereleases&label=changelog)](https://github.com/sukhbinder/duckduckgo-ai-chat/releases)
[![Tests](https://github.com/sukhbinder/duckduckgo-ai-chat/actions/workflows/test.yml/badge.svg)](https://github.com/sukhbinder/duckduckgo-ai-chat/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/sukhbinder/duckduckgo-ai-chat/blob/master/LICENSE)CLI to use DuckDuckGo AI Chat service from terminal
> Based on the ideas of [duckduckGO-chat-cli](https://github.com/benoitpetit/duckduckGO-chat-cli)
## Disclaimer
By using this client you accept [DuckDuckGo AI Chat ToS](https://duckduckgo.com/aichat/privacy-terms)## Installation
Install this tool using `pip`:
```bash
pip install duckduckgo-ai-chat
```
## Usage![Duckduck-aichat](https://raw.githubusercontent.com/sukhbinder/duckduckgo-aichat/main/demo-duckchat.gif)
For help, run:
```bash
duckchat --help
```
You can also use:
```bash
python -m duckchat --help
```
## DevelopmentTo contribute to this tool, first checkout the code. Then create a new virtual environment:
```bash
cd duckduckgo-ai-chat
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```