Skip to main content

In development - TODOs

Read and search Archwiki and other wikis, online or offline, in HTML, markdown or text, on the desktop or the terminal

💡The idea is to always have access to your important wikis, even when things are so FUBAR there's no graphical environment or internet, and also to reduce the load on the wiki hoster themselves since users would be using their own cache most of the time.

It launches the browser appropriate to your environment, caches what you access +1 level of links if needed on the fly while you have a network connection, and accesses the cache when you're offline or the cache needs a refresh. It can also simplify the pages on the fly and export and import caches for out-of-band sharing or inclusion in an install media.

There's no option to cache a whole wiki at once, in order to, you know, not DDOS them. So what will be available offline will be what you already accessed online manually, or that you imported with --merge prior.

For instance:

$ arch-wiki-search "installation guide"

$ arch-wiki-search --wiki=wikipedia --conv=txt "MIT license"

[TODO: screenshots/webms]

See --help:

$ arch-wiki-search [-h] [-w {archwiki,discovery,fedorawiki,freebsdwiki,gentoowiki,manjarowiki,pythonwiki,slackdocs,wikipedia}]
                             [-u URL] [-s SEARCHSTRING] [-c {raw,clean,txt}] [--offline] [--refresh] [-v] [-x] [-m MERGE] [-d]
                             [search]

Read and search Archwiki and other wikis, online or offline, in HTML, markdown or text, on the desktop or the terminal

Examples:
    🡪 $ arch-wiki-search "installation guide"
    🡪 $ arch-wiki-search --wiki=wikipedia --conv=txt "MIT license"

positional arguments:
  search                string to search (ex: "installation guide")

options:
  -h, --help            show this help message and exit
  -w, --wiki {archwiki,discovery,fedorawiki,freebsdwiki,manjarowiki,pythonwiki,slackdocs,wikipedia}
                        Load a known wiki by name (ex: --wiki=wikipedia) [Default: archwiki]
  -u, --url URL         URL of wiki to browse (ex: https://wikipedia.org, https://wiki.freebsd.org)
  -s, --searchstring SEARCHSTRING
                        alternative search string (ex: "/wiki/Special:Search?go=Go&search=", "/FrontPage?action=fullsearch&value=")
  -c, --conv {raw,clean,txt}
                        conversion mode:
                        raw: no conversion (but still remove binaries)
                        clean: convert to simple html (basic formatting, no styles or scripts)
                        txt: convert to plain text
                        [Default: 'raw' in graphical environment, 'clean' otherwise]
  --offline, --test     Don't try to go online, only use cached copy if it exists
  --refresh             Force going online and refresh the cache
  -v, --version         Print version number and exit
  -x, --export          Export cache as .zip file
  -m, --merge MERGE     Import and merge cache from a zip file created with --export
  --clear               Clear cache and exit
  -d, --debug

Options -u and -s overwrite the corresponding url or searchstring provided by -w
Known wiki names and their url/searchstring pairs are read from a 'wikis.yaml' file in '$(pwd)' and '{$HOME}/.config/arch-wiki-search'
Github: 🌐https://github.com/clorteau/arch-wiki-search
Request to add new wiki: 🌐https://github.com/clorteau/arch-wiki-search/issues/new?template=new-wiki.md

Installation

Arch Linux and derivatives through AUR

$ yay -S arch-wiki-search

Anywhere through PyPI

$ pipx install arch-wiki-search

Metadata

Release files for arch-wiki-search 20250826

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arch-wiki-search 20250826
File Size Uploaded
arch_wiki_search-20250826.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arch-wiki-search 20250826
File Interpreter ABI Platform
arch_wiki_search-20250826-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / arch_wiki_search-20250826.tar.gz

Download URL arch_wiki_search-20250826.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0c83385bd293eadf875d39c5ded32dc9ea3d4d7e87b4e0dc8aa89a3f2b3b9e6f
BLAKE2b-256 checksum
How to use checksums
0e021b383d7690bcb92d0821f79f98b8844d7d6bf5b0da115ceeeb3e7cf6a926
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / arch_wiki_search-20250826-py3-none-any.whl

Download URL arch_wiki_search-20250826-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f7caeb6f10f3ffa8a0d93426103c933a4d6d55a627a45cb85b20cf59efda005
BLAKE2b-256 checksum
How to use checksums
4a10c99edcd03db9c1aadf14cd20c248e8ab3f3e60d8072247eb2f94e6d01ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

20250826 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page