frameboard 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +43 -2
- package/dist/cli.js +40172 -0
- package/dist/client/apple-touch-icon.png +0 -0
- package/dist/client/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/dist/client/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/dist/client/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/dist/client/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
- package/dist/client/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/dist/client/assets/index-B0tSZ6Z3.css +2 -0
- package/dist/client/assets/index-CtzIWaOo.js +10 -0
- package/dist/client/favicon.ico +0 -0
- package/dist/client/icon.svg +1 -0
- package/dist/client/index.html +16 -0
- package/dist/hook.js +19342 -0
- package/package.json +116 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Eric Le
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Frameboard
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A local design board that coding agents draw on as plain HTML files, and you review and tweak.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g frameboard
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Bun works too, with `bun add -g frameboard`. To try it without installing, run `npx frameboard serve`.
|
|
12
|
+
|
|
13
|
+
## First run
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
frameboard serve
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
In a folder with no board, `serve` creates `.frameboard/` at the repository top, or in the current folder outside a repository, holding one empty project. It serves on `http://127.0.0.1:4173`, or on a free port when 4173 is taken, and opens the board in your browser unless you pass `--no-open` or a board tab is already connected. Running `serve` again for the same board prints the address of the server already running rather than starting a second, and opens a tab only when none is open.
|
|
20
|
+
|
|
21
|
+
The board opens on a home view listing every project. Opening one shows its pages and a canvas of live frames you pan and zoom, each reloading the moment its file changes. Play hands your clicks to the frames, Esc returns to Edit, and Cmd+\ hides the panels. `frameboard show <frame>` points the open board at a frame.
|
|
22
|
+
|
|
23
|
+
`frameboard docs` prints every command, flag, record shape, exit code, and check rule, and `frameboard --version` prints the installed version.
|
|
24
|
+
|
|
25
|
+
## How it works
|
|
26
|
+
|
|
27
|
+
Frameboard has no hosted service and no MCP server. The design is a folder of HTML files on your disk, which an agent writes and the board renders as real web pages, so animation, video, and interaction work as they would in a browser. Frameboard keeps no private copy of them.
|
|
28
|
+
|
|
29
|
+
A board folder holds projects, a project holds pages, and a page holds frames, each frame one `.html` file beside a `layout.json` that records where it sits. The `project`, `page`, and `frame` commands add, rename, move, and delete them on disk, and `list` shows the board. `edit` sets one inline style declaration, attribute, or text on one element of a frame and leaves every other byte of the file as it was. Every command takes `--json`, prints one JSON document, exits with a stable code, and never prompts, so an agent can script it.
|
|
30
|
+
|
|
31
|
+
`frameboard check` reports every content rule a frame, page, or project breaks, such as a link outside the frame's page folder, a font the browser picks by default, or colors set for one theme alone, and exits 8 on any finding. The board runs the same rules on every change it watches and marks a frame's label with its findings. The Claude Code plugin in `plugins/frameboard/` runs them after each agent write and hands the findings back in the same turn, along with the `frameboard` skill.
|
|
32
|
+
|
|
33
|
+
The server binds to `127.0.0.1` alone, so the board never leaves your machine. Releases before 1.0 ship the board in stages. Today the package carries the board folder, the structure commands, `edit`, `show`, the live board, and the content checks, and editing by hand in the board arrives in a later 0.x release.
|
|
34
|
+
|
|
35
|
+
## Requirements
|
|
36
|
+
|
|
37
|
+
Frameboard runs on Node 22 or later, or on Bun.
|
|
38
|
+
|
|
39
|
+
## Links
|
|
40
|
+
|
|
41
|
+
- [Contributing guide](CONTRIBUTING.md) for setup, tests, and the commit rules
|
|
42
|
+
- [Security policy](SECURITY.md) for reporting a vulnerability privately
|
|
43
|
+
- [Issue tracker](https://github.com/erclx/frameboard/issues)
|
|
44
|
+
- [MIT license](LICENSE)
|