aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: d6bfc3ce033aa10731a2d6c8a5188b76ae8658e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
![banner.png](https://0x0.st/sVMH.png)

Browse mediawiki pages from the command line.  

## Installation
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
```

## 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)

```
taizen --lang=sv
```


## Screenshot

![scrot.png](https://0x0.st/sVXt.png)