--- name: artifact description: "Makes what the user keeps or uses: a document, canvas, deck, motion video, sheet, page or app. Use it for a report or memo, options or a mockup at real size, slides to present or to explain one thing a picture at a time, read aloud or as a PDF, a short hand-drawn film for a birthday, a thank-you or a small story, an Excel sheet or reading one, a tool such as a calculator or a tracker, numbers as a chart, or a diagram of how something is built." license: Complete terms in LICENSE.txt --- # Artifact What the user keeps, looks at or uses. Every kind is one file in your folder under `artifacts/` that opens with no network, and its path is what you hand back. `S=/scripts` ## To keep and look at Drawn by the app from what you write. You write the content; the app does the rest — the layout, the type, light and dark, a head that names it with Export (and Edit on a deck or a sheet; a document is edited by clicking into it), and the pictures. | They will | Kind | Start | Read first | |---|---|---|---| | read it — a report, a memo, options compared, a plan, notes of a meeting, research with its photos; or a Word file of it | document | write Markdown, then `node $S/document.mjs put `; a .docx: `document.mjs docx `; a PDF: `document.mjs pdf ` | `references/document.md` | | choose between ways something could look, or see it at its real size — an app or phone screen, a landing page, a poster, a post | canvas | `node $S/canvas.mjs new ` | `references/canvas.md`, then `references/craft.md` | | watch it presented, or understand one thing simply — a picture and a line or two a slide; as a PDF, or a video that reads itself | deck | the `make_deck` tool; then `node $S/deck.mjs pdf ` or `deck.mjs video