qwikipedia
v0.0.10
Published
Script to read a Wiki page extract in the shell w/ menu navigation to sections
Downloads
4
Readme
QuickWiki
Quick script to read a Wiki extract in the shell. This allows you to query Wikipedia from right within the shell! Displays a summary of the query along with a selectable menu of sections.
Highlights keywords in /src/key-words.ts
in red for quick skims
Usage
npm start {QUERY}
e.g. npm start democracy
Keys:
- Exit:
Esc
orCtrl+C
- New query:
q
followed by query followed byEnter
- Choose new page with '/' key
Built With
- Typescript - The language used
- Chalk - For fancy console output
- MediaWiki API - To query Wikipedia
- HTMLParser2 - To parse HTML from MediaWiki API
License
This project is licensed under the MIT License