1 · Library

Interactive: All / Reading / Recently added / Books / Papers & PDFs / Finished shelves · Fixed Listening icons · New arrival pill · BookDetails assigned (✓) vs unassigned (+) collection pills & BibTeX / APA

All

Search books, authors Ctrl K
The Time Machine H. G. Wells
Continue reading The Time Machine H. G. Wells · Chapter I “Can a cube that does not last for any time at all, have a real existence?”
4% · 2 h 51 min left
Read Listen
The War of the Worlds
The War of the Worlds Listening · Emma, British
72% · 2 h 05 min left
Attention Is All You Need
Attention Is All You Need Vaswani et al. · arXiv:1706.03762
27% · Page 4 of 15 · PDF

All books

66 books · 14 PDFs

2 · Reading

Interactive: Paper / Sepia / Dusk / Charcoal theme pills · Smooth zero-flash directional page turn (← / →) · Bookmark corner fold · Click Aa for Appearance popover with Page-turn sound toggle
Library
The Time Machine — Chapter I
3 min left in chapter Pages 3–4 of 148

3 · Listening

Interactive: Adaptive 44px resting capsule with 2px inner hairline progress bar (zero redundant cover) · Hover or click Expand to reveal 86px precision transport, chapter scrubber, speed popover & sleep drain

“You must follow me carefully. I shall have to controvert one or two ideas that are almost universally accepted. The geometry, for instance, they taught you at school is founded on a misconception.”

“Is not that rather a large thing to expect us to begin upon?” said Filby, an argumentative person with red hair.

“I do not mean to ask you to accept anything without reasonable ground for it. You will soon admit as much as I need from you. You know of course that a mathematical line, a line of thickness nil, has no real existence. They taught you that? Neither has a mathematical plane. These things are mere abstractions.”

“That is all right,” said the Psychologist.

“There I object,” said Filby. “Of course a solid body may exist. All real things—”

“So most people think. But wait a moment. Can an instantaneous cube exist?”

“Don’t follow you,” said Filby.

“Can a cube that does not last for any time at all, have a real existence?”

Filby became pensive. “Clearly,” the Time Traveller proceeded, “any real body must have extension in four directions: it must have Length, Breadth, Thickness, and—Duration.”

Emma
Emma
1:42
−3:16 · Chapter I

4 · Companion (Story Mode)

Interactive: Drag left-edge hairline to resize drawer (double-click snaps to 384px) · Listen / Stop read-aloud toggle beside Copy · Story | Study pill · Ask / Previously / Who’s who / Pictures tabs
Library
The Time Machine — Chapter I

The Time Traveller (for so it will be convenient to speak of him) was expounding a recondite matter to us. His grey eyes shone and twinkled, and his usually pale face was flushed and animated. The fire burned brightly, and the soft radiance of the incandescent incandescent adjective Giving out light because it is very hot. Here, the electric bulbs of the 1890s, still new enough to be remarked on. Dictionary on this computer · context by Qwen3.5 4B lights in the lilies of silver caught the bubbles that flashed and passed in our glasses. Our chairs, being his patents, embraced and caressed us rather than submitted to be sat upon, and there was that luxurious after-dinner atmosphere when thought roams gracefully free of the trammels of precision. And he put it to us in this way—marking the points with a lean forefinger—as we sat and lazily admired his earnestness over this new paradox (as we thought it) and his fecundity.

“You must follow me carefully. I shall have to controvert one or two ideas that are almost universally accepted. The geometry, for instance, they taught you at school is founded on a misconception.”

5 · Choosing a narrator

Interactive: Simplified 2-tab (On this computer | Gemini) · Zero Studio tab clutter · Preview Play/Stop toggle · Language dropdown & search filter · Subtle Settings › Voices footer link

Narrator

For The Time Machine. Previews read the page you’re on.
Made on this computer: instant, free, private
Studio mode & full-cast narration ·

6 · Settings › Reading

New Interactive: Live miniature reading page preview with aligned accent T drop cap · Theme swatches · Size & line-spacing sliders · Drop caps / Justify · Animate page turns & Page-turn sound · PDF crop

Reading

Applies to every book unless overridden via Appearance (A)
Theme & preview The page’s colours. Match desktop wears your Omarchy theme.

The book opens calm, clear, and set to your hand. Every line keeps a quiet, unhurried rhythm across the page.

Adjust the theme, typeface, spacing, or margins below to see the page respond right away.

Typography
Typeface
Margins
Size 115%
Drop caps A large initial opens each chapter
Line spacing 1.62
Justify Straight edges with hyphenation
Pages
Layout
Animate page turns Smooth 210 ms GPU page-turn glide in paginated view.
Page-turn sound Subtle paper-flip sound; pauses automatically while listening.
PDFs
Crop white margins Trim empty outer borders so text fills the window.
Keep original colours Keep figures untouched in dark reading themes.

7 · Settings › Intelligence & Local MCP

Click presets, cycle any routing row, toggle Local MCP & copy config, test Gemini key or change budget

Intelligence

Choose what stays on this computer and what uses the cloud. Nothing is sent without your consent.
Hybrid · 5 local · 2 cloud
Where each feature runs
Local Cloud Off
Local agents (MCP) Ready
Let Claude Code, Cursor, or local agents search your books and notes over stdio.
clothbound mcp · read-only stdio · localhost
Google Gemini Connected
Direct from your machine
AIzaSyB7••••••••••••9kQ2
Monthly spending limit $0.42 of $5.00 used
Cloud requests pause automatically at $5.00 and fall back to local models.
This computer Ollama running
16 GB · 8 cores
qwen3.5:9b Installed · 5.8 GB · ready for offline questions
Hardware verdicts
qwen3.5:9b · Study & recap Comfortable · ~24 tok/s
qwen3.5:27b · Deep reasoning Tight fit · slow on 16 GB
Piper neural voices (ONNX) Instant on CPU

8 · Study Companion (Brief · Glossary · Smart Scope · LaTeX Math)

New Switch Ask / Brief / Glossary, change Smart Scope (Up to here · Whole book · This shelf), click cross-book citations & Glossary jumps
Attention Is All You Need
Page 4 of 15
31st Conference on Neural Information Processing Systems (NIPS 2017) Page 4

3.2.1   Scaled Dot-Product Attention

We call our particular attention “Scaled Dot-Product Attention” (Figure 2). The input consists of queries and keys of dimension dk, and values of dimension dv. We compute the dot products of the query with all keys, divide each by √dk, and apply a softmax function to obtain the weights on the values.

In practice, we compute the attention function on a set of queries simultaneously, packed together into a matrix Q. The keys and values are also packed together into matrices K and V. We compute the matrix of outputs as:

Attention(Q, K, V) = softmax ( QKT√dk ) V
(1)

The two most commonly used attention functions are additive attention [2], and dot-product (multiplicative) attention. Dot-product attention is identical to our algorithm, except for the scaling factor of 1/√dk. Additive attention computes the compatibility function using a feed-forward network with a single hidden layer.

While for small values of dk the two mechanisms perform similarly, additive attention outperforms dot product attention without scaling for larger values of dk [3]. We suspect that for large values of dk, the dot products grow large in magnitude, pushing the softmax function into regions where it has extremely small gradients.

4 To illustrate why the dot products get large, assume that the components of q and k are independent random variables with mean 0 and variance 1. Then their dot product, q · k = ∑i=1dk qiki, has mean 0 and variance dk.
4
26%
p. 4 / 15 · ML Papers shelf (6)

9 · PDF Visual “Snip & Explain” (X)

New Click Explain / Copy LaTeX / Extract Table / Ask… / Cancel on the floating Snip bar, or click arXiv pill for BibTeX/APA
Attention Is All You Need
Page 4 of 15
Attention Is All You Need · Section 3.2 Page 4

3.2.1   Scaled Dot-Product Attention

The input consists of queries and keys of dimension dk, and values of dimension dv. We compute the dot products of the query with all keys, divide each by √dk, and apply a softmax function to obtain the weights on the values. Packed into matrices Q, K, and V:

Attention(Q, K, V) = softmax ( QKT√dk ) V
(1)

The two most commonly used attention functions are additive attention [2], and dot-product (multiplicative) attention. Dot-product attention is identical to our algorithm, except for the scaling factor of 1/√dk. In practice, dot-product attention is much faster and more space-efficient because it can be implemented using highly optimized matrix multiplication code.

3.2.2   Multi-Head Attention

Instead of performing a single attention function with dmodel-dimensional keys, values and queries, we found it beneficial to linearly project the queries, keys and values h times with different, learned linear projections to dk, dk and dv dimensions, respectively:

MultiHead(Q, K, V) = Concat(head1, …, headh)WO
where headi = Attention(QWiQ, KWiK, VWiV). Multi-head attention allows the model to jointly attend to information from different representation subspaces at different positions.
Equation region selected · 480 × 88 px | Drag corners to adjust · Esc to cancel

10 · Zero-Jump Quick-Look Citation & Figure Peek

New Click “Fig. 1” or “[14]” in the paper text to switch the floating Quick-Look card without losing your place; click Dismiss or Jump
Attention Is All You Need arXiv:1706.03762
Quick-Look preview: Pages 4–5 of 15
Section 3 · Model Architecture Page 4

3.1   Encoder and Decoder Stacks

Encoder: The encoder is composed of a stack of N = 6 identical layers. Each layer has two sub-layers. The first is a multi-head self-attention mechanism, and the second is a simple, position-wise fully connected feed-forward network. We employ a residual connection around each of the two sub-layers, followed by layer normalization [1]. That is, the output of each sub-layer is LayerNorm(x + Sublayer(x)).

Decoder: The decoder is also composed of a stack of N = 6 identical layers. In addition to the two sub-layers in each encoder layer, the decoder inserts a third sub-layer, which performs multi-head attention over the output of the encoder stack, as shown in the right half of . We also modify the self-attention sub-layer in the decoder stack to prevent positions from attending to subsequent positions.

3.2   Attention · 2-column narration bands preserve center gutter

An attention function maps a query and a set of key-value pairs to an output, where query, keys, values, and output are all vectors. The output is computed as a weighted sum of values by compatibility.

This masking, combined with the fact that output embeddings are offset by one position, ensures predictions for i depend only on known outputs.

Normalized band heights align lowercase wrap lines with full lines without bridging columns.

4
Section 3.3 · Feed-Forward & Embeddings Page 5

3.3   Position-wise Feed-Forward Networks

In addition to attention sub-layers, each of the layers in our encoder and decoder contains a fully connected feed-forward network, which is applied to each position separately and identically. This consists of two linear transformations with a ReLU activation in between:

FFN(x) = max(0, xW1 + b1)W2 + b2    (2)

While the linear transformations are the same across different positions, they use different parameters from layer to layer. Another way of describing this is as two convolutions with kernel size 1. The dimensionality of input and output is dmodel = 512, and the inner-layer has dimensionality dff = 2048.

3.5   Positional Encoding

Since our model contains no recurrence and no convolution, in order for the model to make use of the order of the sequence, we must inject some information about the relative or absolute position of the tokens in the sequence. To this end, we add “positional encodings” to the input embeddings at the bottoms of the encoder and decoder stacks.

5
Page 3 · Figure preview
Zero-jump peek Esc
N× Add & Norm Feed Forward Add & Norm Multi-Head Attention Input Embedding N× Linear + Softmax Feed Forward Add & Norm Cross-Attention Masked Multi-Head Attention Output Embedding
Figure 1: The Transformer — model architecture. Encoder stack (left) feeds key/value representations directly into decoder cross-attention (right).
Reading position preserved on Page 4 while peeking Animation: 160 ms OutCubic

11 · Command palette (Ctrl K)

Type to filter commands, toggle Everything / This book scope, or click any row
Attention(Q, K, V) = softmax(QKᵀ / √d_k) V. Instead of performing a single attention function with d_model-dimensional keys, values and queries, we found it beneficial to linearly project them h times…
Multi-head attention allows the model to jointly attend to information from different representation subspaces at different positions. With a single attention head, averaging inhibits this.
↑↓ Navigate ↵ Run Tab Switch scope
Esc Close

12 · First launch (Welcome)

Step through all 3 Clothbound onboarding screens via Next, Back, or the progress dots
clothbound.app
Clothbound · clothbound.app

A quiet place for your books and papers.

Clothbound reads EPUBs and academic PDFs directly from folders you own. No accounts, no sync walls, and a warm page that gets out of your way.

✓Four tactile reading palettes — Paper, Sepia, Dusk, Charcoal
✓Zero-flash spreads with subtle optional page-turn sound
✓Your library stays plain files on disk

13 · Design language

Wide 2200×920 design-system reference — live accent & corner controls in top bar apply across every token specimen
Clothbound Design System
clothbound.app · Tactile hardcover mark · Reading & chrome palettes · Typography & offline math · Motion curves
Qt Quick / QML + Wayland Zero-CDN offline tokens 2200 × 920
01 · Mark & Chrome Palettes
App icon
24px UI mark
Empty hero
Tokyo Night · Dark Chrome
Ground#121214
Sidebar#18181B
Raised#1C1C1F
Overlay#232327
Accent#7AA2F7
Light Chrome & Semantic Dots
Ground#FBFBFC
Sidebar#F1F1F3
Raised#FFFFFF
Light Ink#2F5BC0
Local
Cloud
Error
Ribbon
Geometry: 24×24 viewBox with spine line at x=8.5 and silk swallowtail ribbon at x=12.5..16.5. Clamps radii to 0px under sharp Hyprland themes.
02 · Reading Palettes (Themes.js)
Paper #F6F1E7 · #26221D · #3E5F99
Straight lines move freely across a luminous page with Fig. 1 links.
Sepia #EEDFC4 · #3A2E1F · #8A4B1F
Warm parchment contrast softened for late afternoon long-form study.
Dusk #1E1D1B · #DCD5C8 · #9DB8F2
Warm obsidian ground keeping highlights gentle without glare.
Charcoal (Night) #0E0E0F · #C9C9CC · #9DB8F2
Deep OLED-calm neutral dark for lights-off midnight chapters.
03 · Typography & Offline Math
Page Title Inter 21/600
Section Heading Inter 15/600
UI Control & Body Inter 13/400
Section Eyebrow Inter 11/600
clothbound mcp JetBrains 12
Reading Serif · Literata 18.5 / 1.62 Drop cap aligned
The first line sits flush with the accent drop cap’s ascender, while tabular figures (148 / 312) hold progress rails rock-steady.
Offline LaTeX Math Renderer Zero CDN
Attention = softmax(QKT√dk)V
04 · Component States
Buttons & Keyboard Focus Ring
Companion Mode & Smart Scope
Switches, Keycaps & Spinner on Accent
Ctrl K X P
Provider, Citation & Format Pills
Ollama · Local Gemini 2.5 arXiv:1706.03762
Study Glossary Symbol Badges (8px radius)
θ ℒ ∇ KV dk
Copied BibTeX citation Undo
05 · Motion Curves & Principles
210 ms
GPU page turn · OutCubic
260 ms
Panels & drawers · OutQuint
160 ms
Quick-Look peek · OutCubic
Reduced motion preference 0 ms · instant snap
Clothbound Craft Principles
01 The page is sacred. Chrome dissolves to hairlines and appears only when summoned.
02 Zero-jump study. Peek figures, snip equations, and cite without breaking flow.
03 Honest intelligence. Every answer shows its engine and obeys spoiler & budget rails.
04 Calm first voice. Two tabs in Narrator; Studio stays quietly in Settings › Voices.
05 Own your shelf. Local files, offline math, and read-only stdio MCP for local agents.

J1 · An empty library

Calm first-run empty state with 72px wireframe Clothbound mark & auto-detected ~/Books folder

No books yet

Point Clothbound at a folder of EPUBs or PDFs. Your files stay exactly where they are.

Found books in ~/Books 52 EPUB and 14 PDF files
Or drop EPUB & PDF files anywhere onto this window

J2 · Books arriving

Live scan progress pill + 2px hairline progress bar + interactive Stop / Resume & simulated arriving covers
All books
Adding books · 18 of 66
Open any book while the rest arrive. ↵

J3 · The first book

Click “Got it” on the first-book keybar to see the lifted Toast drop smoothly from 116 px to 28 px without ever overlapping
Library
Flatland — Chapter 1
Section 1

Of the Nature of Flatland

I call our world Flatland, not because we call it so, but to make its nature clearer to you, my happy readers, who are privileged to live in Space. Imagine a vast sheet of paper on which straight Lines, Triangles, Squares, Pentagons, Hexagons, and other figures, instead of remaining fixed in their places, move freely about.

Nothing was visible, nor could be visible, to us, except Straight Lines; and the necessity of this I will speedily demonstrate. Place a penny on the middle of one of your tables in Space; and leaning over it, look down upon it. It will appear a circle.

But now, drawing back to the edge of the table, gradually lower your eye, and you will find the penny becoming more and more oval to your view.

Bookmark added on Page 1 clearance: 116 px
←→Turn PListen AAsk XSnip Ctrl KFind

J4 · First listen: getting a voice

Click Play sample to preview Emma, then click “Download and listen” to step through Idle → Downloading → Ready
‹ Library Flatland — Chapter 1
✦

I call our world Flatland, not because we call it so, but to make its nature clearer to you, my happy readers, who are privileged to live in Space. Imagine a vast sheet of paper on which straight Lines, Triangles, Squares, Pentagons, and other figures move freely about.

Nothing was visible, nor could be visible, to us, except Straight Lines; and the necessity of this I will speedily demonstrate. Place a penny on the middle of one of your tables in Space; and leaning over it, look down upon it.

Listen to Flatland
Download one local voice to read aloud offline. Free, private, once.
Offline
Emma · British Warm, steady narrator · 63 MB
Piper ONNX
Or pick from 48 voices in Narrator (V)

J5 · First question: choosing intelligence

Switch between Gemini, This computer, and Not now; click Connect to preview the neutral “Checking your key with Gemini…” state
‹ Library The Time Machine — Chapter I ✦ Companion

“Clearly,” the Time Traveller proceeded, “any real body must have extension in four directions: it must have Length, Breadth, Thickness, and—Duration. But through a natural infirmity of the flesh, which I will explain to you in a moment, we incline to overlook this fact.”

“Can an instantaneous cube exist? Can a cube that does not last for any time at all, have a real existence?” Filby became pensive, staring into the firelight.