Git Product home page Git Product logo

duckduckgo's Introduction

๐Ÿฆ† DuckDuckGo

Crates.io docs License

duckduckgo 0.1.2

โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„  โ–ˆ    โ–ˆโ–ˆ  โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–„   โ–ˆโ–ˆ โ–„โ–ˆโ–€โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„  โ–ˆ    โ–ˆโ–ˆ  โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–„   โ–ˆโ–ˆ โ–„โ–ˆโ–€  โ–„โ–ˆโ–ˆโ–ˆโ–ˆ  โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  
โ–’โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–Œ โ–ˆโ–ˆ  โ–“โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–€ โ–€โ–ˆ   โ–ˆโ–ˆโ–„โ–ˆโ–’ โ–’โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–Œ โ–ˆโ–ˆ  โ–“โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–€ โ–€โ–ˆ   โ–ˆโ–ˆโ–„โ–ˆโ–’  โ–ˆโ–ˆโ–’ โ–€โ–ˆโ–’โ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’
โ–‘โ–ˆโ–ˆ   โ–ˆโ–Œโ–“โ–ˆโ–ˆ  โ–’โ–ˆโ–ˆโ–‘โ–’โ–“โ–ˆ    โ–„ โ–“โ–ˆโ–ˆโ–ˆโ–„โ–‘ โ–‘โ–ˆโ–ˆ   โ–ˆโ–Œโ–“โ–ˆโ–ˆ  โ–’โ–ˆโ–ˆโ–‘โ–’โ–“โ–ˆ    โ–„ โ–“โ–ˆโ–ˆโ–ˆโ–„โ–‘ โ–’โ–ˆโ–ˆโ–‘โ–„โ–„โ–„โ–‘โ–’โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’
โ–‘โ–“โ–ˆโ–„   โ–Œโ–“โ–“โ–ˆ  โ–‘โ–ˆโ–ˆโ–‘โ–’โ–“โ–“โ–„ โ–„โ–ˆโ–ˆโ–’โ–“โ–ˆโ–ˆ โ–ˆโ–„ โ–‘โ–“โ–ˆโ–„   โ–Œโ–“โ–“โ–ˆ  โ–‘โ–ˆโ–ˆโ–‘โ–’โ–“โ–“โ–„ โ–„โ–ˆโ–ˆโ–’โ–“โ–ˆโ–ˆ โ–ˆโ–„ โ–‘โ–“โ–ˆ  โ–ˆโ–ˆโ–“โ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘
โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–’โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–’ โ–“โ–ˆโ–ˆโ–ˆโ–€ โ–‘โ–’โ–ˆโ–ˆโ–’ โ–ˆโ–„โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–’โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–’ โ–“โ–ˆโ–ˆโ–ˆโ–€ โ–‘โ–’โ–ˆโ–ˆโ–’ โ–ˆโ–„โ–‘โ–’โ–“โ–ˆโ–ˆโ–ˆโ–€โ–’โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘
 โ–’โ–’โ–“  โ–’ โ–‘โ–’โ–“โ–’ โ–’ โ–’ โ–‘ โ–‘โ–’ โ–’  โ–‘โ–’ โ–’โ–’ โ–“โ–’ โ–’โ–’โ–“  โ–’ โ–‘โ–’โ–“โ–’ โ–’ โ–’ โ–‘ โ–‘โ–’ โ–’  โ–‘โ–’ โ–’โ–’ โ–“โ–’ โ–‘โ–’   โ–’ โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘ 
 โ–‘ โ–’  โ–’ โ–‘โ–‘โ–’โ–‘ โ–‘ โ–‘   โ–‘  โ–’   โ–‘ โ–‘โ–’ โ–’โ–‘ โ–‘ โ–’  โ–’ โ–‘โ–‘โ–’โ–‘ โ–‘ โ–‘   โ–‘  โ–’   โ–‘ โ–‘โ–’ โ–’โ–‘  โ–‘   โ–‘   โ–‘ โ–’ โ–’โ–‘ 
 โ–‘ โ–‘  โ–‘  โ–‘โ–‘โ–‘ โ–‘ โ–‘ โ–‘        โ–‘ โ–‘โ–‘ โ–‘  โ–‘ โ–‘  โ–‘  โ–‘โ–‘โ–‘ โ–‘ โ–‘ โ–‘        โ–‘ โ–‘โ–‘ โ–‘ โ–‘ โ–‘   โ–‘ โ–‘ โ–‘ โ–‘ โ–’  
   โ–‘       โ–‘     โ–‘ โ–‘      โ–‘  โ–‘      โ–‘       โ–‘     โ–‘ โ–‘      โ–‘  โ–‘         โ–‘     โ–‘ โ–‘  
 โ–‘               โ–‘                โ–‘               โ–‘
  Search and advanced search in DuckDuckGo 
  ========================================

  Perform searches and advanced searches on DuckDuckGo from the command line.

๐Ÿš€ duckduckgo: A powerful Rust-based command-line tool for seamless DuckDuckGo searches.

๐Ÿ“– Table of Contents

๐Ÿš€ Installation

To install duckduckgo, use the following Cargo command:

cargo install --locked duckduckgo

โœจ Features

  • Perform DuckDuckGo searches with or without operators.
  • Customizable user agent, proxy, and cookie support.
  • Beautiful ANSI-colored output.

๐Ÿš— Usage

Learn how to use the duckduckgo and explore its features with the following examples:

Perform a basic search:

duckduckgo --query "rust lang"

Use search operators:

duckduckgo --query "rust lang" --operators "+tutorial"

Enable safe search:

duckduckgo --query "rust lang" --safe

Set the output format to detailed:

duckduckgo --query "rust lang" --format

Limit the number of results to 3:

duckduckgo --query "rust lang" --limit 3

Set user agent:

duckduckgo --query "rust lang" --user-agent "chrome"
Available Browsers/Agents
Browser/Agent
firefox
chrome
edge
safari
opera
ie11
android
ios
edge_android
opera_mini
uc_browser
blackberry
mozilla
bingbot
yahoo_slurp
duckduckgo
baiduspider
yandexbot
ahrefsbot
mj12bot
semrushbot
sogou_spider
exabot
dotbot
facebook
pinterest
slackbot
discord
zoom
whatsapp
applebot
flipboard
outlook
linux_firefox
linux_firefox_alternative
windows_firefox
older_windows_firefox
linux_chrome
macos_safari
android_chrome
ios_chrome
linux_opera
macos_edge
windows_edge
android_samsung_browser
ios_samsung_browser
linux_brave
windows_brave
android_brave
ios_brave
linux_firefox_new
linux_chrome_new
macos_safari_new
windows_ie_new
android_chrome_new
ios_chrome_new
linux_opera_new
macos_edge_new
android_samsung_browser_new
ios_samsung_browser_new
linux_brave_new
windows_brave_new
android_brave_new
ios_brave_new
linux_firefox_alternative_new
windows_firefox_new
linux_chrome_alternative_new
macos_safari_alternative_new
windows_ie_alternative_new
android_chrome_alternative_new
ios_chrome_alternative_new
linux_opera_alternative_new
macos_edge_alternative_new
windows_edge_alternative_new
android_samsung_browser_alternative_new
ios_samsung_browser_alternative_new
linux_brave_alternative_new
windows_brave_alternative_new
android_brave_alternative_new
ios_brave_alternative_new

Set cookie for subsequent requests:

duckduckgo --query "rust lang" --cookie

Set proxy:

duckduckgo --query "rust lang" --proxy "socks5://192.168.1.1:9000"

๐ŸŽจ Options

Option Default Value Description
--safe false Enable safe search.
--proxy "" Set a proxy for the search (e.g., "socks5://192.168.1.1:9000").
--user-agent firefox Set a custom user agent for the search.
--cookie true Set a cookie for the search.
--format false Set the output format (false for list or true for detailed).
--limit 10 Limit the number of results (default is 10).

๐Ÿค Contributing

Contributions and feedback are welcome! If you'd like to contribute, report an issue, or suggest an enhancement, please engage with the project on GitHub. Your contributions help improve this CLI for the community.

๐Ÿ“„ License

This project is licensed under the MIT License.

duckduckgo's People

Contributors

wiseaidev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.