awman - Search and read the Arch Wiki offline as man pages on the command line
npmjs.com/package/arch-wiki-manNot downloaded yet
In this archive from Oct 2014 to Feb 2020
I'm not much into networking but I've just switched routers and motherboards and am having issues getting my ethernet connection to work. Any help would be greatly appreciated. I'm using netctl with a dhcp profile and a static IP (though I've tried different ways without success). lspci -v: (...) Ke...
Here you go. This used to bug the hell out of me too until I finally found it :)
I'm new to making AUR packages but I think this should work just fine: arch-wiki-man. Tell me if I screwed up somewhere :)
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 -hfor usage details. Options are search in descriptions with-d, apropos-style in-content search with-kand open articles in your browser rather thanmanwith-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
Makes sense, I'll do this later tonight or tomorrow and will reply to this thread to let you know.
Omg there's an API?! I looked for one before setting out to build the scraping tool but didn't find one. Well that certainly would have made things easier. I'll take a look later on and simplify everything.