Skip to content

KudoAI/duckduckgpt

Repository files navigation

[License: MIT] [GitHub commits] [CodeFactor grade] [Powered by chatgpt.js] [SonarCloud vulnerabilities] [Mentioned in Awesome] [Built by KudoAI] [jsDelivr stats]

DuckDuckGPT brings the magic of ChatGPT to DDG (powered by GPT-4o!)

Important

Greasy Fork users: If you installed DuckDuckGPT before January 18, 2025, auto-updates no longer work because the script's update mechanism has migrated to GitHub. To continue receiving updates, click the green 'Install this script' button below (once) or click this link (once)

[Install this script][How to install]
Discuss / Get support / Contact author

Mobile:



🚀 Installation

  1. Install a userscript manager, such as:

  2. Install DuckDuckGPT userscript (will load in manager installed above)

  3. Visit duckduckgo.com, type your search, engage bot!

*Streaming Mode not supported in Violentmonkey & OrangeMonkey, so are not recommended

ddgpt-demo

🌐 Compatibility

DuckDuckGPT is compatible w/ the following browsers:

BrowserUserscript managerInstall browser
[Chrome] Chrome or Chromium-based browsers Tampermonkey1 Violentmonkey2 ScriptCat or OrangeMonkey1,2 [Chrome] [Edge] [Opera] [Opera GX] [Brave] [Vivaldi] [Ghost Browser] [QQ Browser] [Whale]
[Safari] Safari (macOS, iOS, iPadOS) Stay or Userscripts [Safari]
[Firefox] Firefox or Gecko-based browsers (Windows, macOS, Linux) Tampermonkey Violentmonkey2 or ScriptCat [Firefox] [Waterfox] [LibreWolf]
[Firefox] Firefox (Android) Tampermonkey Violentmonkey2 or ScriptCat [Firefox for Android]
[Quetta] Quetta (Android, iOS, iPadOS) Violentmonkey2 ScriptCat [Quetta]
[Lemur] Lemur (Android, iOS) Violentmonkey2 ScriptCat [Lemur]
[Waterfox] Waterfox (Android) Tampermonkey Violentmonkey2 or ScriptCat [Waterfox for Android]
[Orion] Orion (iOS, iPadOS) Tampermonkey1 Violentmonkey2 ScriptCat or OrangeMonkey1,2 [Orion]
1. If you are installing Tampermonkey or OrangeMonkey from the Chrome Web Store, you must enable Developer Mode (in chrome://extensions) for userscripts to function

2. Streaming Mode not supported in Violentmonkey & OrangeMonkey

🕵️ Proxy Mode

Proxy API Mode (disabled by default) returns text responses using GPT-4o, without the need for a chatgpt.com account.

When disabled, a ChatGPT account is required to fetch responses. If OpenAI API is acting unreliable, enable Proxy Mode like this:


[Install this script][How to install]
Discuss / Get support / More ChatGPT userscripts

📣 Social links




⚡ Dependencies

chatgpt.js © 2023–2025 KudoAI & contributors under the MIT license
generate-ip © 2024–2025 Adam Lui & contributors under the MIT license
highlight.js © 2006 Ivan Sagalaev under the BSD 3-Clause license
KaTeX © 2013–2020 Khan Academy & other contributors under the MIT license
Marked © 2018+ MarkedJS © 2011–2018 Christopher Jeffrey under the MIT license

🧠 Contributors

This app exists thanks to code, translations, issues & ideas from the following contributors:



Consider giving this project a ⭐ if it helped you!

🤖 More ChatGPT apps

For even more epic ChatGPT apps, visit: https://github.com/adamlui/ai-web-extensions

📜 Related scripts

Add AI to Amazon shopping.
Install / Readme / Discuss

Generate endless answers from all-knowing ChatGPT (in any language!)
Install / Readme / Discuss

Bring the magic of AI to Google Search (powered by Google Gemma + GPT-4o!)
Install / Readme / Discuss

More userscripts / Back to top ↑