MDash
By Mohammad AniniLast Updated

Privacy and Local Storage

MDash saves your files and folders in this browser. You don’t need an account to use MDash.

Table of Contents

Privacy at a Glance

  • Where do my files live? Your files stay in this browser as you work. You don’t need an account to use MDash.
  • What happens when I share or back up? You decide what to share and when to back up. Anyone with a complete share link can read the document. Google Drive backups go directly from your browser to Google, and MDash’s servers never receive or store them.
  • What does analytics collect? MDash hosts its own Umami analytics and uses it without cookies to measure visits, feature use, and performance. It excludes your document text, filenames, folder structure, search text, and shared document contents.

Where Data Lives

DataStorage
Vault files, folders, and TrashIndexedDB for the current site in its browser or installed app
Tabs, expanded folders, Favorites, and Recent fileslocalStorage
Theme, accent, fonts, editor preferences, and panel preferenceslocalStorage
Render cachesMemory for the current session
Offline application assetsBrowser cache managed by the service worker
Optional Drive backup snapshotsDated JSON files in your selected Google account
Backup activity and random source identifierslocalStorage, separate from the backup's interface settings
Selected Google account, if connectedTab session storage so you can reconnect after a reload
Unverified Drive uploadTab session storage with account and file identifiers, size, and checksum when available, until verification resolves

Installing MDash does not copy or synchronize the vault. Some installed apps, including Apple Home Screen and Dock web apps, use storage separate from the browser tab. If the installed app opens with a separate vault, back up your files in the browser and restore the backup in the installed app.

Understand and Protect Browser Storage

Open Settings → Storage to check Vault Data, the approximate encoded size of files, folders, Trash, and metadata. Browser Storage Used is the browser's estimate for the whole MDash site, including preferences, application assets, offline feature assets, and storage overhead. Offline Feature Pack size describes the uncompressed assets in the pack. An update can temporarily retain assets from two releases until the replacement finishes.

Choose Protect Local Storage to ask a supporting browser to reduce automatic eviction of the site's data. The browser decides whether to approve the request, and approval does not reserve extra storage. Settings shows Protected after approval, or explains when protection is unavailable. The Help button beside Storage Protection explains its limits.

The browser API provides no matching action to revoke that approval. You can still remove the offline pack, delete files, or clear the site's data yourself. Protection cannot guard against manual site-data clearing, profile deletion, device loss, or storage failure.

MDash has no fixed vault-size limit. Available capacity depends on the browser and device. Keep important backups outside the browser, including before clearing site data or moving to another device. Back Up and Restore Your Vault explains what a full backup includes and how to restore it.

When the Network Is Used

The core application can work offline after its assets have been cached. Network access may still occur in these situations:

  • Opening the site or downloading an application update
  • Downloading optional KaTeX, Mermaid, or syntax-highlighting assets that are not cached yet
  • Downloading or automatically updating an Offline Feature Pack that you installed, while MDash is open and the connection permits it
  • Importing a URL or repository selected by the user
  • Displaying a remote image referenced by a document
  • Loading Google authorization and transferring a backup directly between your browser and Google when you choose a Drive action
  • Sending content-free analytics for canonical site pages, including the shared reader

Fetched files become independent vault copies. MDash does not maintain a live connection to the original URL, folder, or repository.

Interface fonts, icons, core application assets, and KaTeX export fonts are self-hosted. Exported HTML embeds the math fonts and rendered diagrams it needs instead of requesting them from a CDN. A remote image remains remote unless you replace its URL yourself.

Optional Google Drive Backups

Google Drive backup requires explicit authorization and a manual upload or restore action. MDash requests access to app-created or explicitly authorized files, rather than all files in your Drive. The Google authorization library loads when you invoke the integration. Google receives the authorization requests, network information, and backup content needed to perform your chosen action.

Transfers go directly between your browser and Google. The MDash server does not receive or retain the backup. Access tokens stay in page memory. The tab remembers the selected Google account across reloads so you can reconnect, and Disconnect clears that selection. Tokens and account details are excluded from JSON backups and analytics. Drive backup metadata includes a general device category and random source identifiers.

If an upload's completion is uncertain, the tab retains only the metadata needed to check the original file, including across disconnect and reconnect. This record contains no token, email address, filename, or vault content. It is removed when the check resolves and is excluded from analytics.

Backups contain readable source text, filenames, folder structure, dates, Trash, and optional interface settings. They are not encrypted by MDash and do not provide end-to-end encryption against the storage provider. A file deleted from the current vault can remain in an older backup. Check the Drive folder's sharing permissions before storing sensitive content.

MDash does not automatically delete older cloud snapshots. Disconnecting Google, resetting MDash, or clearing browser data leaves existing Drive backups intact. Delete those files in Google Drive when you no longer need them. Reconnect to the same account to discover backups from a new browser. See Back Up to Google Drive for recovery and retention behavior.

Analytics

MDash uses self-hosted, cookieless Umami analytics through first-party endpoints. All site pages can be counted. Shared-document visits use only the fixed /v path and Shared Document title, with no document identity or payload.

Analytics can record:

  • Canonical public paths, fixed analytics titles, and sanitized referrers
  • Anonymous visit and session counts
  • Browser, operating-system, device, language, screen, and country-level context
  • Explicitly named feature events with enum or count values, including operation outcomes, sharing actions, and report saves
  • The selected code font, editor wrapping, and code wrapping in Preview once per workspace entry, including defaults, plus explicit changes to those settings
  • Visible-tab time, including reading and visible idle time
  • Performance measurements enabled by the tracker configuration

Analytics uses no cookies. MDash has no analytics switch in Settings, and browser Do Not Track does not disable collection. The tracker checks the browser-local umami.disabled flag. Setting it with localStorage.setItem('umami.disabled', '1') in the browser console and reloading suppresses collection in that browser. Removing the flag restores collection.

MDash excludes URL query strings and fragments. External referrers retain only their origin. Visible-tab time pauses when hidden or minimized and is not a measure of attention. Feature events use fixed categories, safe file-type tokens, and count buckets. Search queries, document names, and raw errors are excluded.

Umami may use request information such as an IP address to derive anonymous session and location data, but its documented configuration does not store the address itself.

The metadata service separately counts recognized social-platform preview requests, recording only a platform category, GET/HEAD, preview outcome, and schema version. These automated requests are independent of visits, visible time, and browser settings.

MDash never sends note text, filenames, vault structure, search text, or shared document content as analytics data.

Share by URL

Share by URL compresses the active document source and places it inside the link. The document is not uploaded to a note-storage service, but the URL itself contains the document.

  • Anyone with the complete URL can read its contents.
  • The encoded payload is limited to 12 KiB (12,288 bytes). Creating or opening a link also has a separate 1 MiB limit for the decoded payload, including the filename and document source.
  • The recipient receives a read-only view and can copy the source into a vault.
  • The maintained MDash server configuration disables access logging for the share route.
  • The metadata service decodes the link transiently in memory to extract a title and description for social previews. It does not store the document or cache its metadata. Separate preview analytics excludes document content, titles, filenames, and the shared URL. The initial HTML contains metadata and a generic reader shell, not the document body.
  • Share responses remain noindex and no-store. The maintained nginx configuration also suppresses share-route error logs because upstream error messages can contain the query.

Treat a share URL like the document itself. Browsers, chat services, email systems, CDNs, proxies, and recipients can retain it. Anyone with the link can forward it, and MDash cannot revoke it. Use another method for material that requires access control.

When you go from the workspace to the documentation, FAQ, License, or Terms, MDash finishes pending saves first. This applies to links and to browser Back and Forward. If saving fails, choose Retry Save, Stay, or Leave Anyway. Public pages use normal browser history. Choose Workspace to return to your open files.

Supported Back closes the topmost open menu, picker, or dialog first. The next Back can return you to the public page you came from. In other cases, MDash may add one history entry after an interaction to protect against accidental Back navigation and ask Leave Workspace?. This protection can replace an existing Forward history branch. Forward does not reopen dismissed menus or dialogs.

Reloading, closing a tab, or another action that unloads the page can also trigger the browser's own confirmation while saving is pending or has failed. Saved work does not trigger that additional prompt. The browser controls the message and may omit it on mobile. Reload Safely saves first when applying an application update.

These prompts cannot cover every browser gesture, standalone launch, rapid navigation, or app termination. Check for Saved locally and keep backups of important work. If you get a save conflict, save a copy of all unsaved text from the affected tab in a text editor outside MDash before reloading. See Resolve Changes from Another Tab.

Delete or Reset Local Data

Moving an editable item to Trash is recoverable. Permanent deletion and Empty Trash are not. A full MDash backup includes Trash, while a ZIP export does not.

Open Settings, choose Reset, and select Reset Vault to remove user-created vault content, Trash, Favorites, Recent files, and open tabs. MDash then restores the bundled README and guides.

Reset Interface Settings restores appearance, fonts, editor, view, Vault, panel, and reminder preferences to their defaults. Your files and last backup date stay unchanged. Both reset actions ask for confirmation.

If the application cannot open far enough to use Reset Vault, browser developer tools can remove the MDash IndexedDB database and related localStorage entries. That fallback permanently removes local content. Export a current backup first whenever possible.

What MDash Does Not Do

  • Require an account or login
  • Synchronize a vault between browsers or devices
  • Upload note content for storage without a requested export, share, or Drive backup
  • Use analytics cookies
  • Track visitors across unrelated sites
  • Provide access control for shared URLs