Skip to content

Getting Started

CanvasMesh turns any file into a shareable, renderable URL. This guide walks through creating your first canvas from three angles: dashboard, CLI, and SDK.

  1. Open canvasmesh.app and click New Canvas.
  2. Drag and drop any file — images, PDFs, 3D models, video, audio, Markdown, Jupyter notebooks.
  3. CanvasMesh picks the best built-in renderer by file extension. See Renderer types for the full mapping.
  4. Click Share to get a public link.
Terminal window
npm install -g @canvasmesh/cli
canvasmesh login --token <your-api-key>
canvasmesh push ./report.md --title "Q2 Report"

The push command creates a new canvas and prints the view URL. See the CLI reference.

import { CanvasClient } from '@canvasmesh/sdk-js';
const client = new CanvasClient({ apiKey: process.env.CANVASMESH_API_KEY! });
const canvas = await client.create({
title: 'Q2 Report',
ext: 'md',
content: '# Quarterly Report\n\nRevenue up 30%.',
});
console.log(canvas.view_url);

See the SDK reference for the full API.