wikiman(1)

πŸ“¦ version 2.14.1, in arch rolling, nixos 26.05, nixpkgs unstable

πŸ’… wikiman(1) β€” the manual page, but make it make sense

okay bestie, so this is wikiman from the wikiman manual and honestly? it's a whole vibe. it's an offline search engine for manual pages, the Arch Wiki, the Gentoo Wiki and other documentation. no wifi required, no cap. let's get into it 🫢


✨ SYNOPSIS ✨

like, here's how you actually run her:

wikiman [-q] [-a] [-p] [-k] [-c]
        [-l <comma separated languages>] [-s <comma separated sources>]
        [-f <fuzzy finder>] [-H <html viewer>] [-R] <keyword>...
wikiman -S
wikiman -W <shell>
wikiman -v
wikiman -h

and if you don't give her any keywords at all? she just shows you everything. iconic behaviour tbh πŸ’…


🌸 DESCRIPTION 🌸

Wikiman is an offline search engine for manual pages, Arch Wiki, Gentoo Wiki and other documentation.

she gives you a super easy interface for browsing docs without needing to be exact and without being connected to the internet. how? three little tricks, and they're all lowkey genius:

  • full text search for wikis πŸ”
  • partial name and description matching for man pages πŸ“„
  • fuzzy filtering for your search results ✨

the way that she just finds things... main character energy fr fr πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -l <comma separated languages> β€” which language(s) to search. default: en
  • -s <comma separated sources> β€” which sources to use. default: (all available)
  • -f <fuzzy finder> β€” which fuzzy finder to use. default: fzf
  • -q β€” turns on quick search mode ⚑
  • -a β€” turns on AND operator mode
  • -p β€” disables the quick result preview (no lil sneak peek, sad but valid)
  • -k β€” keeps her open after you view a result
  • -c β€” shows the source column
  • -H <html viewer> β€” the viewer for HTML pages. default: w3m
  • -R β€” prints raw output
  • -S β€” lists available sources and exits
  • -W <shell> β€” prints widget code for the specified shell and exits
  • -v β€” prints the version and exits
  • -h β€” displays help and exits

πŸ’– CONFIGURATION πŸ’–

default user configuration file location: ~/.config/wikiman/wikiman.conf (if XDG_CONFIG_HOME is not set).

system-wide configuration location: /etc/wikiman.conf

πŸ¦‹ Sources

sources =

πŸ¦‹ Fuzzy finder

fuzzy_finder = fzf

πŸ¦‹ Quick search mode

quick_search = false

πŸ¦‹ AND operator mode

and_operator = false

πŸ¦‹ Raw output

raw_output = false

πŸ¦‹ Language(s)

man_lang = en
wiki_lang = en

List all man languages besides English (en):

find '/usr/share/man' -maxdepth 1 -type d -not -name 'man*' -printf '%P\n'

List all Arch Wiki languages:

find '/usr/share/doc/arch-wiki/html' -maxdepth 1 -type d -printf '%P\n'

List all FreeBSD Documentation languages:

find '/usr/share/doc/freebsd-docs' -maxdepth 1 -type d -printf '%P\n'

πŸ¦‹ TUI preview

tui_preview = true

πŸ¦‹ TUI keep open

tui_keep_open = false

πŸ¦‹ TUI show source column

tui_source_column = false

πŸ¦‹ TUI viewer for HTML pages

tui_html = w3m

🌈 ADDITIONAL SOURCES 🌈

default user sources directory: ~/.config/wikiman/sources (if XDG_CONFIG_HOME is not set).

system-wide sources directory: /usr/share/wikiman/sources

🧚 Installing a source:

so to install an additional source called <name>, just download it using Wikiman's Makefile:

sudo make install source-<name>

periodt. that's the whole thing πŸ’œ


ngl bestie, that's the full page β€” every flag, every default, every path, nothing skipped πŸ’€

and that's a wrap! sign-off time: this is wikiman 2.14, dated 12 May 2025, and it's the wikiman(1) page, mwah πŸ’‹ πŸŽ€βœ¨

πŸ“¦ where this page comes from