5 unstable releases
0.3.1 | Jan 29, 2023 |
---|---|
0.3.0 | Jan 23, 2023 |
0.2.0 | Jan 12, 2023 |
0.1.2 | Jan 9, 2023 |
0.1.1 | Jan 9, 2023 |
#27 in #article
22 downloads per month
15KB
233 lines
qwiki
qwiki (pronounced KWIK-EE) is a command-line tool for viewing Wikipedia articles on the web.
Installation
To install this repository, type git clone https://github.com/KedarPanchal/qwiki.git
into your terminal.
To build qwiki, have cargo
installed on your system. Type cargo install qwiki
to install qwiki.
Using qwiki
Type qwiki <ARTICLE_NAME>
, qwiki -s <ARTICLE_NAME>
, or qwiki --summary <ARTICLE_NAME>
in the command line to get the summary of a Wikipedia article.
Type qwiki <ARTICLE_NAME> <SECTION_NAME>
, qwiki -s <ARTICLE_NAME>
or qwiki --summary <ARTICLE_NAME> <SECTION_NAME>
in the command line to get the content of a section of a Wikipedia article.
Type qwiki -t <ARTICLE_NAME>
or qwiki --toc <ARTICLE_NAME>
to get a list of sections for a Wikipedia article.
Type qwiki -r <ARTICLE_NAME>
or qwiki --references <ARTICLE_NAME>
to get a list of the references for a Wikipedia article.
Type qwiki -c <ARTICLE_NAME>
or qwiki --categories <ARTICLE_NAME>
to get all of the categories a Wikipedia article belongs to.
Type qwiki -l <ARTICLE_NAME>
or qwiki --link <ARTICLE_NAME>
to get a link to the Wikipedia article.
Type qwiki -p <ARTICLE_NAME>
or qwiki --pageid <ARTICLE_NAME>
to get the pageid for a Wikipedia article.
Type qwiki -v
or qwiki --version <ARTICLE_NAME>
to get the current version of qwiki.
Type qwiki -h
or qwiki --help <ARTICLE_NAME>
for help.
Dependencies
~0.6–1.1MB
~23K SLoC