• This repository has been archived on 26/Nov/2023
  • Stars
    star
    128
  • Rank 275,086 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created about 2 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

📗 Read Wikipedia articles through the CLI

Wiki CLI Build

View Wikipedia articles through the CLI

wiki

Installation

From release

curl -LO https://github.com/BetaPictoris/wiki/releases/latest/download/wiki    # Download the latest binary.
sudo install -Dt /usr/local/bin -m 755 wiki                                    # Install Wiki CLI to "/usr/local/bin" with the mode "755"

Build from source

Dependencies

You need Go (1.19+) installed to build this program. You can install it from your distro's repository using one of the following commands:

# Arch/Manjaro (and derivatives)
sudo pacman -Syu go

# Debian/Ubuntu (and derivatives)
sudo apt install golang-go

Alternatively, you can install it from Go's official website.

Then, to build & install wiki run:

git clone [email protected]:BetaPictoris/wiki.git      # Clone the repository
cd wiki                                             # Change into the repository's directory
make                                                # Build Wiki CLI
sudo make install                                   # Install Wiki CLI to "/usr/local/bin" with the mode "755"

From a package manager

IndiePKG

indiepkg install wiki

User install

If you don't have access to sudo on your system you can install to your user's ~/.local/bin directory with this command:

install -Dt ~/.local/bin -m 755 wiki

wiki