Skip to content

nvedant/gg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

gg

Search with your favorite websites straight from the terminal!

gg-example.mp4

Configure gg

To add more websites, just edit the ~/.gg.toml or %APP_DATA%/.gg.toml file and add whatever you want, the default config is as follows:

[google]
short = 'go'
search_path = 'https://google.com/search?q='

[duckduckgo]
short = 'ddg'
search_path = 'https://duckduckgo.com/?q='

[youtube]
short = 'yt'
search_path = 'https://youtube.com/results?search_query='

[reddit]
short = 'rd'
search_path = 'https://reddit.com/search?q='

[wikipedia]
short = 'wiki'
search_path = 'https://wikipedia.org/wiki/Special:Search?search='

[github]
short = 'gh'
search_path = 'https://github.com/search?q='

[stackoverflow]
short = 'so'
search_path = 'https://stackoverflow.com/search?q='

Building

Make sure that you have installed cargo and rust on your system, then run cargo {run|build} to run or build for developement, and cargo build --release to build for production.