Document workspace
Polytrail
A document app you can take apart: file tree, Markdown editor, and a chat that edits the open file.
Document Workspace
A document app you can take apart.
Open it and it works: a folder tree on the left, tabs above the editor, and a chat panel on the right that edits the document you have open. Each of those surfaces is finished on its own, so a board of your own can take the tree, the editor, the previews, or the chat hand-off without building them again.
What it opens
Markdown arrives as a document: tables render, checklists tick, code blocks highlight, math
typesets and diagrams draw. Typing / inserts a table, a checklist, a code block or a diagram. A
Markdown file exports as a single HTML page with its math and diagrams already rendered. Other text
opens as source, with the language already picked. Images, PDF, video, audio and HTML each get their
own surface, and anything else can be downloaded.
The kind is read from the file itself, so a folder of mixed documents needs nothing configured per type.
Using it
- Pick a file in the tree, or right-click a folder to add a document or a subfolder. Search narrows the tree as you type, and dragging a file onto a folder moves it.
- Write. Markdown saves itself a moment after you stop typing.
- Ask the chat on the right. It is told which document is open and reads the file itself, so a long page costs nothing to hand over. The editor turns read-only while it writes, and its change arrives in the file, ready to read or undo.
- Export a Markdown document from its menu when you want a page you can send.
- Close a tab when you are done; it saves first.
Drafts and outside edits
Every open document keeps its own draft and scroll position, and the tab strip comes back after a reload. A file that something else changes refreshes in place rather than overwriting unsaved work.
Taking the parts
The three-panel layout is a starting arrangement, not a requirement. A board can show the tree in a sidebar, keep the editor and drop the rest, or read a different folder. The tree lists a folder instead of a database, so files written by an agent or a routine turn up in it with no extra wiring.
What it needs
Nothing to connect. Documents live in this board's own folder, so a second copy starts empty and never shares files with the first, and the assistant is the built-in Polytrail agent.