Skip to content
/ gsearch Public

Search the web whatever is in system's clipboard using Google search

License

Notifications You must be signed in to change notification settings

stef-k/gsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSearch

Search in the web whatever is in system's clipboard using Google as search provider.

Dependencies

In Ubuntu (and propably other Linux) systems you must have the xsel command line utility installed sudo apt install xsel

How to

  • Assign a system shortcut for gsearch
  • Select and copy some text you want to look for on internet
  • Press the assigned gsearch shortcut
  • Check the search results in a newly opened tab on default browser

History

I had a Python - GTK3 script on my Linux systems for a long time, where I used it to search mostly text output from command line tools - servers, etc. I forgot to save it before zapping my system.

Tools

This tool is made using ES6 and Node.js which in the end compiles as static binary using the nexe tool.

Libraries used:

Development

  • Install nexe globally npm i -g nexe
  • Modify the source code at your will
  • Build binary using: nexe index.js -r node_modules/clipboardy/fallbacks/linux/xsel -o gsearch

Note: the build command will download - build and bundle Node.js which may take some time to finish.

About

Search the web whatever is in system's clipboard using Google search

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published