Git Product home page Git Product logo

wiki-tui's Introduction

Contributors Stargazers Issues MIT license GitHub Workflow Status Lines of code


Logo

WIKI-TUI

A simple and easy to use Wikipedia Text User Interface

Preview

Features

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.)

How it looks

image image image
Note: These Screenshots were taken on alacritty (MacOS) with the spaceduck theme and the Sauce Code Pro font

Installation

Currently, you can install wiki-tui only by compiling it manually. Just clone the repository and compile the stable branch.

Configuration

Location of the config file

MacOS and Linux

$HOME/.config/wiki-tui/config.ini

Windows

C:\Users\{USERNAME}\wiki-tui\config.ini

Settings

Api

; this is the url of wikipedia, it can be changed to change the language of wikipedia 
BASE_URL = "https://en.wikipedia.org/"

Theme

The settings here are all colors and can be set by either the name of the color or a hex string (valid formats are: #ffffff, #fff). If your color wasn't applied, check the logs to find out why.

The actual colors displayed in your terminal can change depending on your terminal settings

; color used for View backgrounds
background = white
; color used for the title text
title = red
; color used for highlighting text
highlight = red
; color used for highlighting inactive text
highlight_inactive = blue
; color used for highlighted text
highlight_text = white
; color used for the text
text = black
; color used for a search match in the results view
search_match = red

Logging

If you want to configure the logging, you can configure it in logging.yml (you have to create it in the config directory).

In this file you can configure the logger accordingly to the docs of the logging crate

wiki-tui's People

Contributors

builditluc avatar esegere avatar legendofmiracles avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.