The other kind of software

It’s not a native app. It’s not a web app or a PWA. It runs everywhere, offline and no platform gatekeeper needs to approve it.

You probably know it already, but maybe haven’t thought of it as a software platform before.

It can be distributed via the web, but also as an email attachment, downloaded from a cloud storage drive or copied from a usb drive.

Surprise — it’s EPUB!

That’s right. I’m talking about EPUB. Again.

Software in an EPUB shape

What are the potential advantages of shipping your software as a self-contained EPUB package?

  1. Lower development overheads - no annual developer subscription needed to keep your app available.

  2. Ungated distribution - no store gatekeeper to satisfy to distribute your app in the first place.

  3. Offline first - no ongoing domain/hosting costs to keep your app online like a web site.

  4. Longevity - no web hosting obsolescence (remember php 5?), no native app bit-rot / forced rebuild for a new OS release (remember iOS 6?).

But seriously…

Enough of me pretending that it’s a generic software platform. The vast majority of native apps and web apps aren’t going to work as standalone EPUB titles.

But it’s worth knowing about, and there are some particular points of friction that could be addressed to make it a more useful platform.

Here are some gaps in the EPUB landscape considered from an app platform point of view.

Authoring tooling

Development and testing could be as featureful and convenient as a Vite-based web development stack, but aren’t.

EPUB is usually a destination format from a desktop-publishing tool. MS Word, Google Docs, Apple Pages. They all export EPUB but as a lowest common denominator equivalent to PDF, not as an application package.

Sigil, Calibre and pandoc are the open source heroes for EPUB packaging but again none of them treat it as an application container and there’s no environment with hot reload preview of scripted content.

Reading Systems / Runtimes

EPUB runtimes are increasingly based on WebKit but scripting features are inconsistently enabled or sandboxed in the renderer on different apps (called Reading Systems in the EPUB spec).

Depending on the audience for your app you might only need one Reading System per platform to support the features you rely on. Books on iOS provides a script-enabled environment. Cantook or Lis-a provide solid WebKit-based Reading Systems on iOS and Android.

Fingers crossed for more consistent API support in future releases of more reading apps.

Monetisation

Outside the app stores you can find a better deal than Google and Apple’s 30% cut of the cover price, but it’s not clear where you’ll find a paying audience. Gumroad? Leanpub? Direct sale?

Rights Management

I don’t even want to think about why you might be interested in DRM. I’m not.

DRM is incompatible with the premise of ungated software distribution. Which corporation are you seeking permission to distribute from? Why?

Out Of Scope™.

Discovery

Not the same list as ‘monetisation’ above, but related. I’m making digital books for a handful of individuals and groups I personally know in Real Life, with the expectation that they might pass them onto other individuals they know. I’m not marketing anything or expecting the work to be discovered on a digital platform.

It’s a little like the '90s freeware scene. Make cool stuff. Share it.

Update channel

A new version of the book exists. How do readers know about it? Do they need to?

Apple Books knows about a custom metadata field ibooks:version that looks like it describes this situation. Reading System support? Unlikely.

TBD.

A Worked Example

Here’s an EPUB I’ve published on the Apple Books Store. It’s best on an Apple iPad with an Apple Pencil. It uses an HTML canvas element and stylus input events to enable handwriting practice.

Cover of the Georgian Script Workbook
Georgian Script Workbook

It’s a free download within the Apple ecosystem.

Georgian Script Workbook on Apple Books

It’s also available to download for A$12 on Gumroad if you’d like to financially support my work.

Georgian Script Workbook on Gumroad

If you’d like to download it right now, for no cost you can do that here.

Georgian Script Workbook for free

Your next project

  • Could your web site be an EPUB?
  • Could your native app be an EPUB?
  • Could your PWA be an EPUB?

Do you want a hand with it? Get in touch.