A simple and easy to use Wikipedia Text User Interface
As of 0.3.4 wiki-tui
uses the .toml
format for configuration. .ini
configs won't work!
wiki-tui
currently has these features:
- Browse through Wikipedia (Set the language by changing the url in the config)
- Uses webscraping and a custom view to display wikipedia articles in the terminal
- Use links to open other articles
These features are planned: - View and interact with more elements of wikipedia articles (like tables, images, etc.)
Note: These Screenshots were taken on alacritty (MacOS) with the spaceduck theme and the Sauce Code Pro font
The binary executable is wiki-tui
cargo install wiki-tui
$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
[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 ```
Any contributions you make are greatly appreciated.
As of 0.3.2 you can no longer configure the logger with a .yml file