The Dream Book
There is no recovery and no reset — the passcode never leaves this device. If it has been forgotten, a JSON backup is the only way back in.
A nudge
Two minutes, and then you can stop reading this.
The whole journal is one file. Open the-dream-book.html and it opens in
your browser. There is nothing to install, no account, no internet needed after the
first load, and nothing is ever sent anywhere. What you write stays on the device you
wrote it on.
The first time the book opens, a few welcome slides ask whose book it is and let you choose a look; then a short tour points out the page, the writing bar, the night's sheet, turning the page, the index, the looks and the printing. Esc skips either. Settings › Book shows them again.
This guide lives inside the book: the ? in the toolbar (or the ? key) opens it at any time. Search it from the box at the top, or press Show me beside a heading to be walked through it on the page itself.
To see a book that has been kept for a while, Settings › Book › See a sample book opens one in a new tab: a few months of invented dreams, with fragments, images that recur, pictures, and an index already built. It is kept in storage of its own — change anything in it; your own book is never touched.
The browser keeps your writing in its own storage, for this file, on this device. That is durable, but it is not a safe. Clear browsing data, a wiped profile, or opening the journal in a private window will not find it. A backup file is the only copy you fully control — §12.
Put the .html in a folder that is already backed up — Dropbox, iCloud
Drive, OneDrive, a synced Documents folder. Syncing the file does not sync your
writing; the writing lives in the browser. Sync the backup .json
as well and you have both.
Not to a day. This is the one thing to understand.
You wake at seven from something that happened at three. That dream is not today's — it belongs to the night before, and so does everything else you dreamt while you were asleep. So a night here is filed under the date you went to bed, and the page says so: Saturday 29th — Sunday 30th August 2026.
Which means: before five in the afternoon, N gives you last night, not tonight. That is almost always what you want, since the dream you are trying to write down happened before you woke. After five it moves on to the night about to start.
In the night's sheet, Which night takes any date — put down something from last week, or move a night that was filed under the wrong date. (A night with pictures or recordings keeps its date.) Every night can be written on at any time; the book is not in a hurry.
The nights sit in date order, a month at a time. Settings › Book › The newest night puts last night at the front of the book, where it is found first — the default — or at the back, as a diary keeps them. A month can open on a page of its own, with the month's name, how many nights it holds and when the moon was full: Settings › Book › The pages around the nights › A page to open each month.
Every night carries its phase, worked out from the date and drawn in the corner of the page — a crescent, a half, a full moon. It is not decoration for its own sake: once you have a few weeks in the book, Patterns (I) shows your nights sorted by phase. Take that with the salt it deserves; it says as much about when you remember to write as it does about the moon. Settings › Layout › The moon hides it.
Fragments first. The story can wait.
A dream does not arrive as a paragraph. It arrives as three disconnected images, and they go in the order they go: the corridor, your mother's voice from another floor, the key that would not turn. Ten minutes later two of them are gone. So a night's page has two places to write, and they are not the same place.
N opens it for last night; the lines-and-moon button in the writing bar, the ⋯ on the pill, a double-click on the strip of facts, or a tap on it on a phone, open it for the night in front. It holds everything that is not the account:
Give me a nudge offers a question — what was behind you?, was there anything you could read? — from a list of twenty. It is surprising how often one of them pulls the rest of it back. And when an account stops short, a card offers a nudge on its own, picked for what the account has not said yet — where you were, who was there, the light. Settings › Writing › Offer a nudge turns that off.
A real printed index, at the back of the book.
Press X, the book in the toolbar, or turn to the last pages. Every image you have tagged, how many nights it appeared on, and which nights those were — set as a proper back-of-book index with dot leaders, over as many pages as it takes. Click any date to go there. The panel version can be filtered as you type.
This is what makes the book worth keeping for a decade rather than a month. You will find out what you have been dreaming about all along, and it is rarely what you would have guessed.
Settings › Book › The index sets how many nights an image needs before it earns a line. Two is a good default: it keeps the one-offs out and leaves the patterns. Leave the index out of the book altogether under The pages around the nights.
And the one thing this journal does that a paper one cannot.
Click the ruled part of a night's page and type. Every line of text sits on a rule, and every page in the book is ruled to the same measure — whatever page design, page size or type you choose, and however many fragments sit above the account.
On paper a dream gets the rest of the page, and if there is more you get a smaller pen. Here, when the account reaches the bottom of the page, a second page appears — the same night, marked continued — and the text flows on. Delete it again and the extra pages go away by themselves, and the page numbers follow.
A whole book page shrunk to a phone is a miniature. So on a phone or a tablet, tapping a page (or Write it down at the bottom right) opens the notepad: the night's name at the top — type it there too — the night's sheet a tap away underneath, and the account in large type with the line you are writing always above the keyboard. The keyboard's own microphone and suggestions work in it as they do anywhere.
Rather write on the page itself on a phone? Settings › Writing › Where you write › On the page.
Typing saves automatically, about a second after you stop. The chip beside the title says Saved, Saving… — or Not saved, which means the browser refused: see §14 before you write more.
Put the cursor in a page and a small bar appears in the page's top margin: a microphone for dictation, the night's sheet, the pen, a camera for a picture, a page of pictures at once, a dot for a voice note, the notepad, the clock for earlier versions, and a word count.
Every account keeps the versions it has been through. Each time you come back to a night and change it, what was there before is kept — and so is anything cleared with the bin. The clock lists them, newest first; Put this version back restores one, and keeps the version it replaces, so nothing is lost by trying.
A thousand nights, and none of them far away.
Arrow keys, the round arrows beside the page, a swipe — or take the page by its corner and turn it yourself. Four ways to look at the book, in the strip at the top right:
| View | What it is for |
|---|---|
| Page | One page at a time. The default, and the best one for writing. |
| Spread | Two pages side by side, as the bound book will read. Offered on a computer screen wide enough to hold them. |
| Scroll | The whole book in one long column. Good for reading a month back. |
| Full | The page and nothing else, as large as the screen allows. F; Esc leaves. |
Zoom: the control at the bottom right, Ctrl and the wheel, or Ctrl + − 0; on a phone or tablet, the control or two fingers pinched on the page. Turning the page (Settings › Layout) chooses how one page gives way to the next — a page turn that curls like paper, a slide, a swing, a fade, a flip and more. With a mouse, a moment after you start typing the toolbar fades almost away; move the mouse and it comes back.
The pill at the foot of the screen shows the night in front, tonight's moon and how many nights the book holds. Click the night for the contents, the count for patterns; the ⋯ offers what can be done with the page in front.
Settings — S — opens beside the book, so every change shows as you make it.
With a mouse, rest the pointer on any choice — a look, a paper, a page design, a typeface, a flower — and the page shows it at once. Move away and it goes back to what you had; click to keep it. On a phone Settings opens as a sheet under the page: swipe it down to see the whole page.
A look chooses the paper and the desk the book lies on, the page design and its ruling, all four typefaces, the decoration, the cover and how a page turns — and it dresses the app around the book to match. Press L, the palette in the toolbar, or Settings › Look. Put back what I had undoes it.
Your nights, the book's size and its title are never touched by a look, and everything a look sets can still be changed one thing at a time.
This book is dark first, because that is what it is for: Midnight, Deep water, Ember, Forest night, Ash, Inkwell, Tide, Oxide, Aurora, Rose night, Obsidian, Plum, Moss, Cobalt, Wine, Umber, Smoke, Jade, Bruise, Copper — and the light ones for daylight or for a page that will be printed: Dawn, Linen, Fog, Grey paper, Buttercream, and the whole archive of day papers after them. in all, of them dark.
On a dark paper, the stars scatter faintly across the page (Settings › Paper › Stars). Background is its own choice — what sits around the book: Match paper by default, or a night sky, an inkwell, deep water, or one of the day desks. Beside them: the grain, the foxing (on a light paper), your own paper, ruling and accent colours, and the page edges.
Thirty page designs — Manuscript, Interview, Letter, Album, Typescript, Museum, Marginalia, Testimony, Open book, Chapbook, Archive, Plate, Ledger, Field notes, Playbill, Recipe card, Passport, Sampler, Broadsheet, Telegram, Diary, Folio, Notebook, Index card, Almanac, Score, Palimpsest, Broadside, Herbarium, Codex — each a different idea of how a night is set: where its name sits, how large, the ruling under it. Also here: the margins, lines to a page, the writing size, the page size (A5, 6 × 9 in, 5½ × 8½ in, Letter), alignment for the name, the account, the date band and the page number, and switches for the date band, the moon, the strip of facts and the page numbers.
Four faces at once — for the names, the account, the labels, and the hand the fragments are set in — or one of the ready-made sets. Settings › Writing sets the ink, the pen's colour, the ruling, handwriting for the account, the writing size, the hints on an empty night and the nudges. The cover takes a binding — Night, Deep blue, Violet, Forest and the rest — a finish, a gilt frame, and the name of whoever keeps the book.
Before the nights come a title page, a dedication, Three things — how to keep the book — and the contents; a month can open on a page of its own; at the back come the index and the last page. Each can be left out, and the title page, dedication, contents and month pages each have designs of their own, and the title page can carry a picture. Settings › Book › The pages around the nights, or the ⋯ on the pill for the page in front.
A night you would rather not have in the printed book: ⋯ › Leave this night out of the book. Its pages close up and the numbering follows; everything written is kept. Settings › Book › Nights left out lists them, each with Put it back. A night left out is not counted in the index or the patterns.
drawings for the page, and fifty printers' flowers.
Settings › Decoration. The ready-made layouts at the top — Night sky and Under the moon among them — dress every page at once; rest on one to see it, click to keep it. Open the page designer to place pieces yourself: a tray of drawings — crescents, a moon wreath, constellations, sparkles, a shooting star, a ringed planet, flowers, vines, frames and corners, in colour or in line and gilt — dragged onto one page, which then becomes every page in the book, including the nights you have not dreamt yet.
Printers' flowers are small marks set into the page — above the name, under it, in a rule across the page, at the foot, in the margins or the corners. Open a place, pick a flower, watch the page. First pages only keeps them to the start of each night.
Speed is the whole game at seven in the morning.
Press V, or the speech bubbles in the toolbar. The night fills the screen; press Say it (or Space) and tell the dream aloud. It is recorded — kept with the night as a voice note — and, in Chrome, Edge or Safari, written into the account as you speak, with a full stop at each pause. A nudge waits underneath. Last night jumps to last night; ← → move through the nights; Esc returns to the book with everything on its page.
Ctrl/⌘+D, or the microphone in the writing bar. Speak and the words appear at the cursor; say “comma”, “full stop”, “new line” and it punctuates. Twenty-five languages. It uses the browser's own speech service, so it needs Chrome or Edge and a connection — nothing else in the book does.
A browser will not lend its microphone to a book opened straight from a file — or, on a phone, from WhatsApp, the Files app or another chat app. That is the browser's rule, and no page can change it. So on a phone the book does the next best thing: the microphone button points to the microphone on your keyboard, which types what you say straight onto the page; and the voice-note button opens the phone's own recorder, and the recording comes back into the book with the night. On a computer, Windows+H (Windows) or Fn twice (Mac) types what you say. Opened from a web address, the book's own microphone works everywhere.
The dot in the writing bar records straight onto the page, kept with the night it belongs to. For the mornings when even typing is too slow, and for the sound of a thing you cannot describe.
A recording is not printed, because it cannot be. The printed page carries a line saying a recording is attached there instead. Keep the backup, not just the paper.
The camera in the writing bar, or drag an image onto the page, or paste one — a photograph of a sketch you made on waking, a place that looked like the place. A new picture lands at the head of the writing and is yours to arrange, as in a design program: drag it, pull a corner to size it, turn it, crop what shows in its frame, give it a shape (square, rounded, circle, oval, arch, heart), a frame (fine rule, white border, instant photo, taped), a look (black & white, sepia, faded…) and a caption. The writing wraps round it. The collage button lays out a whole page of pictures at once.
P. Draw straight on the page with a stylus, a finger or a mouse — pressure-sensitive if your device reports it. For the shape of a thing you have no word for, which in a dream journal is most of it. Seven nibs, hairline to marker; strokes are stored as vectors and print at full resolution.
Ctrl/⌘+P, or the printer.
It is drawn page by page from the real book. The page box is the trim, the ink runs edge to edge, and there is no date or file path in the margin — because the browser's print machinery never touches it. It is also exactly what a print-on-demand service asks for. When it is ready, a bar at the foot of the screen offers Save, Open and — where the device can — Share.
A night page printed as it looks would empty a cartridge and still read badly, so Night pages print in daylight (Make the book › Style) is on by default: the same book, on white, with the ink dark. The screen keeps its night. Turn it off only if you know what you are asking your printer to do.
For a printed, bound paperback from Amazon KDP, Lulu or Blurb, use the Print service tab: choose the service and the paper, write a few lines for the back cover, and it makes the inside with bleed and the cover — back, spine and front on one sheet — with the spine as wide as the page count makes it. Upload both, and look at the service's own preview before ordering.
The A reading copy tab makes one file of the dreams to read — on another device, or to share with someone you would show them to: a cover, the nights month by month with their names, fragments, facts and accounts, the pictures, the index, and, if you tick it, the recordings, which play. It opens in any browser, and nothing in it can be changed.
| Setting | What it does |
|---|---|
| Sheet | 6 × 9 in, A5, 5½ × 8½ in, A4, Letter, or your own. |
| Trim | Fill the sheet, or sit a smaller page inside it with room to cut. |
| Gutter | Extra margin on the bound edge, alternating sides. |
| Two-sided | Adds a blank where needed so a month opens on a right-hand page. |
| Booklet order | Reorders the pages so a two-up double-sided stack folds and staples correctly. |
| Cut guides | Crop marks or a thin box. |
| Ink | Full colour, ink-saver, or black and white. |
| Soft edges, patterned details | A watercolour wash prints soft, and a page design's finer patterns print as they are on screen. |
The line above the buttons always tells you what you are about to get.
Your writing lives in the browser. A backup is the copy you own.
Settings › Data.
.json with every night, every
tag, every pen stroke and your settings. Tick Include photographs and recordings
for the larger kind, the only kind that preserves a voice.If your browser supports it, keep a live copy on disk writes the backup to a place you choose and updates it quietly as you write. Point it at a synced folder and the problem is solved for good.
Off, and it stays off unless you set it up. Give the book one URL it can PUT to and GET from — your own server, Nextcloud or WebDAV, a presigned S3 URL, a Dropbox token — and a passphrase. Everything is encrypted with AES-GCM before it leaves the device, so the host stores ciphertext it cannot read.
A plain backup every week or two; a full one with the recordings every few months. The book reminds you if three weeks pass without one.
A dream journal is the most private thing most people write.
Settings › Privacy. Set a passcode of four characters or more and the book asks for it when it opens. Ctrl/⌘+L closes it on the spot, and it can lock itself after a while. Blur what is written keeps the page unreadable — the account, the fragments and the facts — until you point at it. Good on a train; it never affects printing.
The second checkbox encrypts everything with a key derived from your passcode, so what is on the disk is unreadable without it.
The passcode never leaves the device and is never stored. If you encrypt the book and forget it, the writing is gone — nobody can help. Take a backup first.
| What you see | What to do |
|---|---|
| “Not saved” | The browser is refusing storage — probably a private window, or site data blocked for local files. Open the file normally. Copy anything you just wrote out first. |
| The book is empty | Writing is tied to the exact location of the file. If you moved or renamed it, put it back, or restore from a backup. |
| It opened on the wrong night | Before five in the afternoon, N gives you last night — that is deliberate (§02). The night's sheet can move a night to another date. |
| Dictation does nothing | Chrome or Edge, a connection, and a microphone the page is allowed to use. Opened from a file or a chat app, see §10. |
| The PDF is very dark | Turn Night pages print in daylight back on, in Make the book › Style. |
| The PDF did not appear in Downloads | Tap Save in the bar that appears when it is ready — phones often insist on a tap of their own. |
| Print has white borders | You are using the browser's print. Use Export a PDF. |
| An image is missing from the index | It has not come back often enough yet — Settings › Book › The index sets how often it must. A night left out of the book is left out of the index too. |
| Everything is slow | Settings › Paper: turn the stars and the grain down. |
| A page looks wrong after a change | Reload the file. Nothing is lost — the writing is stored, not held in the window. |
| Key | Does |
|---|---|
| N | Write down a night — last night, before five in the afternoon |
| ← → | Turn the page |
| C | The nights |
| X | The index — what keeps coming back |
| I | Patterns |
| R | A night at random |
| S | Settings |
| L | Looks |
| P | Pen on or off |
| F | Full view — only the page |
| W | Write in the notepad |
| V | Say it — then Space to record and stop, ← → to move, Esc to leave |
| ? or F1 | This guide |
| Ctrl/⌘+K | Search |
| Ctrl/⌘+P | Make the book |
| Ctrl/⌘+D | Dictate |
| Ctrl/⌘+L | Close the book |
| Enter in a night's name | On to the account |
| Double-click the strip of facts | The night's sheet |
| Esc | Stop dictating, close a panel, or leave full view |
| Nights | as many as you dream — the book has no fixed length |
| Looks | , besides Classic |
| Papers | , of them dark |
| Page designs | 30 |
| Typefaces | across four roles |
| Decorations | , of them in colour |
| Starting images | about 180, in 10 groups |
| Nudges | 20, and more picked from what an account leaves out |
| Reality checks | 9 |
| Dictation languages | 25 |
Before you move, put down three words. Tag what was in it. Come back in a year and read the index.