bang-cli-0.1.1 is not a library.
Bang CLI
A blazingly fast CLI made in rust that compiles DuckDuckGo-style !bang shortcuts into a binary map for instant query resolution
Disclaimer
This queries DuckDuckGo's bang data and saves it as binary in the user's data directory You can view the JSON data at DuckDuckGo BANG!
Installation
or local build
Usage
Query
# bang ![tag] [query]
# https://www.npmjs.com/search?q=typescript
# https://www.npmjs.com
Utility
The CLI downloads and saves the data at first run if not found. If for any reason you want to delete it or rebuild it
# Deletes from data directory
# Deletes, fetches and rebuilds into data directory
Usage with Linux launchers
I've provided simple entry scripts under the ./scripts for launchers i've tested.
Personally, i use wofi in both drun and dmenu mode as seen in ./scripts/bang-wrapper.sh
License
This project is licensed under the MIT License.