CLOUDMORROW

Quills / Personal

Notes

Markdown notes in folders, with pictures: plain files in the Notes folder of your drive.

Star on GitHub · 0 Nobody has starred it yet

What it does

  • Notes in Markdown, in folders, saved as you type
  • A live editor in the terminal: the line you are on stays Markdown, the rest renders
  • Pictures pasted, dropped or picked into a note, shown where they are
  • Search every note, by its name or any line in it
  • Under Folders, the drive Notes looks at: My Files, or any fileshare you are in
  • Spelling in the web app: your cloud's own checker in place of the browser's, switched on under the gear; suggestions on a click or a tap, words you add kept on you, and any part of a note checked in another language, marked at its left edge
  • Each note is a plain Markdown file in the Notes folder of your drive: in My Files, on WebDAV, and open to any editor
  • A welcome note for everyone the first time they open Notes
  • Add a line to the end of a note from anywhere: its sheet, cm notes, or your assistant

Add it to your cloud

In your cloud, open Quills: Administration → Quills as an administrator, Me → Your Quills as anybody else. On its Catalog tab, Notes is on the Personal shelf: open it and say yes. Its id, wherever your cloud asks for a quill by name:

id notes

Or on the command line, as an administrator for everyone, with --mine for yourself alone:

$ cm quill add notes

Either way your cloud shows you everything below and waits for your yes.

Standard. The installer offers Notes when you set up a new cloud, so you may have it already. How installing works

What it adds to your cloud

Datamodels

The kinds of data it works with. On a fresh cloud everyone can read and write what it brings the moment it is installed; the install sheet says so, and an administrator narrows it with circles. Records belong to the people who write them, not to the quill: removing it leaves every one where it is. What it adds — fields of its own, datamodels of its own — stays too, unless the administrator removing it chooses to drop them.

Uses

File file

foundational

A file or a folder in a share or in My Files: a real file on disk, reached over WebDAV and the desktop app's mounts as well.

  • Share share link to Sharerequired Indexed
  • Path path text, one linerequired Indexed
  • Folder folder text, one line Indexed
  • Name name text, one linerequired Indexed
  • Kind kind one of File, Folder Indexed
  • Size size whole number Indexed
  • Modified modified date and time Indexed
  • Type mime text, one line Indexed
  • Text text text Encrypted
  • Deleted deleted date and time Indexed
  • Deleted from deleted_from text, one line Encrypted

Indexed fields are kept plain, so your cloud can sort and filter by them. Encrypted fields are encrypted before they reach the disk.

Screens

NotesA editor of files.

Each is a tab, drawn by your cloud itself on every surface:

  • Phonethe web app, made for the phone
  • Webthe full web app, in a browser
  • Terminalthe terminal app
  • Command linecm notes
  • Assistanttools for your assistant, as you

Comes with

Files from datasets/welcome.toml for each person, the first time they open Notes.welcome

Its own code

Action add-to-the-endAdd to the end, on a file; asks for text

Its Python, quill.py, runs in a sandbox on your cloud, as whoever uses it, and reaches only what it declares. Your cloud shows all of this before you say yes; code on your own machine runs only once you switch it on there.

In its own words

A Quill for Cloudmorrow: your notes, in Markdown, in folders, with pictures — on the phone, the web app, the terminal and the command line.

  • A note is a title and a page of Markdown. Folders hold notes and other folders, on your drive or, when you point Folders at one, a fileshare.
  • Pictures go in a note by pasting, dropping or picking them, and show where they are.
  • Search finds a note by its name or by any line in it.
  • Every note is a plain Markdown file in the Notes folder of your drive on the server — the same file My Files, WebDAV, your assistant and any editor reach. Notes is an editor over those files and nothing more. Removing this Quill takes the tab away, never a note.

Using it

A note is a Markdown file in the Notes folder of your drive on the server: a plain file, in My Files, on WebDAV, in a backup of the folder, and open to any editor. A path with slashes in it is folders. Notes is the kit's editor over those files, on every surface, and nothing more.

Writing one:

In the web app

The Notes tab is three screens, the way a phone's notes app is: Folders, the notes in one (newest first, with the first lines of each), and the note; on a computer the list and the note are side by side. The first row under Folders is the drive the notes are on: tap it to look at a fileshare instead, whole, and again to come home to My Files. The pen beside the title starts a new note in the folder you are looking at. The title is the file name — a new note starts with a # Title heading matching it, shown as the title rather than as a line of the body; rename the title and the file is renamed — and the note saves itself as you type. Back out of a note you never wrote anything in and it is thrown away. Delete is the bin in the top corner, and asks first. Search looks inside the notes, not only at their names. Every row of the list has a menu — right-click it on a computer, hold a finger on it on a phone: Rename, Duplicate, Move to another folder, Open folder in Files, Delete — and Select beside the pen picks several to move or delete at once.

Spelling is your cloud's own, not the browser's, once you switch it on under the gear on the Notes screen: the language you write in and the words you add are kept on you, for every device. A word it does not know is tinted with a bar under it; click or tap it for suggestions. Select some lines and right-click them, or hold a finger on them, to check them in another language; the part is marked at its left edge, with an × that takes it back. In the file the part stands between <!-- lang: de --> and <!-- /lang --> lines, which anything that renders Markdown leaves out.

In the terminal app

The Notes card (f1), the first in the workspace: the tree on the left, with every folder, empty ones too, and the live editor on the right — the line the cursor is on stays raw Markdown, every other line renders as you leave it. ctrl+n makes a note, ctrl+o a folder, r renames or moves what is selected in the tree (a folder takes what is in it along), d deletes it, ctrl+f searches, ctrl+s saves now. f6 imports a file from this machine into the selected folder and f7 writes the open note back out.

On the command line

cm notes list
cm notes show ideas/garden          # the Markdown, as it is
cm notes add ideas/garden           # from stdin, or $EDITOR
cm notes edit ideas/garden
cm notes search tomatoes            # names and every line
cm notes delete ideas/garden
cm notes add-to-the-end ideas/garden text="Water on Sundays"

Text comes from stdin when there is any, and from $EDITOR when there is not. show writes the raw text to stdout, so redirection and pipes work:

cat architecture.md | cm notes add architecture
cm notes show architecture > architecture.md

Pictures. A note can carry pictures. Either way the picture is sent to the server as it is, kept beside your notes, and a line is written where the cursor was:

![rack front](img/20260917-135026-8e642c-rack.png)

In the web app

The photo button in the bar, or paste one, or drop one on the note. Each picture shows where the note has it, between the text above and below; tap one to see it full size.

In the terminal app

Photo (ctrl+p) asks for a file on this machine. The editor draws the picture the cursor is on — or the note's first, when the cursor is elsewhere — in a panel beside the text: the real picture where the terminal speaks Kitty's graphics protocol or Sixel (Kitty, Ghostty, WezTerm, foot, iTerm2), coloured half-cells anywhere else. The line itself shows as 🖼 rack front, since the editor draws one line per line of source.

On the command line

A picture is a file beside the notes and a line in the Markdown: put the file in the notes' img folder with cm files put my-files Notes/img ./rack.png, and write the line.

Where they are. Notes/img/, one flat folder. The name says when the picture arrived, carries six random characters so two pastes in a second cannot collide, and ends with what the file was called, so ls img/ still reads. The type is taken from the bytes, never from the name: PNG, JPEG, GIF and WebP, up to 25 MB. The folder never shows in the note list — a picture is something a note shows, not a thing to find — and a copy of the notes folder takes the pictures with it. Nothing deletes a picture yet: take the line out of the note and the file stays in img/.

Everybody with no notes at all gets one the first time they open Notes, on how the editor works. An assistant reaches the same files through the record tools on file, and the Add to the end action. Removing the Quill takes the tab away, never a note.

What it adds to your Cloudmorrow

Datamodels uses the foundational file (domain Files): the Markdown files under Notes in your own drive, which the core serves as records with their text, folders and pictures
Screens one editor — folders and notes beside the page — on the phone, the web app, the terminal, cm notes, and to your assistant
Jobs none
Datasets welcome: a note on how the editor works, the first time somebody with no notes opens Notes
Actions Add to the end of a note — on its sheet, cm notes add-to-the-end <note> text=…, and to your assistant
Services, webhooks, APIs none

Its code is quill.py: the one action, run in the sandbox as whoever presses it. Everything else is declared in quill.toml.

Working on it

See CLAUDE.md and the skills in .claude/skills/. In short:

uv sync                  # .venv with Cloudmorrow and pytest
cm quill check           # the manifest, as a server would install it
cm quill test            # tests/, against the real record store and gate
cm quill test --sandbox  # the same, with the code in the sandbox
cm quill dev --local     # a throwaway server here, reinstalled as you save

Licence

AGPL-3.0-or-later.