NoCloudMD - Vault Help
Open the app

NoCloudMD - Vault: help

A Markdown editor that runs entirely in your browser and keeps your notes in a GitLab or GitHub repository. There is no server of its own: the app talks directly to the repository, every save is a Git commit, with a message generated from what you did, and Git keeps every version.

1. Getting started

Each time the app starts it shows a one-screen quick start guide (connecting the repository and quick tips). Tick Don't show this again to skip it; the Quick start link in the footer opens it again. When it closes and no repository is connected yet, the connection setup opens.

Connect a repository

  1. Click Connect repository (top right).
  2. Choose the provider: GitLab (gitlab.com or your own server, typing its https:// address) or GitHub.
  3. Enter the project (group/project or owner/repository; pasting the project URL also works), the branch (the branch picker lists the existing ones) and, optionally, a vault folder such as docs/notes: only files inside it are shown and created.
  4. Paste an access token and click Test connection. It checks the token, the project, the branch and the permission to push. Then click Save and open.
ProviderTokenPermission
GitLabProject Access Token (or Personal Access Token)Scope api, role Developer or higher
GitHubFine-grained personal access token limited to the repositoryContents: Read and write

Give the token an expiry date. User name and password are not supported by the GitLab and GitHub APIs.

Protect the token with a local password

Tick Protect the token with a local password: the token is stored encrypted (AES-GCM) and the password is asked each time the vault opens. A forgotten password cannot be recovered: forget the connection and enter the token again.

Several connections

You can save several connections and open one at a time from the same dialog (Use, Edit, Forget). Forgetting removes the connection and its token from this browser; nothing is deleted from the repository. Commits always go to the branch of the connection; the app never creates or switches branches.

The light/dark theme button is next to the connection button. The File menu appears when a document is open.

2. The vault and its files

The sidebar shows the files of the vault. Click a document to open it; folders expand and collapse. The buttons at the top of the sidebar are: new file, new folder, import, search, coding agents, graph and refresh.

  • Filter by name: the field above the tree (Ctrl+O). To search inside the notes, use the search (Ctrl+Shift+F).
  • New file: choose a template (or a blank document) and the path; .md is added when there is no extension. The file is created in the repository on the first save. With the AI assistant on, tick Write the content with the AI assistant and describe what the file should contain: the assistant writes it (following the chosen template, if any; a .bpmn file becomes a diagram) as an unsaved change.
  • New folder: created with a commit and a hidden .gitkeep file, because Git does not keep empty folders.
  • Actions on each file (shown when you point at it): move to another folder, version history, where is this used, rename or move and delete. Folders have new file here, hand a task to a coding agent and, when empty, delete.
  • Drag and drop a file onto a folder to move it there.
  • Every change to the repository (create, rename, move, delete, import, attach) is committed right away, with a message that describes it, such as Create folder ideas, Update notes/plan.md or Delete old.md.
  • Renaming or moving a note can update the links that point to it, in the same commit.
  • Images, PDF, audio and video open in a new tab; other non-text files are downloaded, never opened inside the app.
  • Refresh reloads the file list and updates open files that changed in the repository.
  • Unsaved files show a dot in the tree and an asterisk in the header.

3. Editing and saving

Preview and Edit

Use the Preview / Edit switch in the header. The editor toolbar has bold, italic, strikethrough, headings, lists, quote, indent, code, links (Ctrl+K), tables, Mermaid diagrams, find and replace (Ctrl+F), undo and redo, properties, templates and attachments.

  • Tables: choose columns and rows, plus an optional title (bold, before the table) and caption (italics, after it).
  • Mermaid: diagrams in ```mermaid blocks or in .mmd files are drawn in the preview, with zoom and pan.
  • Typing [[ suggests files of the vault; typing # and a letter suggests existing tags.

BPMN process diagrams

  • Files ending in .bpmn (BPMN 2.0) are drawn in the preview, with zoom and pan.
  • In Edit mode they open in a visual modeler: add elements from the palette on the left, connect and change them with the menu next to each element, double-click to rename. Ctrl+Z / Ctrl+Y undo and redo. The Diagram / XML switch shows the source; invalid XML is reported and kept for you to fix.
  • Every change is an unsaved change of the file, saved with a commit like any other file. A new file named name.bpmn starts with a start event.
  • Embed a diagram in a note with ![Caption](process.bpmn). PDF and Word exports include the diagram as an image; File → BPMN (.bpmn) downloads the file.

Save with a commit

Ctrl+S (or File → Save to repository) commits and pushes the open file right away to the branch; when it has no changes, every changed file is saved. File → Save all changed files saves them all in one commit. There is no message to type: it is generated from the changes (Create journal/today.md, Update README.md, or Update 2 files with one line per file).

Only actions with a choice to make show a dialog first, with the generated message: attachments whose name already exists, imports (documents or templates), a rename that can update the links pointing to the file, and an update of the agent guide (with the diff).

Conflicts

If a file changed in the repository after you opened it (another person, another device or a coding agent committed it), saving opens the conflict screen with both versions. Choose:

  • Merge… (recommended when several people edit the same notes): combines your changes with the repository's. Changes made in different places of the file are joined automatically. Where the same lines were changed on both sides, a card shows your text and the repository's (and the original, under “Original version”); pick Use yours, Use repository, Both (in either order) or Edit… to write the text yourself.
  • The Result tab shows the merged file and can be edited by hand. Unresolved conflicts appear between <<<<<<< Yours and >>>>>>> Repository; the merge can only be used when no conflict and no marker is left.
  • Use merged version puts the result in the editor as an unsaved change on top of the repository version and commits it right away (“Merge repository changes into …”). Back returns to the conflict screen.
  • Use repository version discards your edits, Keep mine as a new file saves yours as name-conflict-<date>.md, and Overwrite with mine replaces the repository version (with a new commit).

The merge works line by line, like Git. BPMN diagrams are not merged: choose one version or keep yours as a copy.

Safety nets

  • Recovery: unsaved edits are copied to the browser every few seconds; if it closes unexpectedly, the app offers to recover them when you reopen the vault.
  • Closing a file or the tab with unsaved changes asks for confirmation.
  • If the token expires or is revoked, a dialog asks for a new one without closing your files.

5. Attachments

  • Add files of any type up to 50 MB with the Attach button, by dropping them on the window, or by pasting an image.
  • The Attach dialog accepts an optional title (bold, before the link) and caption (italics, after it).
  • Files go to attachments/ in the vault, in one commit made right away (the progress appears in a notice). When a name already exists, a dialog asks whether to keep both (-2 suffix) or replace the old file.
  • In the preview, images are shown inline; audio and video show a player and download only when you press play; other files appear as a chip.
  • Where is this used (tree action) lists the notes that link to a file. Deleting a linked file warns about the links that will break.

6. Properties

A YAML block on the first line of a note, between --- lines, is shown as a properties table, with lists as chips:

---
title: Weekly plan
tags: [work, q4]
status: draft
---
  • The Properties toolbar button adds an empty block when the note has none.
  • Invalid YAML shows a warning with the raw block; the rest of the note is shown normally.
  • Clicking a value searches for notes with the same value (status:draft). [[wikilinks]] in values count as links.

7. Tags

  • Write #tag in the text (nested: #project/infra) or tags: [a, b] in the properties. #123, C#, code and links are not tags. Case does not matter.
  • Tags are chips in the preview: clicking one searches the notes with it.
  • The Tags panel under the tree lists every tag with its number of notes (a parent tag counts its children). Click a tag to show only its files in the tree; the “tag: …” chip clears the filter. Click the panel title to collapse it.
  • The graph can color notes by tag, and its filter accepts tag:name.

9. Queries

A code block with the language query becomes, in the preview, a table (or a list) of the notes chosen by folder, tag and property. Every clause is optional and comes on its own line or not; TABLE or LIST comes first.

```query
TABLE status, owner AS "Responsible", due
FROM "projects" and #project
WHERE status != "done" and due <= today
SORT due desc
LIMIT 20
```
ClauseWhat it does
TABLE a, b AS "Name"a column per field (the note is always the first column); TABLE alone, or no clause, lists only the notes
LIST, LIST duea list of notes, optionally followed by one field
FROM "folder" or #tagfolders (subfolders included) and tags, combined with and, or, not and parentheses
WHERE …comparisons = != < <= > >=, contains(field, "text"), startswith(field, "text"), #tag, a field alone (has a value), field = null (empty), with and, or, not
SORT a desc, border (asc by default; empty values last); without it, by note name
LIMIT 20at most this many notes (the total is shown below)
  • Fields are property names (case ignored) and file.name, file.path, file.folder, file.tags.
  • Text is compared ignoring case and accents; numbers as numbers; dates written as 2026-10-25 sort correctly. today is the current date. Quote values with spaces; a single word after an operator is read as text unless it is the name of a field.
  • Lists (such as owner: [Ana, Caio]) match when any item matches. [[wikilinks]] in values become links, and tags in file.tags open the search.
  • Queries read the note index, so they show the saved version of each note; templates are left out. A mistake shows “Query error” with the reason.

10. Backlinks and graph

  • Backlinks: below the preview, the notes that link to the current one, with the line of each link. Click to open.
  • Graph (sidebar button): notes, diagrams, attachments and missing notes, with arrows for links. Show the whole vault or the current file with 1 or 2 levels of neighbours, filter by name, folder or tag:, hide attachments, missing files or orphans, and color by folder or tag. Click a node to open it.

11. Templates and import

  • Templates are Markdown files in the .templates/ folder of the vault (shown last in the tree as “Templates”). A new document copies the chosen template as it is.
  • The Template toolbar button inserts a template at the cursor; File → Save as template… saves the current text as a template, with a commit.
  • Import (sidebar button): choose files. Markdown files (.md) go to the vault root, or to .templates/ when marked as Template; every other file goes to attachments/. All go in one commit.

12. Version history

Open it from File → Version history… or with the clock action on a file in the tree. It lists every commit that changed the file, newest first.

  • Preview any version, or compare two versions (or a version and the current text) line by line.
  • Restore with a commit… creates a new commit with the old content; history is never rewritten.
  • Open in editor loads a version as unsaved changes, to adjust it before saving.

13. Download a copy

File → Markdown, PDF or Word downloads the open document. Vault images, tables and diagrams are included in PDF and Word. Downloading does not change the repository.

14. Working offline

Off by default. Turn it on per connection with Keep this vault available offline (edit the connection). The notes and the file list are copied to this browser; attachments are not.

  • Without a connection you keep reading and editing. Saving still makes the commit, but it waits in a queue: the file shows a “pending” badge and a bar shows how many changes are waiting.
  • When the connection returns (or with Sync now) the queue is committed in order, one commit per save, with the generated messages. A newer version in the repository opens the conflict screen, where the queued change can also be merged.
  • A change that keeps failing can be discarded after its files are downloaded.
  • History and connection tests need the connection. Files that were not copied appear faded.
  • With a local password, the copies and the queue are encrypted.
  • Forgetting a connection warns about changes that were never committed.

15. AI assistant

Off by default. Click AI in the header (or Ctrl+J), read the notice and turn it on. Then add a profile: provider (Anthropic, Google Gemini, Mistral or Ollama), API key, model (Load models lists them) and, for Claude, the effort. Test checks the profile.

  • Summarize the open note, Improve selection (shows a diff; Replace selection applies it), Continue writing at the cursor, From template… (a new unsaved document from a template and your instruction), New file written from your description (an option of the New file dialog, shown only when the assistant is on; only the description and the chosen template are sent) and Ask the vault (answers cite notes as clickable [[links]]).
  • Before sending, the panel lists the notes that go as context; remove any you do not want to send. The panel also shows where the request goes.
  • Answers stream, can be stopped, and show the tokens used (and the cost for Claude). The assistant never commits: its text becomes unsaved changes for you to review and save.
  • Keys stay only in this browser. Use keys with a spending limit and protect them with a local password. Forget AI settings removes everything.
  • Ollama runs on your computer and nothing leaves it, but it must accept requests from the page: start it with the OLLAMA_ORIGINS variable set to the app address (or * when you open index.html from disk, only on a computer you trust).

16. Coding agents (Claude Code, Antigravity)

These agents run on your computer, on a clone of the repository: they edit notes, commit and push. Open Coding agents with the terminal button in the sidebar (or the action on a folder, or from the AI panel).

  1. Create or update the agent guide: adds AGENTS.md (the conventions of this vault) and CLAUDE.md, with a commit.
  2. Hand a task: type the task and the files involved, then copy the clone command (first time) and the command for Claude Code (bash or PowerShell) or the request to paste in Antigravity.
  3. When the agent has pushed, click Refresh from repository.

The app runs nothing and sends nothing to the agents; your token never appears in the commands.

17. Keyboard shortcuts

Ctrl+SSave to the repository (commit dialog)
Ctrl+OFilter files by name
Ctrl+Shift+FSearch the text of the notes
Ctrl+JOpen or close the AI assistant
Ctrl+FFind and replace
Ctrl+Z / Ctrl+YUndo / redo
Ctrl+B / Ctrl+IBold / italic
Ctrl+KInsert link
Tab / Shift+TabIndent / outdent the selected lines

On a Mac, use Cmd instead of Ctrl.

18. Privacy and security

  • Your notes live in your repository. The app has no server: it talks only to GitLab or GitHub (and, if you turn it on, to the AI provider you chose).
  • Tokens and AI keys are stored only in this browser, encrypted when you set a local password, and sent only in request headers.
  • The browser keeps unsaved edits (recovery) and, if you turn on offline work, copies of the notes and the queue of commits.
  • External images, videos and frames are blocked; only https:// links are followed.
  • The published site uses Google Tag Manager / Google Analytics for usage statistics (pages visited, not your notes or tokens). It is not loaded when you open index.html from your computer.

19. Problems and limits

  • “The access token was rejected”: the token expired or lacks permission; enter a new one in the dialog.
  • “The repository changed”: someone else committed the same file; merge the two versions or choose one in the conflict screen.
  • Ollama cannot be reached: check that it is running and that OLLAMA_ORIGINS allows this page; the browser may ask permission to access local network devices.
  • GitLab does not report file sizes in the list, so attachment sizes appear after the file is loaded or uploaded.
  • No “Write the content with the AI assistant” option in New file: it appears only when the AI assistant is on and has at least one profile.
  • The link index, tags, queries and graph reflect what is saved in the repository; unsaved edits count once they are committed (the search already includes them).