CLOUDMORROW

Quills / Personal

Files

Your own drive on the server, your fileshares, and what is in them.

Star on GitHub · 0 Nobody has starred it yet

What it does

  • My Files: a drive of your own on the server, there from the day your account is
  • Your fileshares beside it, and the ones shared with you, to change or only to read
  • Folders and files as a list, or as tiles with a picture of each photo
  • Sort by name, date, size or type; folders first
  • Upload from the phone, the camera, a drag or a paste; make folders; rename, move and delete
  • A Trash in every share: what you delete waits there thirty days, with a Restore button, before it goes for good
  • The Trash is the bin beside the plus, not a folder among the folders; open it and Empty clears it in one go
  • A menu on every file and folder — right-click, or hold a finger on it — with Open, Edit with, Rename, Duplicate, Copy to, Move to and Delete
  • Select several, or Shift and Ctrl with a click, for one move, copy or delete; drag a file or folder onto a folder to move it
  • A search through a folder and everything under it, names and lines, from the magnifier beside the title
  • New share and Local backups under the “…” at the top: folders on your computers, copied into My Files by their agents
  • Open a picture, save or share any file
  • In the desktop app: mount a share on this computer, open its folder, unmount it

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, Files is on the Personal shelf: open it and say yes. Its id, wherever your cloud asks for a quill by name:

id files

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

$ cm quill add files

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

Standard. The installer offers Files 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

Share share

foundational

A place files are kept: your own drive on the server (My Files), or a folder on the server that somebody made and shared with people and circles, to change or only to read.

  • Name name text, one linerequired Indexed
  • Shown as label text, one line Indexed
  • Kind kind one of My Files, On the server, On a machine Indexed
  • Description description text Encrypted
  • Owner owner text, one line Indexed
  • Access access one of Can change, Can read Indexed
  • Writable writable yes or no Indexed
  • Can manage can_manage yes or no Indexed
  • Shared with shared_with text, one line Encrypted
  • Machine machine text, one line Indexed
  • Path path text, one line Encrypted
  • Online online yes or no Indexed
  • Browsable browsable yes or no Indexed
  • About about text, one line Encrypted
  • Url url web address Encrypted
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

FilesA grid 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 files
  • Assistanttools for your assistant, as you

Its own code

None. Everything it does is declared in quill.toml and run by your cloud itself.

In its own words

A Quill for Cloudmorrow: your own drive on the server, your fileshares, and what is in them — the way a file manager shows a folder.

  • My Files is a folder of your own on the server, there from the day your account is. Nothing to set up.
  • Shares sit beside it: a folder on the server that somebody made and shared with people and circles, to change or only to read. Yours say who has them; the ones shared with you say whose they are. One you may only read opens like any other, with nothing that changes it.
  • Open one and it is its folders and files: as a list that says when and how big, or as tiles that show what a picture is of. Put files in from the phone, the camera, a drag or a paste; make folders; rename, move and delete; open a picture; save or share anything.
  • Trash: what you delete goes to a Trash folder at the top of the share, with a Restore button that puts it back where it was. Thirty days on, the server removes it for good; deleting it in the Trash does so at once.
  • In the Cloudmorrow desktop app, each share can be mounted on the computer it runs on, opened in its file manager and unmounted, from the same list.

The files stay files, where they have always been: in your drive and the Shares folder on the server, reached over WebDAV, cm share mount and the desktop app just as before. This Quill carries only the screen.

What it adds to your Cloudmorrow

Datamodels uses the foundational share and file (domain Files), served by the core from the shares and each person's drive
Screens one grid: the shares, then folders and tiles — on the phone, the web app, the terminal, cm files, and to your assistant; a Trash in every share, with Restore, swept after thirty days
Jobs none
Datasets none: My Files is there because your account is
Services, webhooks, APIs none

It contains no code: everything above is declared in quill.toml.

On the command line:

cm files list                      # My Files, your shares and the ones shared with you
cm files list my-files Photos      # a folder
cm files get my-files Photos/cat.jpg [out]
cm files put my-files Photos ./dog.jpg
cm files delete my-files Photos/old.jpg    # to the Trash
cm files restore my-files Trash/old.jpg    # back where it was

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.