An open API service indexing awesome lists of open source software.

https://github.com/faizan-ali/quickwiki

Script to read a Wiki page extract in the shell w/ menu navigation to sections
https://github.com/faizan-ali/quickwiki

chalk htmlparser2 javascript mediawiki-api nodejs shell-util termina-kit typescript wiki-extract wikipedia-api

Last synced: about 1 month ago
JSON representation

Script to read a Wiki page extract in the shell w/ menu navigation to sections

Awesome Lists containing this project

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 install -g qwikipedia`

`wiki democracy`

![alt text](/quickwiki.png "Screenshot")

## Keys:
* Exit: `Esc` or `Ctrl+C`
* New query: `q` followed by query followed by `Enter`
* Choose new page with '/' key

## Built With

* [Typescript](http://www.dropwizard.io/1.0.2/docs/) - The language used
* [Chalk](https://maven.apache.org/) - For fancy console output
* [MediaWiki API](https://rometools.github.io/rome/) - To query Wikipedia
* [HTMLParser2](https://rometools.github.io/rome/) - To parse HTML from MediaWiki API

## License

This project is licensed under the MIT License