blob: b4ff7d9dc859e684437db51df236515bd7bec378 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
![banner.png](https://0x0.st/sVMH.png)
[![](http://meritbadge.herokuapp.com/taizen)](https://crates.io/crates/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
```
taizen https://pl.wikipedia.org/ # view the polski wikis
taizen --lang=sv # view the swedish wikis
```
## Screenshot
![scrot.png](https://files.nerdypepper.me/7G.png)
|