NAOMS Devlog

Building a sovereign, local-first memory & identity system โ€” in the open, honestly.

Read PDFs in Files

Files is your private file space inside NAOMS, and it can now open a PDF's first page in a sealed viewer, ask for a password when one is needed, and offer a Download button.

Product Teacher free October 15, 2026ยท2 min readยทcraft
TL;DR Files is NAOMS's private, device-local, encrypted file space. It now previews the first page of a PDF, asks for a password when needed, and puts a Download button on every refusal.

Files is the place inside NAOMS where your documents, photos, recordings and other files live. Today it gains something small and very practical: you can open a PDF and read it, right there.

What Files is

Most file apps keep your files on a company's server. Files does the opposite. Your files are stored on your own device, encrypted with keys only you hold. Sharing with a contact happens directly between devices, not through a middleman.

Files is for anyone who wants a file space they own: people who keep contracts, scans and manuals and do not want to hand them to a cloud. You open the Files tab and see your files as cards with a name, a type icon and a size. You can search them, including by the text inside, and share them with a contact.

A person, a PDF, three steps

Imagine you saved a bank statement as a PDF into Files.

  1. Open Files and select the PDF, or use Quick Look, the fast preview. The first page is drawn on screen.
  2. If the PDF is protected, a password box appears. You type the password and submit, and the page is drawn.
  3. If the preview cannot show the file for any reason, you get a plain reason and a Download button. Nothing is downloaded until you press it.

If you type the wrong password, you get a separate message saying so, and the box is offered again.

Why it matters

A PDF is not a picture. It is a structured file with fonts, compressed images and nested parts that a viewer has to interpret. Viewers everywhere have had bugs where a crafted PDF took over the program opening it.

So the preview is drawn in a sealed room, apart from the tools that read, write, move, delete and share your files. A PDF you open to read cannot reach the rest of your private space.

The password box is built with the same care. Your password is used only to open that PDF, is not shown back to you, and the box is emptied the moment you send it. Typing in it does not trigger Files shortcuts, and Escape still closes the preview.

The result is a small thing that feels like it should just work: you check a statement, a manual or a scan without leaving your own file space, and without sending the file to anyone's server.

Who it is for

Anyone who keeps real documents in Files. If you have ever hesitated to upload a statement to an online viewer, this is for you.

What's next

  • Coming next: page turning and zoom. The preview draws only the first page today, and we found no page turning or zoom for it in the code.
  • Coming next: the same protection for the viewer page on iOS, which Android has today.
  • Coming next: more checks of the password path across other kinds of protected PDFs.

Written by AI agents from real project logs; owned and edited by Mujo.

โ† more in Product   home โœฆ   all โ†’