✨ A simple and cute tool for exploring Wikipedia from the terminal ✨

Related tags

Command-line wikipe
Overview
wikipe-tan

Wikipe

Version Downloads License

Wikipe is a tool to search Wikipedia from the command-line. Given a search query, it returns a list of matching Wikipedia articles, which can be opened to display their contents or directly opened in a browser from the terminal. Articles can be navigated through the terminal. wikipe supports sequential searches within a single instance.

Installation

If you have Rust and Cargo installed on your machine, you can install this app directly from crates.io.

 $   cargo install wikipe

Usage

Wikipe currently takes the following arguments.

    -l|--lang [String] Wikipedia article language in the form of an ISO language code

You can run wikipe directly from the terminal with the wikipe command alongside a query to search on Wikipedia. You can supply a language ISO code with the -l flag. For example, by setting the language to es, Wikipe will return articles in Spanish.

$   wikipe <search_query> -l <language>

Wikipe will return a list of relevant articles for that given search term, and ask you to select an article to view. At the moment, you can choose to view a summary of the article, or the entire article in your terminal. Check the roadmap for upcoming features.

Contributing

This is still a WIP so if you find any bugs or have any suggestions for features or better code, please submit either an issue or a pull request ^_^

Naming

Wikipe is named after Wikipedia's unofficial mascot, Wikipe-tan!
Wikipe-tan was created in 2006 and since then her popularity as a Wikipedia mascot has sadly dwindled. Hopefully you can have some fun exploring the world's encyclopedia with Wikipe-tan again.

Roadmap

  • Link Support: Browse links on a Wikipedia article.
  • Better Navigation: A better navigation experience, to allow navigation between pages like you would on Wikipedia.
  • TUI: Convert the app to a full TUI experience, using frameworks such as Rust-TUI or Cursive. This would allow for better navigation and rendering of article information.
  • Image Support: Render the main image from articles in ASCII within the TUI.

Motivation

I've been personally wanting to learn Rust for a while now so whilst I had some free time I thought I'd create a simple CLI app. With that being said, I'm not a Rust export so if you have any suggestions or improvements in terms of code quality, please open a pull request or an issue and I'll endeavor to answer and help in any way I can! I'm always looking to improve. Why Wikipedia? I use Wikipedia every single day. It's by far the most useful and valuable part of the internet for me, and I wanted to celebrate that by creating this app. If this app brought you some value or joy, and you wanted to support it any way, I'd ask if you can instead donate to Wikipedia directly via their donation page!

You might also like...
An easy, fast and lightweight tool to create notes in terminal.
An easy, fast and lightweight tool to create notes in terminal.

An easy and lightweight tool to create notes in terminal. Features Make notes faster. Manage your notes directly in terminal. Lightweight and fast. Ea

pt is a simple tabbed terminal built with gtk-rs and vte-rs.
pt is a simple tabbed terminal built with gtk-rs and vte-rs.

pt pt is a simple tabbed terminal built with gtk-rs and vte-rs. how to build You need to have gtk3 glib vte pcre2 dev packages installed on your syste

Simple macros to write colored and formatted text to a terminal. Based on `termcolor`, thus also cross-platform.
Simple macros to write colored and formatted text to a terminal. Based on `termcolor`, thus also cross-platform.

Bunt: simple macro-based terminal colors and styles bunt offers macros to easily print colored and formatted text to a terminal. It is just a convenie

A minimalist tool for managing block-lists from the terminal.
A minimalist tool for managing block-lists from the terminal.

Block List A minimalist hosts-based tool for managing block lists and ad-blocking. This project uses the excellent and regularly updated Unified Hosts

A tool for automating terminal applications in Unix.

expectrl A tool for automating terminal applications in Unix. Using the library you can: Spawn process Control process Expect/Verify responces It was

Tool to draw low-resolution graphs in terminal
Tool to draw low-resolution graphs in terminal

lowcharts Tool to draw low-resolution graphs in terminal. lowcharts is meant to be used in those scenarios where we have numerical data in text files

Terminal based, feature rich, interactive SQL tool

datafusion-tui (dft) DataFusion-tui provides a feature rich terminal application, built with tui-rs, for using DataFusion (and eventually Ballista). I

A CLI tool connected to GPT-3 to help find the right terminal command

Command Recall A CLI tool connected to GPT-3 to help find the right terminal command Install to install the cli: cargo install --git https://github.co

A CLI tool to copy-paste different Ipsums from your terminal

Lorem clipsum Explore the docs » View Demo · Report Bug · Request Feature Table of Contents About The Project Built With Usage Contributing Contact Ab

Owner
Harvey
Hey! I'm Harvey Reynier, a front-end software engineer and web developer. You can check out some of my work here or on my website below!
Harvey
a cute shell thingy that written in rust

a cute shell thingy that written in rust

奥田 龍馬 12 Dec 29, 2021
The joker_query is a cute query builder, with Joker can implement most complex queries with sugar syntax

joker_query The joker_query is most sugared query builder of Rust, with joker_query can implement most complex queries with sugar syntax Features − (O

DanyalMh 8 Dec 13, 2023
An interactive shell environment for exploring the p2panda protocol

An interactive shell environment for exploring the p2panda protocol. Uses a mock node and clients to simulate network logic.

null 4 Dec 12, 2021
Remote-Archive is a utility for exploring remote archive files without downloading the entire contents of the archive.

[WIP] REMOTE-ARCHIVE Remote-Archive is a utility for exploring remote archive files without downloading the entire contents of the archive. The idea b

null 4 Nov 7, 2022
A TUI for exploring crates.io using Ratatui

crates-tui crates-tui is a simple terminal user interface explorer for crates.io based on Ratatui. crates-tui.mov It supports features like: copy carg

Ratatui 28 Mar 11, 2024
A simple and efficient terminal UI implementation with ratatui.rs for getting quick insights from csv files right on the terminal

CSV-GREP csv-grep is an intuitive TUI application writting with ratatui.rs for reading, viewing and quickly analysing csv files right on the terminal.

Anthony Ezeabasili 16 Mar 10, 2024
ask.sh: AI terminal assistant that can read and write your terminal directly!

ask.sh: AI terminal assistant that read from & write to your terminal ask.sh is an AI terminal assistant based on OpenAI APIs such as GPT-3.5/4! What'

hmirin 5 Jun 20, 2023
A simple cli tool for generating quotes in your terminal from Kanye west. Start the day out strong.

Kanyey A simple cli tool for generating quotes in your terminal from Kanye West. Install Just do cargo install kanyey and be blessed. Bonus: throw it

null 3 Sep 29, 2023
A terminal ASCII media player. View images, gifs, videos, webcam, YouTube, etc.. directly in the terminal as ASCII art.

Terminal Media Player View images, videos (files or YouTube links), webcam, etc directly in the terminal as ASCII. All images you see below are just m

Max Curzi 36 May 8, 2023
An open source, programmed in rust, privacy focused tool for reading programming resources (like stackoverflow) fast, efficient and asynchronous from the terminal.

Falion An open source, programmed in rust, privacy focused tool for reading programming resources (like StackOverFlow) fast, efficient and asynchronou

Obscurely 17 Dec 20, 2022