Wikit – A Command Line Tool to Search Wikipedia on Linux

Introduction

Wikit is a command line tool for searching Wikipedia on Linux. It is a powerful and easy-to-use tool that allows users to quickly search for information on Wikipedia without having to open a web browser. Wikit is designed to be fast and efficient, allowing users to quickly find the information they need. It also provides a variety of options for customizing the search results, such as sorting by relevance, date, or language. With Wikit, users can quickly find the information they need without having to navigate through the web.

Wikit – A Command Line Tool to Search Wikipedia on Linux

Wikit is a command line tool for searching Wikipedia on Linux. It is written in Python and uses the Wikipedia API to search for articles. It is designed to be fast and easy to use. It can be used to quickly look up information on any topic. It can also be used to find related articles and to explore the Wikipedia database. Wikit is available for free and can be installed with a single command.

Wikit is a free and open-source command-line program for easily viewing Wikipedia summaries of search queries on the Linux command line; it is built using Nodejs.

The verb Wikit (derived from “wikipedia it“) means looking up something on wikipedia.org, the popular and remarkable open-source encyclopedia on the Internet.

To install Wikit on Linux systems, you must have nodejs and npm installed, if not install it using your default package manager as shown.

$ sudo apt install nodejs	#Debian/Ubuntu
$ sudo yum install nodejs npm	#RHEL/CentOS
$ sudo dnf install nodejs npm	#Fedora 22+

Installing nodejs and npm from the default repositories will give you the little older version. Therefore, read our article to get a more recent version of nodejs and npm in Linux.

After installing the necessary dependencies, run the following command to install wikit in Linux (the -g flag tells npm to install wikit globally).

$ sudo npm install wikit -g

Once Wikit is installed on your system, you can run it using the following syntax.

$ wikit Linux
Wikipedia Command Line View
Wikipedia Command Line View

The output shown is the paragraphs of the Wikipedia article before the table of contents and the line length is neatly wrapped based on your terminal’s window size, with a max of about 80 characters.

If you are running wikit on a desktop computer with a web browser installed, you can open the full Wikipedia article in a browser using the -b flag as below.

$ wikit linux -b

To define the line wrap length to number (minimum 15), use the -l option as shown.

$ wikit linux --line 90
Searching Wikipedia on Linux Commandline
Searching Wikipedia on Linux Commandline

For more information, go to the Wikit Github repository.

Lastly, do check out these fancy command line-based tools for various tasks.

You can use the comment form below to ask any questions or share any useful thoughts with us.

If You Appreciate What We Do Here On Jassweb, You Should Consider:

Jassweb is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit Jassweb! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Wikit – A Command Line Tool to Search Wikipedia on Linux

Wikit is a command line tool that allows users to search Wikipedia from the Linux command line. It is a free and open source software written in Python and released under the GNU General Public License. It is designed to be fast and easy to use, and it supports multiple languages. With Wikit, users can quickly search for information on any topic and get the results in a matter of seconds.

The tool is very simple to use. All you need to do is type the command “wikit” followed by the topic you want to search for. For example, if you want to search for information about Linux, you would type “wikit Linux”. The tool will then search Wikipedia and display the results in the terminal window. You can also specify the language you want to search in, by using the “-l” option. For example, if you want to search for information about Linux in Spanish, you would type “wikit -l es Linux”.

Wikit also supports advanced search options. You can use the “-s” option to search for a specific phrase, or the “-r” option to search for related topics. You can also use the “-f” option to search for a specific page, or the “-c” option to search for a specific category. These options make it easy to find the exact information you are looking for.

Wikit is a great tool for anyone who needs to quickly search for information on any topic. It is fast, easy to use, and supports multiple languages. With Wikit, you can quickly find the information you need without having to open a web browser.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Contact
San Vito Al Tagliamento 33078
Pordenone Italy
Item added to cart.
0 items - 0.00
Open chat
Scan the code
Hello 👋
Can we help you?