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
npm install -g qwikipedia
wiki democracy
- Exit:
Esc
orCtrl+C
- New query:
q
followed by query followed byEnter
- Choose new page with '/' key
- Typescript - The language used
- Chalk - For fancy console output
- MediaWiki API - To query Wikipedia
- HTMLParser2 - To parse HTML from MediaWiki API
This project is licensed under the MIT License