A simple and easy to use Wikipedia Text User Interface
Note: wiki-tui is still under active development and breaking changes can occur. Please always check the release notes before upgrading
Note: These Screenshots were taken on iTerm2 (MacOS) with the Fira Code font
Please refer to wiki-tui --help
for more information on cli arguments.
Note: when searching for an article or opening one, please wait while the program fetches the results
Key | Function |
---|---|
q | Quit the program (except when inside the search bar) |
Up and Down | Scrolling |
Left and Right | Select the next link (only in the article view) |
The binary executable is wiki-tui
cargo install wiki-tui
When installing wiki-tui via cargo, you can choose what backend to use (The default one is crossterm). More information on the available backends can be found here
To use a different backend, you will have to disable the default features and enable the desired backend feature.
cargo install wiki-tui --no-default-features --features termion-backend
Using the package manager
pkgin install wiki-tui
Building from source
cd /usr/pkgsrc/www/wiki-tui
make install
The wiki-tui package is in the nixpkgs package repository.
Either install it with nix-env -iA wiki-tui
, get it temporarily with nix-shell -p wiki-tui
or add it to your configuration.
The wiki-tui package is available in the AUR.
Either install it with makepkg
manually, or using the preferred AUR helper.
$HOME/.config/wiki-tui/config.toml
C:\Users\{USERNAME}\wiki-tui\config.toml
Default configuration ```toml [api] base_url = "https://en.wikipedia.org/" # this is the url of wikipedia, it can be changed to change the language of wikipedia
[theme] background = "white" # color used for View backgrounds title = "red" # color used for the title text highlight = "red" # color used for highlighting text highlightinactive = "blue" # color used for highlighting inactive text highlighttext = "white" # color used for highlighted text text = "black" # color used for the text search_match = "red" # color used for a search match in the results view
[theme.searchbar] background = "white" title = "red" highlight = "red" highlightinactive = "blue" highlight_text = "white" text = "black"
[logging] enabled = true # can be either true or false. enables/disables logging logdir = "wikitui.log" # location of the file where the log will be written to log_level = "Info" # log level to be used, can be Debug, Info, Warn, Error
[features] links = true # enables/disables links (link selection, link opening, etc) toc = true # enables/disables the table of contents
[keybindings] down.key = ""
down.mode = "normal"
```
See contributing guidelines for contributing conventions.
Thanks goes to these wonderful people (emoji key):
Builditluc 🤔 💻 📖 |
0323pin 🐛 📦 |
legendofmiracles 📦 |
Thomas 📦 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!