A MyDocs build story
Working build, pre-launch
Rename a file, and nothing breaks
How we built MyDocs, a workspace that keeps every document in one place, on your own device, as plain files you can take anywhere.
By Doerwise ·
The wish
I want one place for every document I have. Notes in Markdown, a Word file from a client, a spreadsheet of numbers, a PDF contract: today they live in four apps and a downloads folder.
The wish had two conditions. The files must stay mine, as plain files on my own device. And the place must never trap them: if I leave, everything comes with me.
Why it sounded impossible
Notes are only useful when they connect. Link one document to another and you have built something; rename the target and, in most tools, the link quietly breaks. The more you link, the more there is to break.
Formats pull against each other too. A Word file has fonts, comments and page layout that Markdown cannot hold. Convert it carelessly and something is lost without anyone noticing.
And it all had to work without a server: offline, in a browser tab, with nothing uploaded anywhere.
Links that follow the file
MyDocs reads links from the files themselves: wiki links like [[Launch plan]] and plain Markdown links like [plan](./Launch%20plan.md#dates). Backlinks, broken links and related documents are all worked out from that text.
When you rename or move a document, MyDocs rewrites every link that points at it, in every document, in the same save. [[Launch plan]] becomes [[Roadmap]], and the relative path is recalculated from where each document lives, keeping the #section it pointed at.
Because the links are rewritten in the text, the files stay plain Markdown. Export the workspace and the links still work anywhere else.
Converting without risking the original
MyDocs opens Markdown, Word, Excel, CSV, TSV, HTML, plain text and PDF. Word files open in a formatted read-only view, and spreadsheets open as a sheet you can edit.
To edit a Word file as text, you convert it. A conversion always makes a new file next to the original, and before it runs MyDocs lists what the new format keeps and what it loses: comments, tracked changes, page layout. The original is never changed.
Never losing a word
Everything autosaves while you type, with retries if a write fails. Edits that were not saved when a tab closed or crashed come back as a recovery draft on the next launch.
MyDocs works in one browser tab at a time, so two tabs can never overwrite each other. Open a second one and it offers to take over, after the first has saved everything.
After a five minute pause in editing, a version is saved, up to 50 per document. Each one shows a line diff and restores in one click.
Where it stands
MyDocs is a working build, pre-launch. It runs in the browser and installs as an app, and the same code builds for Windows, macOS, Linux, Android and iOS.
Everything is stored on the device. There are no accounts, no sync and no uploads. To move a workspace, you export it as a zip of plain files.
The demo on its product page is the rename at small scale: change a document's name and watch the links in other documents follow it.