#search-engine #favorite #browser #default #system #cli

app kweri

This is a simple CLI program that searches in your favorite search engine using your system's default browser

4 releases

0.1.3 Nov 16, 2024
0.1.2 Nov 16, 2024
0.1.1 Nov 16, 2024
0.1.0 Nov 16, 2024

#477 in Command line utilities

Download history 302/week @ 2024-11-16

302 downloads per month

MIT license

13KB
53 lines

kweri

This is a simple CLI program that searches in your favorite search engine using your system's default browser.

Usage

# Search using stdin
kweri

# Search your favorite engine for "I like turtles"
kweri "I like turtles"

# returns help text
kweri --help

# returns the version
kweri --version

Why build this?

I found that I was wanting to do a google or duckduckgo search from my cli more often and the process of tabbing out into the browser and clicking the address bar was getting annoying.

Configuration

kweri will create a default config file with sample search engines and tell you where the config file was created on first use.

Tips

Create an alias for kweri to something like q.

alias q=kweri

This allows you to quickly search in the cli like so.

q "I like turtles"

Future changes

  • Would be nice to allow for stdin if you don't pass a query string?

Buy me a coffee

You can do this by either sending me crypto or going to my ko-fi profile.

# BTC
bc1q45068dgfzeds8vtncedtjt8whsmjsq3uykz8pk

# LTC
LL6Ntjv6jja1gzyFatK5rKoiWgQJp5anH2

# NAV
NdWojNSyy2Qr7CbVH1HCsgNnR31A5qDtoo

# ETH, BNB and other ERC tokens
0xc48dBdB37a5359c69A01671D45B14fe4Fcf69086

Dependencies

~5–18MB
~196K SLoC