DuckDuckJVM

An elegant JVM library structured for effortlessly interacting with DuckDuckGo's AI chat and search capabilities natively inside JVM execution layers.

Kotlin Java JVM AI API

THIS PROJECT IS NOT MAINTAINED ANYMORE.

🦆 DuckDuckJVM (DuckDuckGo Search)

DuckDuckJVM is a lightweight JVM library for interacting with DuckDuckGo’s search API.
Built with Kotlin/Java, it provides a simple interface to fetch search results directly in your JVM-based projects.

⚡ Features

  • Perform text-based searches using DuckDuckGo.
  • Lightweight, minimal dependencies.
  • Works with Java & Kotlin projects.

🛠 Installation

This library is not published to Maven Central.
You can include it in your project manually:

🚀 Usage

🛎 Initialize DuckDuckJVM

val duckDuckJVM = DuckDuckJVM()
val response = duckDuckJVM.text("Latest Version of Kotlin")
println(response)

duckDuckJVM.close()

🔎 Troubleshooting

  • Invalid_VQD Error: Rerun the text() function.
  • If issues persist, try again after a delay (API tokens can expire).

🤝 Contributing

Contributions are welcome! Submit issues or PRs here → GitHub

🧑‍💻 Author

Developed by Raj Dave Inspired by deedy5/duckduckgo_search

⚠️ Disclaimer

This library is not affiliated with DuckDuckGo and is for educational purposes only. It is not intended for commercial use or in ways that violate DuckDuckGo’s Terms of Service. Official DuckDuckGo site: https://duckduckgo.com