Files
Docwell/Docs-Site/guide/using-docwell.md
T
tajniak81andClaude Opus 5.5 3d1cf362d7 Add calendars, a web clipper, more importers and workspace snapshots
Phase F of the AFFiNE plan (ADR-16):

- Calendars: people subscribe to iCal feeds (webcal, Google's secret
  address, Outlook) or CalDAV accounts in account settings; their
  events show at the top of journal pages in the reader's time zone.
  Repeats, moved and cancelled occurrences, IANA and Windows zones
  are handled. Events are read on demand and kept in memory for 15
  minutes; passwords are sealed with DOCWELL_SECRET_KEY; sources
  follow the webhook address rules. New calendar_accounts collection.
- Importers: zips of Markdown (Obsidian vaults, Bear TextBundles and
  .bear2bk, Readwise's Markdown, Docwell's own space export) keep
  folders as pages, resolve [[wikilinks]] and embeds by name, and turn
  front matter and #tags into properties and tags. OneNote .mht
  exports, Readwise CSV, and any other CSV as a database page.
- Exports: PNG of a page drawn in the browser, print styles that print
  only the page in the light theme, and workspace snapshots (records,
  Yjs states, JSON and files in one zip) that restore as a new
  workspace. Old ids are swapped byte for byte inside the Yjs updates,
  so links point at the restored pages and comments stay anchored.
- Web-Clipper/: a Manifest V3 extension for Chrome, Edge and Firefox
  that saves the article or the selection as Markdown through the
  import API with a personal API token.
- OpenAPI, generated clients, translations and user docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:56:03 +01:00

18 KiB
Raw Blame History

Workspaces, spaces and pages

How content is organized

  • An organization is a company or team. Everyone belongs to at most one.
  • A workspace belongs to an organization and holds spaces. Switch workspaces at the top of the sidebar.
  • A space groups pages, for example per team or project. It is open (every workspace member can open it) or private (only the people and groups added to it).
  • Pages nest inside each other. Drag them in the sidebar to reorder or move them.

Writing

Pages save as you type, and everyone with the page open sees changes and cursors live.

To Do this
Insert a heading, list, to-do list, table, callout, quote, code block, divider, image or file Type / and pick from the menu (keep typing to filter); headings 4–6 are under Other headings
Start a to-do list Type [] at the start of a line
Format text, colour or highlight it, align it, or add a link Select it and use the toolbar that appears
Move, duplicate, turn into another kind, or delete a block Point at it and drag the ⠿ grip in the margin, or click the grip for a menu
Change a table Click in it for the table toolbar; drag the grips on a row's left edge or a column's top edge to move it (or Ctrl+Alt+arrow keys)
Copy a link to a block Ctrl+Shift+C in the desktop app, or the link button in the margin or the toolbar
Headings by keyboard Ctrl+Shift+1 to 6, and Ctrl+Shift+0 for plain text
Mention someone Type @ and their name
Show another page inside this one Type ![[ and pick it, or use /Synced page; it stays up to date as that page changes, and Fold shrinks it to its title
Open a page beside this one Alt+click (Option+click on a Mac) any link to it, or choose Open beside in the ⋯ menu
Go back or forward Ctrl+[ and Ctrl+] (⌘[ and ⌘] on a Mac)
Add an image or file Paste or drop it, or use /image, /file or the paperclip in the header
Undo Ctrl+Z (your own changes only)
Fold the sidebar Ctrl+/

History in the page header lists saved versions; you can view any of them and restore it. Restoring keeps the current text as a version too.

A synced page is read-only where it is shown: open it to edit it. People who cannot open that page see only its title. Account → Editor sets, for this device, the text size, whether new pages start full width or titled with today's date, whether properties and the pages that link here show, and line numbers in code blocks.

Databases

A database is a block that holds records: type /database to add one, or select a list and press Ctrl+G (or choose Group as database in the list's ⠿ menu) to turn each item into a record. Everyone with the page open edits it together, and Ctrl+Z undoes database changes like any other.

  • Properties are the columns: title, text, number, checkbox, select, multi-select, date, progress, link, attachment, member, created time, created by, relation and rollup. Click a column's name to rename it, change its type (values are converted), sort or filter by it, hide it, move it, or insert another next to it. Drag its edge to resize it, or its name to move it.
  • Cells: click a cell and type, or press Enter to edit it; arrow keys and Tab move between cells, Delete clears them and Shift+arrows select several. Copy and paste work with spreadsheets: paste a block of cells and new records are added as needed.
  • Views sit in tabs above the records, each with its own filters, sorts, grouping and visible properties: a table, a kanban board grouped by a select, checkbox or member property (drag cards between columns), and a calendar that places records on a date property (drag them to another day). Click the active tab to rename, duplicate, change or delete the view; which view you look at is yours alone.
  • Records as pages: Open on a record, or a click on a card, opens it beside the page, with its properties on top and room to write below. Open as full page (the arrow button) shows the record on its own, in the page's place, with an address of its own (/p/<page>/r/<database>/<record>); Back to the page returns. The link button, or Copy link to record when you right-click a row, copies a link that opens the page with that record open; it works for anyone who can open the page. On a public link, the same buttons copy a link to the record on that public page.
  • Relations link records to records of another database, on the same page or on any page you can open (find it by its title when you choose the database). A relation cell lists the linked records' titles; click one to open it, or click the cell to link and unlink records. Changes in the other database show at once.
  • Rollups sum up one property of the related records: count them or their values, sum, average, median, min, max or range of numbers, earliest and latest dates, how many are checked, or just list the values. Choose the relation, the property and the calculation in the column's Rollup menu. Rollups sort and filter like numbers when they are numbers.
  • CSV: the ⋯ menu exports the current view as a CSV file, or adds records from one; an empty database takes the file's columns and guesses their types.

In the mobile app, tap a cell to edit it and press and hold a record for its menu; the back button closes an open record. To drag a record with a finger, drag a row by its ⠿ grip, a board card by the ⠿ grip in its corner, or a calendar entry by the entry itself. The formatting bar acts on an open record's notes while you are writing in them. Columns are moved with Move left and Move right in their menu.

Exports (Markdown, HTML, PDF, Word) show a database as a table of its first view's columns, with relations and rollups worked out from databases on the same page (a relation to another page's database shows how many records it links to). Search lists a matching record on its own, under the page that holds it, and opens it there. On a public link or in History, databases are read-only.

Edgeless mode (canvas)

Every page can also be shown as a whiteboard. The two buttons next to the page's title in the header switch between Page and Edgeless; the page's text becomes a note on an endless canvas, and typing in that note is typing in the page. To have a page open as a canvas for everyone, choose Open as canvas for everyone in the page's ⋯ menu; a link with ?mode=edgeless (or ?mode=page) opens one view either way. Workspace admins choose how new pages of the workspace open (Workspace settings → New pages open as), and Account settings → Editor can choose otherwise for the pages you make on your device.

  • Tools sit at the bottom: select (V), hand (H), note (N), text (T), shape (S: square, rounded rectangle, ellipse, diamond or triangle, drawn plain or scribbled), connector (C: straight, curved or elbowed, stuck to what it joins), pen (P), eraser (E), frame (F), mind map (M), picture (I), link (L), and stickers and templates.
  • Moving around: scroll to pan, Ctrl+scroll or pinch to zoom, hold Space or the middle button to drag the view. Ctrl+= and Ctrl+- zoom, Alt+0 goes to 100%, Alt+1 fits everything and Alt+2 fits the selection.
  • Editing: click to select, Shift+click or drag a box for more; drag to move (edges line up with what is nearby; hold Alt to stop that), drag the corners to resize and the round handle to turn. Double-click a shape, text, frame title or line to type in it, and a note to write in it. The bar above the selection changes colours, line styles, arrowheads, fonts and order. Ctrl+G groups, Ctrl+Shift+G ungroups, Ctrl+D duplicates, Ctrl+Z undoes, and copy and paste work between canvases. The style you pick last for a kind of element is what the next one gets.
  • Mind maps: pick a node and press Tab for a branch, Enter for a sibling, the arrow keys to move and Delete to remove one. The bar above the map lays it out to the right, to the left or on both sides.
  • Frames carry what is inside them when they move. Present (in the tools, or the ⋯ menu) shows the frames one after another, full screen; the arrow keys step and Escape ends.
  • Export: the ⋯ menu saves the canvas as a PNG or SVG picture.
  • Comments: select an element and choose Comment in the bar above it (people who may only comment can do this too). Elements with open threads show a speech bubble with the number of threads; click it to open the thread, and clicking a thread in the Comments panel brings its element into view.

Readers of a public link see the canvas read-only. In the mobile app, the canvas button in the title bar switches between the text and the canvas; Edit works on the canvas too, with the same tools at the bottom (drag with one finger, pinch to zoom). The canvas's text (shapes, notes, frames, mind maps) is found by search. In History, a version with a canvas has a Canvas tab, Changes counts the canvas elements added, removed and changed, and restoring brings the old canvas back with the text.

Comments

Select text and choose Comment to start a discussion; the text stays highlighted and the comment appears in the Comments panel. People with the commenter role can comment without being able to edit. Authors and space admins can delete comments.

The Inbox lists your notifications. Under its settings you choose whether they also come by email, and which kinds (mentions, comments, replies, resolved threads, shared pages, reminders).

Finding things

Press Ctrl+K (⌘K on a Mac) or click Search in the sidebar. With nothing typed it shows the pages you visited last; type to search titles and text in every space you can open. The filters narrow results by space, tag, author or date. Star a page (☆ in the header) to keep it under Favorites in the sidebar.

AI

When AI is set up in a workspace (see Administration → AI), the ✦ button in the header (Ctrl+J) opens the AI chat beside the page. Ask about the open page, its space or the whole workspace; answers cite their sources as [1], [2]… and the links open the page at the cited block. Chats are private to you: pick earlier ones from the list, delete them, or continue in a new chat from any answer to try another direction.

Select text in a page and choose Ask AI in the toolbar to improve, shorten, lengthen, fix, summarise, translate or continue it, or to give your own instruction. The result shows first; Replace selection or Insert below puts it in the page, where undo and page history work as for any edit.

Audio and video files in a page get a Transcribe button when the workspace has a speech-to-text model: it adds a summary with key points and action items below the file, and the full transcript in a toggle.

Long recordings are cut into pieces and transcribed one after another, so they take a while.

On the phone the ✦ button on the home screen asks about the workspace, and on a page about that page. While editing, the ✦ button in the toolbar offers the same writing actions for the selected text, and audio files have the Transcribe button too.

AI only ever reads what you can open yourself.

Properties, tags and collections

Under each page title, Properties shows the page's tags, the workspace's custom properties (text, number, checkbox, date, select, multi-select, person and link) and when the page was created and changed. Info in the page header opens the same list in a side panel with every property, including hidden ones. Anyone who works in the workspace can add properties there, or in Settings → Page properties, where you can also order them, choose when they show under the title and edit select choices. Settings → Tags renames, recolours, merges and deletes tags.

All docs in the sidebar lists every page you can open, as a list, a grid or cards. Group and order the list by any property, pick which properties show, and filter it with rules (for example "Status is Done" or "changed in the last 7 days"). Tick pages to tag, move, trash or collect them at once. Save as collection keeps the filter as a collection in the sidebar. A collection holds the pages its rules match, plus pages added by hand from its list or from the page's Info panel. Collections are yours until you share them with the workspace.

Journal

Journal in the sidebar opens today's page in your journal: one page per day, kept in a private Journal space that only you see, workspace admins included. The week strip above a journal page jumps between days; a dot marks days that already have a page. In read mode, clicking a date in any page opens that day's journal. Pick the page new journal pages start from in the Info panel, under Journal; any page marked as a template can be used.

Calendars on journal pages

In Account settings → Calendars, subscribe to your calendars; their events for the day are listed at the top of each journal page, in your time zone. Only you see them, and Docwell only reads them.

  • iCal feed: any .ics or webcal:// address. For Google Calendar, use the calendar's Secret address in iCal format (Settings → the calendar → Integrate calendar); for Outlook, publish the calendar and use its ICS link.
  • CalDAV account: your server's address (for Nextcloud https://cloud.example.com/remote.php/dav, for iCloud https://caldav.icloud.com with an app-specific password) with your user name and password; Docwell reads every event calendar of the account, or only the one whose address you enter.

Repeating events, moved and cancelled occurrences and time zones are taken into account. Events are read again every 15 minutes, or at once with Refresh; the list says when a calendar was last read, or why it could not be.

Sharing

Share in the page header shows who can open the page through its space and copies the page's link. Editors can turn on a public link: anyone with it can read the page (and, if you choose, the pages inside it) without an account. Readers can copy links to its blocks and database records from there, and those links open on the public page too. Turning it off makes the link stop working at once. Pages in the trash are never shown through a link.

Import and export

  • Export: the ⋯ menu in the page header saves the page as Markdown, HTML, PDF or Word. PDFs are A4, with a bookmark per heading and the page's images. Word files keep headings, lists, to-dos, callouts, tables, colours and the page's images, and import back into Docwell as they were. Draw.io and Excalidraw diagrams become a link to their file, and Mermaid charts show their source. Export as PNG saves the page as one picture, the way it looks on screen, and Print prints only the page, in the light theme, without the app around it.
  • Import: Import on a space's page list creates a page per Markdown (.md, .txt), HTML or Word (.docx) file. A leading # Heading, or the Word document's title, becomes the page title. Word headings, lists, quotes, tables, alignment, colours, links and images are kept. Up to 20 files at once.
  • From Notion: in Notion, choose Settings → Export, pick Markdown & CSV or HTML and include subpages and files. Import the .zip you get (up to 100 MB, 2000 pages) as it is. Docwell rebuilds the page tree, keeps links between the pages, and stores images and files as attachments. Each database becomes a page with a database block of its rows, with guessed property types, and the row pages under it. Tables in pages come in as tables; callouts and to-do lists are kept.
  • From Obsidian, or any folder of Markdown: zip the vault folder and import the .zip. Folders become pages with their notes inside (a note named like its folder, such as Projects/Projects.md, is that folder's page), [[wikilinks]] and ![[embeds]] are found by name anywhere in the vault, images and files become attachments, and callouts come through. YAML front matter becomes properties (created when the workspace has none of that name; lists become multi-selects, dates dates) and its tags, with the #tags in the text, become the page's tags. A Docwell space export imports back the same way.
  • From Bear: import a Bear backup (.bear2bk), or a .zip of notes exported as TextBundle. #tags and #multi word tags# become tags.
  • From OneNote: in OneNote for Windows, choose File → Export, pick a page or section and Single File Web Page (*.mht), and import the .mht. Each page becomes a page, with its pictures.
  • From Readwise: in Readwise, choose Export → Export to CSV and import the .csv. A Readwise page holds a page per book or article, with its highlights as quotes, your notes and locations, its author as a property and its document tags as tags. Readwise's Markdown export imports like any folder of Markdown.
  • CSV: any other .csv becomes a page with a database of its rows.
  • To Notion: export the page as Word or Markdown, then import that file with Import in Notion's sidebar.

Web clipper

The Docwell Web Clipper (in Web-Clipper/ of the source; Chrome, Edge and Firefox) saves the page you are reading as a new page: the article on it, or only what you selected, with its links and pictures, under a note saying where it came from. In its options, enter the address you open Docwell at and an API token with Read and write access (Account settings → API tokens), then pick the space new clips go to.

Workspace snapshots

Workspace settings → Snapshot → Download snapshot (workspace admins) saves the whole workspace as one zip: spaces, pages with their full documents, tags, properties, shared collections, comments and files. New workspace → Restore from a snapshot (organization admins) makes a new workspace from it, on this server or another one, with every link, mention, embedded page and relation pointing at the restored pages and comments still anchored to their text. A snapshot holds what you can open: other people's journals and pages hidden from you are left out. Members, sharing, public links, webhooks, AI settings and page history are not part of it. For a backup of the whole server, see Backups.

Trash

Move to trash hides a page and everything inside it. Restore it from the space's Trash. Space admins can delete pages there for good.