Loading repository data…
Loading repository data…
yashsinghcodes / repository
wik is use to get information about anything on the shell using Wikipedia.
WIK is a command-line tool to view Wikipedia pages from your terminal. It also lets you search Wikipedia articles with a single query.
python3 -m pip install beautifulsoup4 flit_core
git clone https://github.com/yashsinghcodes/wik.git
cd wik
python3 -m pip install .
python3 -m pip install wik
python -m pip install beautifulsoup4 flit_core
git clone https://github.com/yashsinghcodes/wik.git
cd wik
python -m pip install .
Note: Windows users should add Python to their environment variables.
python -m pip install wik
or
pip install wik
Using WIK is simple.
usage: wik [-h] [-s SEARCH] [-i INFO] [-q QUICK] [-l LANG] [-x] [--no-cache]
[--clear-cache]
optional arguments:
-h, --help show this help message and exit
-s SEARCH, --search SEARCH
Search any topic
-i INFO, --info INFO Get info on any topic
-q QUICK, --quick QUICK
Get the summary on any topic
-l LANG, --lang LANG Get info in your native language (default english)
-x, --rand Get random Wikipedia article
--no-cache Disable on-disk cache for this run
--clear-cache Clear cached pages and exit
$ wik -i Linux
WIK stores pages on disk so repeated queries are instant and can work offline. You can disable caching per run or clear the cache:
wik --no-cache -i Linux
wik --clear-cache
You can contribute by opening an issue or making a pull request. If you have ideas or feedback, you can contact me.