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

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.

Raspberry Pi

The Raspberry Pi is a credit-card sized computer. All you need to do is put an operating system on an SD card, connect the Pi to your network, plug the Pi into a socket and it works. You can either plug a monitor/mouse/keyboard into it, or control it from another computer.

With these I have built a clock that tells the time anywhere on Marsplugin-autotooltip__default plugin-autotooltip_bigPi-Mars v1.1

Pi-Mars is a clock for the Raspberry Pi, that tells the time anywhere on Mars. It has options to nominate ad-hoc locations, pre-selected locations and sites of the various missions that made it to the Martian surface. It is skinnable and highly configurable.
, a NAS (put some hard drives on the network), a Pi-Hole (eradicate adverts), a Cron Server (fetches data from NASA and updates various pages in the Aardvaarkplugin-autotooltip__default plugin-autotooltip_bigAardvaark

This is where articles and other pages that have no other home live.

Cookie Policy & GDPR

Downloads

Old Daily Mars Weather Reports

Mars Weather

Rules on Reviewing

Contact Me

International Space Station

NASA Image of the Day

Perseverance

Mars Mission Locator

Near Earth Objects

Perseverance (section)
section of this site), a music centre and a laptop. They are extremely versatile.

I installed SyncThing, which is like OneDrive or DropBox, except I can sync multiple folders with diskspace limited only by the amount of space on the computer with the least space on it, and instead of synching with a folder “in the cloud”, it synchs with a folder on my NAS.

I also installed a VPN so I can access my network and all its resources from anywhere in the world - as long as I have internet access. As soon as I'm connected through the VPN, SyncThing will work and sync with the NAS (if necessary).

With a network, a NAS, a desktop and laptop, a VPN and SyncThing, the stage is almost set.

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.

There are other programs out there: some of them are online (I need them to be able to work offline), and some of them just don't work the way I want them to.

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. I could create 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 set up 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.

The next article, Animal Farm Part 2plugin-autotooltip__default plugin-autotooltip_bigAnimal Farm Part 2

In an earlier article I explained why using a wiki farm could be productive for someone who is on the move or likes to preserve previous versions of documents, and also for someone like me who uses multiple operating systems.

It's worth noting too that collaborating becomes a lot easier using a wiki, and since the platform preserves old versions of each document, it provides a safety net too. That aside, I thought I'd share how this all works for the user.
describes how I configured the farm and got it all working.

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:
U Q B I​ B
 
blog/articles_on_writing/wiki_farm.txt · Last modified: 2020/12/12 14:25 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
  • ISSplugin-autotooltip__default plugin-autotooltip_bigInternational Space Station

    This page has a portal through which you can view the current location of the International Space Station, updating in real-time. The tracker itself comes from the European Space Agency (ESA).

    There is also a handy link to get email notifications direct from NASA when the ISS is visible in your night sky.
  • Mars Weatherplugin-autotooltip__default plugin-autotooltip_bigMars Weather

    Weather Reports Insight Lander Perseverance Rover Curiosity data to come [Current positions of Earth and Mars] Image courtesy of and © Dominic Ford

    This image is updated once per week. A daily update is available on the Mars Solar Conjunctions page when such events are active.

    You can check the position of Mars vs the Sun and Earth for any date here:
  • Downloadsplugin-autotooltip__default plugin-autotooltip_bigDownloads

    Orbital Calculator Current Version This is a portable application, meaning there is no installer. Just unzip into a folder and run the executable. Since it is portable, it can be run from a USB stick.

    A full description and a list of the features are available
  • Orbital Calculatorplugin-autotooltip__default plugin-autotooltip_bigOrbital Calculator

    I needed to calculate orbital characteristics for any orbit around any gravitational mass (because I write sci-fi stories), so I wrote this program because I'm a programmer and I'm too lazy to do it by hand all the time. The program has expanded over the last few years, sometimes from suggestions by other writers. I make it freely available and as simple to use as possible. It now has a list of functions as long as your arm (assuming you're not a tentacle user), and the numbe…
  • Cookie Policy & GDPRplugin-autotooltip__default plugin-autotooltip_bigCookie Policy & GDPR

    There are NO tracking cookies on this site!

    The Cookie policy is straightforward. This site only uses cookies that are required to make your experience of using this site better, and only uses session cookies (see exceptions below). Session cookies are deleted when you close your browser.
  • Book Reviewsplugin-autotooltip__default plugin-autotooltip_bigBook Reviews

    Here you can find all the book reviews, broken down by genre, and further subdivided by author. If you want me to review your novel, please read my Rules on Reviewing.

    * Science-Fiction * Fantasy * Non-Fiction
  • Contactplugin-autotooltip__default plugin-autotooltip_bigContact

    If you have a burning desire to contact me, use the discussion form below. Anything you say remains private between you and me.