Hosting Private Hypertext

We consider how unpublished hypertext can be privately hosted for personal use within the context of federated wiki where dynamic "collaborative" link resolution creates new opportunities for distribution.

A motivating example is the classic A Pattern Language by Alexander, et. al. which has been an inspiration for wiki but has yet to respond to the emergent pressure of online collaboration.

We will describe how an individual can serve for themselves materials to be read within their own web browser as if it were generally published but only to them. This requires installing server software which can draw one into the complexity of release versions and dependencies. Seek help if this is new to you.

# Installation

Our most conveniently packaged version of federated wiki server software is written in node and can run on most contemporary computers including the Raspberry Pi.

Install node and its companion npm using homebrew.

brew install node

Install wiki for "global" use on one computer.

npm install -g wiki

Start wiki in "farm" mode on an unused port 3000.

wiki -f -p 3000

You should now be able to view your wiki server as localhost. Enter the following into your browser's location bar or click this link

http://localhost:3000/

# Content

Wiki's default access control is read-only which is sufficient for our purposes here. There are many more security options should you want to write your own wiki pages.

We will presume you have received a private copy of the APL hypertext as a zip file and expanded it to make the directory apl.localhost. Move this to the content storage folder managed by wiki: ".wiki" in your home directory.

mv apl.localhost ~/.wiki

You can open the content storage folder in Finder using the Go ⇒ Go to Folder... menu to enter ~/.wiki

# Federation

The Growing Regions pattern language links by name to patterns from APL. Open both works together in your browser by entering the following in your browser's location bar or click this link

http://npl.wiki/view/welcome-visitors/apl.localhost:3000/welcome-visitors

Expect to see a browser tab open with two welcome pages, one for each site. The first site mentioned in the URL is called the "origin". enlarge

You will be browsing from the perspective of npl.wiki as origin which would make apl.localhost pages technically "remote" and thus bordered by a blue halo to indicate you are traveling away from that origin.

This notion of origin becomes important when writing as changes go back to the origin. Both sites are read only for now and can be opened in either order.

# Application

We consider now how one might synthesize the independent work of multiple authors which may or may not include privately held material such as APL.

When we open a tab with NPL and APL together as we did above the two sites become neighbors. If we navigate through the former to, say, Place Networks, we will find that it links to Circulation Realms which is now in the neighborhood but not yet part of the same work. One more click opens the desired page. enlarge

We can fork content from APL served from localhost into our browser's version of NPL. At this point the Circulation Realms link ceases to be remote as we've now made it part of our locally modified NPL.

This forking and possibly editing process can continue and, as suggested elsewhere, be used to may project specific pamphlets from Local Changes. Here, for example, changes made yesterday connecting NPL with the Dayton Experiment join Place Network and Circulation Realms.