Canvas turns content into a clean, shareable page. Send it Markdown, an SVG, a Mermaid diagram, plain text, raw HTML, JSON, CSV or an image — get back a public URL anyone can open in a browser.
You need the canvas CLI and a valid token. Point it at this server with CANVAS_URL (or -u); it prints the public URL.
# A Markdown file $ canvas -t <token> -u https://canvas.netbros.com ./notes.md https://canvas.netbros.com/a/abc12345 # A Mermaid diagram $ canvas -t <token> -u https://canvas.netbros.com ./flow.mmd # Straight from stdin (format is required for stdin) $ echo '# Hello' | canvas -t <token> -u https://canvas.netbros.com -f md -
Or call the API directly:
$ curl -X POST https://canvas.netbros.com/api/render \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ -d '{"format":"md","content":"# Hello","title":"Hi"}'