Ledgerbook
v1.22

Know what you’re owed, what you owe, and what it’s all worth.

Ledgerbook is an offline ledger for a small business. Customers, suppliers, staff, stock and drivers sit on one screen, on your own computer or phone. There is no account to create, and nothing is sent anywhere.

For Linux and Android. The Android apps ask for no permissions at all.

Tue 17 Nov. Dan drops 120 kg of flour at Corner Bakery, on account.
LedgerWhat changesAmount
StockFlour out of Bay 1−120 kg
Corner BakeryOwes you more+$216.00
Dan MillerDriver pay earned+$6.00
Net worth$39,139.95

You type the delivery once. Ledgerbook posts it to every ledger it touches.

The same book on a phone. On a computer, all six sections sit side by side.
The whole business on one screen: six sections, four totals and net worth. This is the example shop used all over this site, Harvest Lane Flour, which sells one product, flour, by the kilogram.

Three apps

One for the office, one for your pocket, one for your drivers.

Ledgerbookon a Linux computerLedgerbook for Androidthe same book on a phoneLedgerbook Driverfor delivery drivers
Who uses itThe owner or bookkeeperThe owner, or a manager with a team copyEach delivery driver
What it showsEverythingEverything, or only what you allow a team member to seeCustomer numbers, items, rates and prices. No names, contacts or balances
Where the data livesOne file in your home folder, backed up every hourThe app’s private storage, with a copy kept each dayThe app’s private storage, until the driver exports a file for you
InternetAnswers only to this computerNo internet permissionNo internet permission
NeedsPython 3.8 or newer and a web browserAndroid 8 or newerAndroid 8 or newer
Get itInstall on LinuxInstall on AndroidInstall the Driver app

On the road

Drivers type a customer number. They never see a name.

  1. You send a setup file. It holds your items, driver rates, prices and the list of valid customer numbers. Nothing else.
  2. The driver records each drop. The number from the delivery slip, the kilograms, and whether it was on account, cash or delivery only.
  3. The driver exports one file at the end of the day and sends it to you.
  4. You review it with the real names beside each number, then apply it. Stock, the customer’s account, the driver’s pay and the cash they hold all update together.
A drop: two 50 kg deals and 20 kg at the regular price
Cash collected for a customer’s account
The driver’s own summary of the day

Set up a driver’s phoneHow drivers use itTry the Driver app

Where your data lives

On your device, and nowhere else.

No internet permission
Both Android apps request no permissions at all, so Android blocks every network connection they could try to make. You can see that for yourself on the phone’s app info screen.
One file you can copy
On Linux your whole book is one file, data.json, in your home folder. Copy it to move to another computer.
Backups without thinking
Linux keeps the last 40 automatic backups, made at each start and every hour. Android keeps a copy each day.
An encrypted copy if you want one
Point Ledgerbook at an unlocked Cryptomator vault and it writes a fresh copy there about 30 seconds after every change. It only writes while the vault is unlocked.
Team files are locked
Packs and changes that travel between you and a manager are encrypted with AES-256-GCM. The key is made from a passphrase only the two of you know.
This site keeps nothing either
No cookies, no analytics, and no fonts or scripts from other servers.

Privacy and security in full

See it work

The whole thing in about 3 minutes.

Read the transcript, or download the video (26.7 MB).

Get it

Pick the device. Each route takes a few minutes.

A Linux computer

For the owner or bookkeeper

  1. Download the zip file
  2. Unzip it and run ./install.sh
  3. Open Ledgerbook from your applications menu
Install on Linux

An Android phone

For the owner, or a manager with a team copy

  1. Add this site’s repo to F-Droid, or download the APK
  2. Install Ledgerbook
  3. Start a book, or restore the one from your computer
Install on Android

Drivers’ phones

For each delivery driver

  1. Install Ledgerbook Driver
  2. Send the driver a setup file
  3. They choose a PIN and start recording drops
Install the Driver app