Read and search Archwiki and other wikis, online or offline, in HTML, markdown or text, on the desktop or the terminal
Project description
In development - TODOs
Read and search Archwiki and other wikis, online or offline, in HTML, markdown or text, on the desktop or the terminal
Command-line tool to search Archwiki (and other wikis) from the command-line, on- or off-line, in html or text, on the desktop or the terminal.
It launches the browser appropriate to your environment, caches what you access on the fly while you have a network connection, and accesses the cache when you're offline. 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. The idea is to always have access to your important wikis, even when things are so FUBAR there's no graphical environment or internet.
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,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 "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
-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://#TODO```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arch_wiki_search-20250825.tar.gz.
File metadata
- Download URL: arch_wiki_search-20250825.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df2e0b97f6b18363b0f6ffc245a3c5d578008b6b679e730e8bfea1bb50d2f8b0
|
|
| MD5 |
07cea8ae545712a6be0aaeb9ea82a598
|
|
| BLAKE2b-256 |
8b4a18b0a7838ead09f1faf5b3351eb12aea678176d609fe614658516be08083
|
File details
Details for the file arch_wiki_search-20250825-py3-none-any.whl.
File metadata
- Download URL: arch_wiki_search-20250825-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97d995223ddae37624c960d33002bce0487a2c2e97b15d9ef301341050acef09
|
|
| MD5 |
5d1a5e8bfaf8341e96004820f65341d3
|
|
| BLAKE2b-256 |
56a9bce4bbe939bdc2659b01182180035ccdcf9dea7fc141bc464bc460160965
|