blob: 5968f0fb501a1c675879d75fdc5576aded5b5e2a (
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
35
36
37
|
![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 --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
```
taizen https://pl.wikipedia.org/ # view the polski wikis
taizen --lang=sv # view the swedish wikis
```
## Screenshot
![scrot.png](https://0x0.st/sVXt.png)
|