https://github.com/ryzeon-dev/wbsearch
Search on browser or open link directly from terminal
https://github.com/ryzeon-dev/wbsearch
Last synced: 2 months ago
JSON representation
Search on browser or open link directly from terminal
- Host: GitHub
- URL: https://github.com/ryzeon-dev/wbsearch
- Owner: ryzeon-dev
- License: mit
- Created: 2022-03-16T14:03:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T20:02:31.000Z (about 3 years ago)
- Last Synced: 2025-02-04T15:47:17.005Z (4 months ago)
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WbSearch
Search anything on main browser directly from terminal (both words and links).
`Installation:`
$ pip install wbsearch
`Usage:`
$ wbsearch argument
Replace argument with your own research.
In case you want to search multiple words, you may need to use "\" before each space,
or use double quotes around, depending on your operating system.`Save a keyword:`
$ wbsearch --set keyword link
$ wbsearch -s keyword linkReplace keyword with your own keyword, and link with your own link.
This method allows to locally set constant keywords.
The same method allows to edit the content of the keyword, simply entering the kewyord and then the new associated link`Remove a keyword:`
$ wbsearch --remove keyword
$ wbsearch -r keywordReplace keyword with the keyword you want to remove from wbsearch user keywords.
`Display saved keywords:`
$ wbsearch --keywords
$ wbsearch -kShows all the saved keywords.
`Help:`
$ wbsearch --help
Type this command to get help.
`Examples:`
- Search a URL:
$ wbsearch https://www.github.com/- Search a site:
$ wbsearch www.github.com
- Search a word:
$ wbsearch python
- Set a keyword:
$ wbsearch --set github https://www.github.com/
$ wbsearch -s pypi https://pypi.org/
- Use a keyword:
$ wbsearch github
Opens the link associated with the keyword "github"
- Display all the saved keywords:
$ wbsearch -k
output:Saved keywords:
github -> https://www.github.com/
pypi -> https://pypi.org/- Remove a keyword:
$ wbsearch --remove github
$ wbsearch -r pypi
- Get help:
$ wbsearch --help
output:Usage: wbsearch [OPTIONS] [ARGUMENT]
Argument: url, word(s) or keyword. To search multiple words, wrap them
around with double quotes or put "\" before each spaceVersion: 2.3.1
Options:
-s, --set TEXT Set keywords to access your links
-r, --remove TEXT Remove a keyword
-k, --keywords Show all the saved keywords
--help Show this message and exit.