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

https://github.com/oppiliappan/taizen

curses based mediawiki browser
https://github.com/oppiliappan/taizen

curses rust wikipedia

Last synced: about 1 year ago
JSON representation

curses based mediawiki browser

Awesome Lists containing this project

README

          

# taizen

[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

Browse mediawiki pages from the command line.

## Installation

### From crates.io

```shell
cargo install taizen

```

### Building from source

This project uses [Cursive crate](https://github.com/gyscos/Cursive), so before installing `Taizen` make sure you have installed necessary Cursive [dependencies](https://github.com/gyscos/Cursive/wiki/Install-ncurses).

```shell
git clone https://github.com/nerdypepper/taizen
cd taizen
cargo run --release
```

## Usage

Taizen uses a **stack** like model. Articles are opened on new layers, pop a layer to go back.

- Hit `s` to search
- Hit `q` to quit
- Hit `t` to pop a layer from the article stack

You can now view wikipedia pages in different languages, by passing the language code as a commandline arg. [List of language codes](https://en.wikipedia.org/wiki/List_of_Wikipedias#Detailed_list)

### Examples

```shell
taizen https://pl.wikipedia.org/ # view the polski wikis
taizen --lang=sv # view the swedish wikis
```