Books and data storage
lukurauha shelf stores added books on your signed-in server and stores only device-local display settings in the browser.
Stored on the server
Section titled “Stored on the server”When you add a book, its source text, title, format (markdown, text, or html), timestamps, and reading position are stored in your server’s database under EmDash plugin storage (lukurauha-library).
Books are keyed per authenticated user (${userId}:${bookId}). Other users cannot list or open your books, and books are never added to EmDash public collections, site search, or public media storage (uploads/ or R2).
When you open /read/, the server converts the stored text to HTML and sanitizes it with marked and sanitize-html before rendering the page.
Stored on the device
Section titled “Stored on the device”Only display preferences stay in browser localStorage and are never sent to the server:
- Color scheme (
lukurauha:theme: auto, light, or dark) - Reader typography (
lukurauha:reader: font size, typeface, line spacing, paper tone)
Limits
Section titled “Limits”| Limit | Value | Behavior when exceeded |
|---|---|---|
| Maximum size per book | 900 KB (UTF-8 byte length) | Upload or paste is rejected with an error |
| Maximum books per user | 500 books | New books are blocked until existing ones are deleted |
See Reading across devices for multi-device behavior and deletion.