Remove README.md
Browse files
README.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: figcraft
|
| 3 |
-
emoji: 🎨
|
| 4 |
-
colorFrom: gray
|
| 5 |
-
colorTo: blue
|
| 6 |
-
sdk: docker
|
| 7 |
-
app_port: 7860
|
| 8 |
-
pinned: false
|
| 9 |
-
license: apache-2.0
|
| 10 |
-
short_description: Design and prototype in the browser, in pure Rust
|
| 11 |
-
---
|
| 12 |
-
|
| 13 |
-
# FigCraft
|
| 14 |
-
|
| 15 |
-
An open-source interface design and prototyping tool — the whole engine and UI compiled to
|
| 16 |
-
**WebAssembly**, running natively in your browser.
|
| 17 |
-
|
| 18 |
-
👉 **https://lljz66-api.hf.space**
|
| 19 |
-
|
| 20 |
-
Nothing runs on the server: this Space only serves static files (nginx). The editor, its
|
| 21 |
-
renderer, layout engine and plugin interpreter all execute on your device.
|
| 22 |
-
|
| 23 |
-
## Using it
|
| 24 |
-
|
| 25 |
-
- It opens with a new document — draw a frame (<kbd>F</kbd>), then shapes, text, auto layout.
|
| 26 |
-
- **WebGPU** is used when available, with a **WebGL2** fallback. Any current browser works
|
| 27 |
-
(Safari 16.4+).
|
| 28 |
-
- Save/export is local: SVG, PNG, JPG, WebP, PDF.
|
| 29 |
-
- `.fig` files open best-effort.
|
| 30 |
-
|
| 31 |
-
## What is served
|
| 32 |
-
|
| 33 |
-
| File | Size |
|
| 34 |
-
|---|---|
|
| 35 |
-
| `index.html` | the page |
|
| 36 |
-
| `figcraft-web-<hash>.js` | wasm-bindgen glue |
|
| 37 |
-
| `figcraft-web-<hash>_bg.wasm` | the app, ~18 MiB raw / ~7 MiB gzipped |
|
| 38 |
-
|
| 39 |
-
`.wasm` is served as `application/wasm` with gzip and immutable caching, which is what
|
| 40 |
-
browsers require to stream-compile it.
|
| 41 |
-
|
| 42 |
-
## Why not desigma
|
| 43 |
-
|
| 44 |
-
An earlier revision ran the native Rust desktop app **desigma** inside Xvfb and streamed it
|
| 45 |
-
over noVNC. Hugging Face's abuse scanner pauses remote-desktop streaming, so that build was
|
| 46 |
-
retired (it is preserved in `novnc/` and in git history). FigCraft solves the same need
|
| 47 |
-
without streaming anything: it is a genuine browser build.
|
| 48 |
-
|
| 49 |
-
## Links
|
| 50 |
-
|
| 51 |
-
- Source: https://github.com/storytold/figcraft
|
| 52 |
-
- Releases: https://github.com/storytold/figcraft/releases
|
| 53 |
-
- License: MIT OR Apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|