Skip to content

u/galudwig

In this archive from Oct 2014 to Feb 2020

2
posts
76
comments
1
media
395
score

Top posts

Top comments

So I'm learning node and wrote this to get better with promises and because I didn't like the existing solutions much for command-line arch wiki browsing.

First you need Node. Then install this with npm install -g arch-wiki-man, which will also save a local copy of all the wiki articles in markdown on your drive (it gets updated with changes to the wiki every two days, run the install command again in the future to fetch those updates).

Once installed, do an awman -h for usage details. Options are search in descriptions with -d, apropos-style in-content search with -k and open articles in your browser rather than man with -w.

I'm not sure if this is just useful for me or for others too but here it is :) If you do like it, drop me a star on github :)

edit-- Woo, thanks for the gold!!

edit2-- It's now also available on the AUR

15 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.