ddg-cli
A DuckDuckGo CLI written in Swift.
Requirements
- macOS (probably won't get around to supporting other platforms)
- Swift
Install
Using just
[clone repo]
cd [git repo path]
just install [desired $PATH directory]e.g.,
git clone https://github.com/junebash/swift-ddg-cli
cd swift-ddg-cli
just install ~/my_pathIf you don't provide a PATH, it will install to ~/.local/bin/ by default
Manual
cdinto git repo directoryswift build- Find
ddgbinary somewhere in.buildfolder - Move binary somewhere in shell path
- Call
ddg [query]
Usage
ddg Swift programming language ^g
Note that ^ replaces ! for DuckDuckGo bang operators.