Read wikipedia articles distraction free
Project description
WikiReader
WikiReader is a simple wikipedia browser tool writen in Python for reading Wikipedia articles without distraction. It uses Suckless' dmenu for finding articles.
It is written for my own purposes and is deliberately kept simple.
Installation
To install WikiReader, simply run:
pip install wikireader
WikiReader was written in Python 3.8.5 and had dmenu as an external dependency. To install dmenu:
On Debian/Ubuntu
sudo apt install dmenu
On Arch Linux:
pacman -S dmenu
WikiReader also relies on PyQt5, so it needs the dependencies of that package as well.
Usage
Run the command wikireader
. A dmenu instance will popup on your screen. Here you can write a
keyword or query. The dmenu will disappear and reappear with suggestions to articles. After
chosing one, the article will be loaded and shown in a simplified html form.
Config
Configuration is still in it's early stages. The first implementation is in
version 0.0.4. At the moment you can only set the theme.
The config folder is in ~/.config/wikireader/
. There will be a config.json
.
If it is not there, run the wikireader command once. The program will create
the folder and the default config files. There will be a css folder as well
with availabel themes, at the moment only a dark- and a light theme. Be free to
create your own theme, but beware that you give it a different name.
In the config.json you can set the theme, by setting the css filename without
the .css
extentsion:
{
"theme": "light"
}
The default is dark as I prefer that.
Licence
The package is released under MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wikireader-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5910172170ee42a4097128c70e6bcd506627265b57f7968d279d6110db13054 |
|
MD5 | ceb654e120f162c111cad0d3415d7f73 |
|
BLAKE2b-256 | ce064ce9c81d442003ff6256826bb053200adb5f7edc57a69f3fabc3e956222e |