rapier-html 1.1.97 → 1.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BUILD.json +4 -4
- package/README.md +10 -10
- package/dist/rapier.html +15 -15
- package/package.json +1 -1
package/BUILD.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "rapier-html",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.98",
|
|
4
4
|
"path": "dist/rapier.html",
|
|
5
|
-
"bytes":
|
|
6
|
-
"sha256": "
|
|
7
|
-
"builtAt": "2026-10-
|
|
5
|
+
"bytes": 2354289,
|
|
6
|
+
"sha256": "668fbbe4ac31bb2367c3b0c95a59b4ac0a1d36532a01c83bd3ebbc6d1c025cc3",
|
|
7
|
+
"builtAt": "2026-10-11T06:28:43.431Z",
|
|
8
8
|
"node": "v22.23.3",
|
|
9
9
|
"canonical": true,
|
|
10
10
|
"packing": "zopfli",
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Turn Markdown into one offline HTML file with the full Rapier editor. It opens in any browser on a phone or
|
|
4
4
|
computer, with no account. People read, edit, draw and paint watercolor. Agents deliver documents, show what
|
|
5
|
-
changed and receive the person's edited copy through the door. Start with `npx rapier-html@1.1.
|
|
5
|
+
changed and receive the person's edited copy through the door. Start with `npx rapier-html@1.1.98 notes.md`.
|
|
6
6
|
|
|
7
7
|
Use it for a plan to rearrange, an illustrated guide to annotate, a draft to continue writing, or a revision
|
|
8
8
|
to review. Text and drawings stay editable, and the file remains usable independently of a hosted workspace.
|
|
@@ -18,14 +18,14 @@ to review. Text and drawings stay editable, and the file remains usable independ
|
|
|
18
18
|
Node 22 or newer.
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
npx -- rapier-html@1.1.
|
|
22
|
-
npx -- rapier-html@1.1.
|
|
23
|
-
npx -- rapier-html@1.1.
|
|
24
|
-
npx -- rapier-html@1.1.
|
|
25
|
-
npx -- rapier-html@1.1.
|
|
26
|
-
npx -- rapier-html@1.1.
|
|
27
|
-
npx -- rapier-html@1.1.
|
|
28
|
-
npm install rapier-html@1.1.
|
|
21
|
+
npx -- rapier-html@1.1.98 notes.md # the editor, notes.md inside it, written beside the file
|
|
22
|
+
npx -- rapier-html@1.1.98 notes.md --view draw # opens on Draw: sketch and paint, the document behind it
|
|
23
|
+
npx -- rapier-html@1.1.98 notes.md --view notes # opens the Notes library
|
|
24
|
+
npx -- rapier-html@1.1.98 notes.md --drawing sketch.svg # carries a drawing, opened on Draw over the document
|
|
25
|
+
npx -- rapier-html@1.1.98 revised.md --compare original.md # opens showing what changed
|
|
26
|
+
npx -- rapier-html@1.1.98 notes.md --return "$RETURN_URL" --return-expires-at "$RETURN_EXPIRES_AT" # Send back
|
|
27
|
+
npx -- rapier-html@1.1.98 notes.md out.html # a named output
|
|
28
|
+
npm install rapier-html@1.1.98 # as a library: wrap, unwrap
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
The first `--` is for npm, so `--help` reaches the command. It never overwrites a file.
|
|
@@ -47,7 +47,7 @@ editor and lightweight reader (about 190 kB gzipped). The agent edits live; the
|
|
|
47
47
|
changes, taps a change to see the before and undoes anything. Use `comparison.present` to show a diff deliberately.
|
|
48
48
|
|
|
49
49
|
1. **Work together live.** Connect to `https://mcp.rapier.website/mcp`, then call `rapier.open` to share one document with the person.
|
|
50
|
-
2. **Deliver an offline editor.** Run `npx rapier-html@1.1.
|
|
50
|
+
2. **Deliver an offline editor.** Run `npx rapier-html@1.1.98 notes.md` to put the document and editor in one HTML file ([rapier-html](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-html)).
|
|
51
51
|
3. **Embed in your app.** Install [rapier-embed](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-embed); mount the editor or reader, with your app's agent over WebMCP in the editor.
|
|
52
52
|
4. **Keep portable Markdown.** Use [rapier-markdown-kit](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-markdown-kit) for pictures, editable SVG drawings and layout in one `.md` file. Respect [Will/1](https://github.com/jackskip22/will) `keep`, `append` and `edit` regions.
|
|
53
53
|
5. **Encode JPEG XL.** Install [rapier-jxl](https://github.com/jackskip22/rapier-jxl) to encode pixels, photographs and existing JPEGs in JavaScript.
|