Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles_on_writing:wiki_farm

This is an old revision of the document!


Animal Farm

As a writer, I love sitting at my computer and either writing my next novel, or working on the development phase - world-building, character creation, plot development etc. However, after 12 hours sitting at my desk I'm getting a bit uncomfortable and if I listen very carefully, I can hear the sofa's siren call… Breaking free of the desk has been something I've been working toward since the middle of the year.

I built a NAS (network attached storage) and put a handful of Tb of storage space on it. I've been building a laptop out of a Raspberry Pi and a pizza box, although the pizza box has now been replaced with an aluminium, padded briefcase. The laptop has been useable for some months, although it is not yet finished. I've also got SyncThing working so both my desktop and my laptop sync a folder on the NAS (so they both always stay in sync) - just like dropBox or OneDrive, except it works only on my local network.

I've also setup a VPN so anytime I'm away from home, as long as I can connect to the internet I can connect to my home network and access all the resources on it - which means, for example, SyncThing will work.

Windows/Linux Problem

The problem, for me as a writer, is that there is very little in the way of software for novelists that is available on both Windows (my desktop machine) and Linux (my laptop).

I usually use Scrivener. I've been using that for nearly a decade, and as well as being very happy with it, it is a very comfortable environment for me. There is an old version of Scrivener that is available for Linux, but the data files are incompatible with current versions. I don't like using traditional word processors, and if you've ever tried searching backwards or scrolling backwards through a 500 page document neither would you.

One program that worked equally well on both platforms was Zim-Wiki, which is a notepad program that stores notes in projects and orders them hierarchically. A quick test showed that it synched seamlessly using the NAS as an intermediary. Zim is created from code that came from the DokuWiki project - the same wiki software that drives this website. It's a useful tool, and I use it a lot in the development phase of any story, however, I wasn't keen on actually writing a novel with it.

If you look at the treeview on this site, you can probably see possibilities. One branch for the manuscript, another branch for research, and another for notes - all very similar to Scrivener. I can do the same in Zim, but Zim is an encapsulated program. This website I can open in multiple tabs and have each tab viewing a different page. One that I'm editing, one displaying notes or research… or another scene, chapter etc.

Wiki Farms and Animals

It is possible to set up a wiki as a wiki farm. This is where the software is installed once, but several (perhaps hundreds) of wikis run from it. Each wiki takes the settings of the main wiki (the farm), and it is possible to then tweak those settings on a wiki by wiki basis.

The main (or default) wiki is known as the farm, and the other wikis are the animals. If you're getting a George Orwell feeling at this point, then good, because he was an author and so am I (although perhaps not in the same league).

My plan at this point is to setup another Raspberry Pi as the host for this farm, with data being stored on a hard disk rather than an SD card. There is a plugin for DokuWiki that makes creating, deleting and configuring animals very simple. Each animal would, in this case, be a new novel.

With the VPN, I can access this from anywhere in the world, and all I need is a web browser. Further, I'd be editing the same version of the files. However, prudence would dictate that I create a local copy on my laptop using SyncThing, so if I'm unable to connect to the internet, I can still continue working. As long as I power up the laptop when I get home, everything would get synched.

The other major advantage of DokuWiki is that it creates a backup in the form of a reverse-delta file of any page that is edited. That way I can always roll-back any changes or simply review an earlier version of a page and copy the bits I want from it.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies

Discussion

Enter your comment:
D V V N L
 
blog/articles_on_writing/wiki_farm.1605911052.txt.gz · Last modified: 2020/11/20 22:24 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki