Wikipedia for the Terminal
- Shell 82%
- Nix 18%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| termipedia | ||
Termipedia
Termipedia is a POSIX shell script for searching Wikipedia without the hassle of opening a web browser because it lives in your terminal. It has fuzzy searching, disambiguation page handling, and is lightweight all out of the box
Dependencies
Alpine
apk add curl jq fzf less
Void Linux
xbps-install -S curl jq fzf less
Arch
pacman -S curl jq fzf less
Debian/Ubuntu
apt install curl jq fzf less
Fedora
dnf install curl jq fzf less
macOS (Homebrew)
brew install curl jq fzf
Installation
git clone https://github.com/kantiankant/Termipedia
cd Termipedia
doas/sudo cp termipedia /usr/local/bin/
Using Nix
Run without installing:
nix run github:kantiankant/Termipedia -- <search query>
# or
nix shell github:kantiankant/Termipedia
termipedia <search query>
Install:
nix profile add github:kantiankant/Termipedia
Or add to your NixOS/Home-Manager configuration:
inputs.termipedia.url = "github:kantiankant/Termipedia";
# then include this in your packages
inputs.termipedia.packages.${system}.termipedia
Usage
termipedia <search query>
License
CCDDL Version 1.1