# RustPad 0.6.0 Collaborative Markdown editor with standalone notes and workspaces. ## Development setup ```bash ./dev.sh ``` The script creates `data/db` and `data/files`, builds the project, and runs it with Cargo. When Cargo is unavailable, it uses `docker compose up --build`. ## Funkcje notatek workspace - real-time collaborative editing over WebSocket, - nickname remembered in `localStorage`, - change authors in history, - line numbering enabled by default with a persistent toggle, - owner color next to each line, - upload images and files to `data/files/pads/_/` lub `data/files/notes/_/`, - automatic Markdown link insertion after upload, - Markdown i diagramy Mermaid, - history with snippets, previews, and version restore. ## Dane - SQLite: `data/db/rustpad.db`, - files: `data/files/pads/_/` i `data/files/notes/_/`; the public URL has the form `/f//`. In Docker, both directories are located under `/data`. ## Publishing a note as a page Use the **Page** button in the editor. RustPad creates a permanent public `/s/` address, copies it to the clipboard, and opens it in a new tab. The page displays the current note content and renders Markdown, images, links, and Mermaid. Publishing a protected note requires the password, but the published link itself is public. ## Limit uploadu The maximum size of a single file is configured with `UPLOAD_MAX_SIZE_MB` w `.env`, np. `UPLOAD_MAX_SIZE_MB=50`. The default is 20 MB. After changing it, restart the project with `./dev.sh`.