9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Command line read-only wiki client
@ 2021-03-13  7:57 Anthony Sorace
  2021-03-16 13:46 ` [9fans] " nydldmcd2
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Sorace @ 2021-03-13  7:57 UTC (permalink / raw)
  To: 9fans

I've been using the wiki a lot more recently. Inspired by the wiki in tilde.club, I made a read-only command line client. It's simple: 'wiki -l' lists the pages, 'wiki foo' prints article foo, 'wiki foo bar' looks for an article called "foo_bar", then "foo-bar", then separate "foo" and "bar" articles.

I've got both a Plan 9 and p9p version:
        http://a.9srv.net/src/wiki
        http://a.9srv.net/src/wiki-p9p
Adjust the first line in the latter for your installation.

If you've got a wiki mounted on /mnt/wiki (Plan 9) or `{namespace}/wiki (p9p), it'll use that, so if you talk to multiple wikis that'll work. Otherwise, it relies on "9fs wiki" finding a wiki installation. I use this in 9fs on Plan 9:
        case wiki
                srv -m 'net!p9f.org!wiki' wiki /mnt/wiki 
and this on p9p:
        case wiki
                srv 'net!p9f.org!wiki' wiki



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T033f756b8ec05b5d-M92ccac8a85a9504f3ae8cab7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] Re: Command line read-only wiki client
  2021-03-13  7:57 [9fans] Command line read-only wiki client Anthony Sorace
@ 2021-03-16 13:46 ` nydldmcd2
  0 siblings, 0 replies; 2+ messages in thread
From: nydldmcd2 @ 2021-03-16 13:46 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

this is really sweet thanks
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T033f756b8ec05b5d-Ma7fe4074342048d87f3b4581
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 738 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-16 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13  7:57 [9fans] Command line read-only wiki client Anthony Sorace
2021-03-16 13:46 ` [9fans] " nydldmcd2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).