bangs

Crates.iobangs
lib.rsbangs
version0.1.0
created_at2026-01-18 15:17:08.623262+00
updated_at2026-01-18 15:17:08.623262+00
descriptionLocalhost alternative to DuckDuckGo's !Bangs
homepage
repositoryhttps://github.com/glebmxyz/bangs
max_upload_size
id2052473
size17,415
Gleb Moskalenko (glebmxyz)

documentation

README

bangs

Localhost alternative to DuckDuckGo !Bangs

Configuration

# The default search engine url is required
# It will be used if no matching shortcut is found in a query
# `%s` is used as a placeholder for a query
default_search_url: https://duckduckgo.com/?q=%s

shortcuts:
  "!w":
    # `no_query` is used when `%s` consist only of a shortcut
    no_query: https://en.wikipedia.org
    query: https://en.wikipedia.org/wiki/Special:Search?go=Go&search=%s&ns0=1

  # Both `query` and `no_query` are optional
  # If a shortcut is found but there's no mathching option, the default search engine is used
  "!clap":
    no_query: https://crates.io/crates/clap

Usage

Add a search engine with http://<host>:<port>/?q=%s URL to your browser

Commit count: 1

cargo fmt