This tools allows the user to quickly search or redirect to a website using bangs. Inspired by DuckDuckGo, this is a local implementation of that logic. This makes it really fast.
If you search !g apple
. This will lookup !g
which is Google Search and then search apple using it. The tool recognizes the first bang present in the query so !g apple
and apple !g
works the same. You can see the list of all bangs here: (DuckDuckGo Bangs)[https://duckduckgo.com/bangs].
- Add https://search.arnavbharti.com/?s=%s as your default search engine.
- Enter your search query in the search bar with your desired bang.
- Clone the GitHub repository.
- This project was made using Bun. For best compatibility use Bun.
- Install dependencies using
bun install
. - Filter the bangs using the script in
scripts/filter_bangs.ts
. - Run the development server using
bun run dev
. - If you want to use this local development server as your search replace search.arnavbharti.com with
<protocol>://<host>:<port>
e.g.http://localhost:5173
.