github benoitpetit/duckduckgo-chat-cli v1.1.0
DuckDuckGO-chat-CLI v1.1.0

latest releases: v1.2.2, v1.2.1, v1.2.0...
10 months ago

DuckDuckGO-chat-CLI is a command-line interface for interacting with DuckDuckGo's AI chat service. This Go-based adaptation is built upon [duckduckgo-ai-chat].

🚀 New Features

Command System

  • /search <query> - Integrated web search via DuckDuckGo API
  • /file <path> - Local file support with syntax highlighting
  • /url <url> - Web content extraction with JavaScript rendering
  • /clear - Intelligent context management
  • /history - Conversation history with pagination
  • /markdown - Markdown export with formatting
  • /extract - AI message extraction with metadata
  • /model - Real-time AI model switching

Installation

Latest release

curl -LO https://github.com/benoitpetit/duckduckGO-chat-cli/releases/latest/download/duckduckgo-chat-cli_linux_amd64
chmod +x duckduckgo-chat-cli_linux_amd64

From sources

git clone https://github.com/benoitpetit/duckduckGO-chat-cli
cd duckduckGO-chat-cli
go build

Platform-Specific Downloads

Linux (64-bit)

curl -LO $(curl -s https://api.github.com/repos/benoitpetit/duckduckGO-chat-cli/releases/latest | grep -oP 'https.*linux_amd64' | head -1)

Windows (64-bit)

Invoke-WebRequest -Uri ((Invoke-RestMethod -Uri "https://api.github.com/repos/benoitpetit/duckduckGO-chat-cli/releases/latest").assets | Where-Object name -like "*windows_amd64.exe").browser_download_url -OutFile duckduckgo-chat-cli_windows_amd64.exe

Source Installation

  1. Install Go from [golang.org]
  2. Clone repository:
git clone https://github.com/benoitpetit/duckduckGO-chat-cli.git
cd duckduckGO-chat-cli
go mod tidy
go build -o duckduckgo-chat-cli main.go

Supported AI Models

  • GPT-4o mini
  • Claude 3 Haiku
  • Llama 3.1 70B
  • Mixtral 8x7B

License

This project is licensed under MIT.

Disclaimer

This project is not officially affiliated with DuckDuckGo. It represents an independent implementation interacting with DuckDuckGo's AI chat service. Please use responsibly and in accordance with DuckDuckGo's terms of service.

Don't miss a new duckduckgo-chat-cli release

NewReleases is sending notifications on new releases.