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, authorsCtrl K
The Time MachineH. G. Wells
Continue readingThe Time MachineH. 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 NeedVaswani 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
Appearance
TypefaceLiterata · 115%
Animate page turns
Page-turn soundSoft hardcover flip · auto-mutes while listening
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.”
1.1×
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 incandescentincandescentadjectiveGiving 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
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 lights in the lilies of silver caught the bubbles that flashed and passed in our glasses.
“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.
Narrator
For The Time Machine. Previews read the page you’re on.
Made on this computer: instant, free, private
6 · Settings › Reading
NewInteractive: 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 & previewThe 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
Size115%
Drop capsA large initial opens each chapter
Line spacing1.62
JustifyStraight edges with hyphenation
Pages
Layout
Animate page turnsSmooth 210 ms GPU page-turn glide in paginated view.
Page-turn soundSubtle paper-flip sound; pauses automatically while listening.
PDFs
Crop white marginsTrim empty outer borders so text fills the window.
Keep original coloursKeep 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
LocalCloudOff
Local agents (MCP)Ready
Let Claude Code, Cursor, or local agents search your books and notes over stdio.
NewSwitch 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=1dkqiki, has mean 0 and variance dk.
4
9 · PDF Visual “Snip & Explain” (X)
NewClick 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
arXiv:1706.03762 · Vaswani et al. (2017)
Attention Is All You Need · Section 3.2Page 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 themodel to jointly attend to information from different representation subspacesat different positions.
Equation region selected · 480 × 88 px|Drag corners to adjust · Esc to cancel
10 · Zero-Jump Quick-Look Citation & Figure Peek
NewClick “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 NeedarXiv:1706.03762
Quick-Look preview:Pages 4–5 of 15
Section 3 · Model ArchitecturePage 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 queryand a set of key-value pairs to anoutput, 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 & EmbeddingsPage 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 peekEsc
Figure 1: The Transformer — model architecture. Encoder stack (left) feeds key/value representations directly into decoder cross-attention (right).
References · Page 10
[14] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 770–778, 2016.
[15] Sepp Hochreiter, Yoshua Bengio, Paolo Frasconi, and Jürgen Schmidhuber. Gradient flow in recurrent nets: the difficulty of learning long-term dependencies, 2001.
Cited in Section 3.1 for residual skip connections around attention & feed-forward sub-layers.
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↵ RunTab Switch scope
Esc Close
12 · First launch (Welcome)
Step through all 3 Clothbound onboarding screens via Next, Back, or the progress dots
clothbound.app
Chapter 1
Imagine a vast sheet of paper on which straight Lines, Triangles, Squares, and other figures move freely about.
▶
1.25×
Study CompanionNo spoilers
QKT / √dk
Ollama localGeminiMCP stdio
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.
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 TitleInter 21/600
Section HeadingInter 15/600
UI Control & BodyInter 13/400
Section EyebrowInter 11/600
clothbound mcpJetBrains 12
Reading Serif · Literata 18.5 / 1.62Drop 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 RendererZero CDN
Attention = softmax(QKT√dk)V
04 · Component States
Buttons & Keyboard Focus Ring
Companion Mode & Smart Scope
Switches, Keycaps & Spinner on Accent
Ctrl KXP
Provider, Citation & Format Pills
Ollama · LocalGemini 2.5arXiv:1706.03762
Study Glossary Symbol Badges (8px radius)
θℒ∇KVdk
Copied BibTeX citationUndo
05 · Motion Curves & Principles
210 ms
GPU page turn · OutCubic
260 ms
Panels & drawers · OutQuint
160 ms
Quick-Look peek · OutCubic
Reduced motion preference0 ms · instant snap
Clothbound Craft Principles
01The page is sacred. Chrome dissolves to hairlines and appears only when summoned.
02Zero-jump study. Peek figures, snip equations, and cite without breaking flow.
03Honest intelligence. Every answer shows its engine and obeys spoiler & budget rails.
04Calm first voice. Two tabs in Narrator; Studio stays quietly in Settings › Voices.
05Own 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 ~/Books52 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 1clearance: 116 px
←→TurnPListenAAskXSnipCtrl KFind
J4 · First listen: getting a voice
Click Play sample to preview Emma, then click “Download and listen” to step through Idle → Downloading → Ready
‹ LibraryFlatland — 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 · BritishWarm, steady narrator · 63 MB
Piper ONNX
Or pick from 48 voices in Narrator (V)
Downloading Emma · British…0%
Saved locally to ~/.local/share/clothbound/voices
✓Ready. Next time P just starts.
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
‹ LibraryThe 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.