wikicurses(1)

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

πŸ’« wikicurses πŸ’«

Okay bestie, so this is wikicurses, a curses interface for MediaWiki β€” literally the cutest way to browse wikis in your terminal. It's from the General Commands Manual, and it's giving "I read the docs so you don't have to" energy. Let's get into it. πŸ’…

🌸 SYNOPSIS 🌸

wikicurses [-h] [--wiki WIKI] [-d | -f | -p] [search]

✨ CONTROLS ✨

πŸŽ€ General

  • j or down β€” Scroll down. The vibe check of moving down the page.
  • k or up β€” Scroll up. Scroll up, bestie.
  • ^b or pagedown β€” Scroll down one page. One whole page of slay.
  • ^f or pageup β€” Scroll up one page. Yep, it says pageup for scrolling up β€” I don't make the rules, I just report them exactly. πŸ™ˆ
  • g or home β€” Scroll to top. Back to the beginning, main character energy.
  • G or end β€” Scroll to bottom. Ate, no cap.

πŸ“– Pager

  • c β€” Open table of contents. Iconic little menu moment.
  • o β€” Open search box. Let's find something.
  • q or :q[uit] β€” Exit. Bye bestie! πŸ’–
  • :bmark β€” Bookmark page. Save it for later.
  • :bmarks β€” Open bookmarks. Your collection of faves.
  • :links β€” Open list of internal links in page.
  • :iwlinks β€” Open list of interwiki links in page.
  • :extlinks β€” Open list of external links in page to open in browser. Pop off, little links.
  • :langs β€” Open list of languages the article is available in. Globally iconic.
  • :wikis β€” Open list of configured wikis, see wikicurses.conf(5). Wiki-ception.
  • :feeds β€” Open a list of featured feeds on the current wiki.
  • :clearcache β€” Clears the cache; exiting the program has an equivalent effect. Marie Kondo that cache, bestie.
  • :edit β€” Edit wiki page (opens in $EDITOR). You're the editor now. ✨
  • :help β€” Display man page. Meta. So meta.
  • :back, h, or left β€” Go backward in history.
  • :forward, l, or right β€” Go forward in history.
  • :random β€” Go to a random page. Chaos mode: activated.
  • / β€” Search page and highlight matching text. Supports regular expressions. Regex girlies rise up. πŸ”₯

πŸ”– Bookmarks Menu

  • x or delete β€” Delete selected bookmark. Gone, but not forgotten.
  • u β€” Undo deletion. The comeback. ✨
  • tab β€” Tab completion for page title. Type less, slay more.

πŸ¦‹ OPTIONS πŸ¦‹

  • -h, --help β€” Display help message. The classic "help me help you."
  • -w, --wiki <wiki> β€” Url or name of wiki to use. Pick your wiki, bestie.
  • -f, --feed <name> β€” view featured feed. Feed me content.
  • --dumpcolors β€” write current color settings to config file. For when you want your colors saved, periodt.

🎨 COLOR SETTINGS 🎨

To use colors other than the defaults, you need a file called ~/.config/wikicurses/colors. To create this file with the current color settings, run wikicurses --dumpcolors. This is a configuration file containing various things that can be colored. Each has allows setting display settings (bold, underline, or standout), foreground color, background color, and text alignment. Multiple settings can be set by separating with spaces. The color options are the same as in urwid (see http://urwid.org/manual/displayattributes.html).

Okay so the whole color file is a lewk. You can set display settings, foreground, background, and text alignment β€” just separate multiple settings with spaces. The color options match urwid's, so iykyk. 🌈

🌟 ENVIRONMENT VARIABLES 🌟

  • HOME, XDG_CONFIG_HOME β€” Determines where to look for and store configuration files. Where your config lives, basically.
  • EDITOR β€” The name of the command to use as a text editor, defaulting to vim. Default editor is vim, iconic.
  • BROWSER β€” The name of the command to use as a web browser, defaulting to lynx. Default browser is lynx, old school cool.

🌸 EXAMPLES 🌸

wikicurses Wiki

Look up "Wiki" on the default wiki. Baby's first lookup.

wikicurses -w ArchWiki Dwm

Look up "Dwm" on the Archlinux Wiki, where "ArchWiki" is configured in wikicurses.conf(5). Named wiki moment.

wikicurses -w http://en.wiktionary.org/w/api.php penguin

Look up "penguin" on Wiktionary. Penguin. That's it. That's the example. 🐧

wikicurses -f potd

Open "potd" (Picture of the Day) feed. Picture of the Day, slay.


πŸ‘€ SEE ALSO πŸ‘€

wikicurses.conf(5)


πŸ’€ BUGS πŸ’€

https://github.com/ids1024/wikicurses/issues


And that's the whole page, bestie! 🌈✨

Frosted with wikicurses 1, dated 2015-04-16. You're literally so welcome. πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from