superprint 1.0.92 β†’ 1.0.93

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.
Files changed (3) hide show
  1. package/README.md +75 -82
  2. package/cli.mjs +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -7,129 +7,120 @@
7
7
 
8
8
  <p align="center">
9
9
  <a href="https://superprint.cc"><b>🌐 superprint.cc</b></a> Β·
10
- <a href="https://github.com/zigmoon/superprint"><b>GitHub</b></a> Β·
11
- <a href="https://superprint.cc/sp213-studio.html">SP213 AI Studio</a> Β·
10
+ <a href="https://github.com/zigmoon/superprint">GitHub</a> Β·
11
+ <a href="https://superprint.cc/sp213-studio.html">Studio IA</a> Β·
12
12
  <a href="https://superprint.cc/supertypo/">SuperTyPo</a> Β·
13
- <a href="https://superprint.cc/documentation.html">Documentation</a>
13
+ <a href="https://superprint.cc/documentation.html">Documentation</a> Β·
14
+ <a href="https://superprint.cc/api.html">Script API</a>
14
15
  </p>
15
16
 
16
- **SuperPrint** is a **professional page-layout and prepress (DTP) application that runs entirely in the browser** β€” free, no subscription, no account, no ads. It combines a **real multi-page layout editor** (bleed, CMYK, fine typography, master pages…) with an **AI layout studio, SP213**, which turns a plain written brief into a print-ready, fully editable document.
17
+ <p align="center">
18
+ <img alt="App" src="https://img.shields.io/badge/app-1.7.404-000000?style=flat-square">
19
+ <img alt="Launcher" src="https://img.shields.io/badge/npm-1.0.92-CB3837?style=flat-square">
20
+ <img alt="License" src="https://img.shields.io/badge/license-MIT-3DA639?style=flat-square">
21
+ </p>
22
+
23
+ **SuperPrint** is a **professional page-layout and prepress (DTP) application that runs entirely in the browser** β€” free, no subscription, no account, no ads. It combines a **real multi-page layout editor** (bleed, CMYK, master pages, linked text frames, fine typography) with an **AI layout studio** that turns a written brief into a print-ready, fully editable document.
17
24
 
18
- The application runs in your browser on Windows, macOS and Linux. Your projects use SuperPrint's native editable `.sp` format and remain **on your computer** unless you explicitly export or send content to an optional cloud AI provider.
25
+ This package is the **launcher**. It downloads the application once, installs its local dependencies and serves it on **`http://127.0.0.1:5173`**. Your projects use SuperPrint's native editable `.sp` format and stay **on your computer** unless you deliberately export them or enable a cloud AI provider.
19
26
 
20
27
  ---
21
28
 
22
- ## ✦ The SuperPrint family
29
+ ## ✦ Install and run
23
30
 
24
- This package launches SuperPrint, but it is part of a small **family of browser-based creative applications** sharing the same design language and workflow:
31
+ Prerequisite: [Node.js 18+](https://nodejs.org) (npm included).
25
32
 
26
- - **SuperPrint** β€” the full DTP / prepress **layout editor** (pages, bleed, CMYK, master pages, typography, imposition).
27
- - **SP213 Studio** β€” the **AI layout studio**: describe a brief, get a print-ready editable document (cloud models or fully local WebLLM).
28
- - **SuperTyPo** β€” a **font decomposer & typeface editor**: drop a `.ttf` / `.otf` / `.woff` / `.woff2`, edit each glyph as vector contours with a BΓ©zier pen, then **re-export** the modified typeface. Includes boolean operations (union / subtract / intersect), mirror & 90Β° rotation, advanced metrics, an FR / EN / JP interface and the versioned `.sf` (SuperFont) project format. Open it online at [superprint.cc/supertypo](https://superprint.cc/supertypo/), or from the **Β« SuperTyPo Β»** tab of the *New project* dialog inside SuperPrint.
33
+ There is nothing to install permanently β€” `npx` fetches the launcher, which then downloads the app (**~54 MB**) on first run.
29
34
 
30
- ---
35
+ ### Windows (PowerShell)
31
36
 
32
- ## ✦ Why SuperPrint?
37
+ ```powershell
38
+ npx.cmd superprint@latest
39
+ ```
33
40
 
34
- - **A real DTP tool, not a toy** β€” real millimeter formats, trim marks, bleed, master pages, layers, linked text frames, editorial typography with automatic hyphenation (FR Β· EN Β· DE Β· ES Β· IT Β· JA).
35
- - **Offset-ready export** β€” **CMYK** PDF with ICC profiles (Coated FOGRA39, SWOP, Japan Color), Pantone spot-color support, on-screen soft-proof simulation, and offset **imposition**.
36
- - **100 % browser-based** β€” nothing to install for online use β€” Chrome, Firefox, Safari, Edge.
37
- - **No subscription, no account, no tracking** β€” open it and start composing.
38
- - **Offline PWA** β€” installable as a desktop app; auto-save every 12 s to local IndexedDB.
39
- - **AI layout (SP213)** β€” from brief to draft through conversation β€” DeepSeek, Groq, OpenRouter, or fully local WebLLM models over WebGPU.
40
- - **Interoperability** β€” import your documents (Word, OpenDocument, PDF, SVG/PNG/JPG/WebP images, IDML) and export to many formats.
41
+ The `.cmd` wrapper is deliberate: `npm.ps1` / `npx.ps1` can be blocked by the PowerShell execution policy, and `npx.cmd` avoids having to change it. If you prefer installing first, `npm.cmd i superprint` then `npx.cmd superprint`.
41
42
 
42
- ---
43
+ ### macOS / Linux
44
+
45
+ ```bash
46
+ npx superprint
47
+ ```
48
+
49
+ ### Options
50
+
51
+ Vite options are passed straight through:
52
+
53
+ ```bash
54
+ npx superprint --port 5174
55
+ ```
43
56
 
44
- ## ✦ What can you compose?
57
+ The server binds to the **loopback interface** by default, so it is not reachable from your network or the Internet. Use `--host 0.0.0.0` **only** on a trusted network, when you deliberately want another device to reach the app.
45
58
 
46
- | | | |
47
- |---|---|---|
48
- | πŸŽ‰ Flyers & posters | πŸ“š Brochures & catalogs | πŸ“° Magazines & newsletters |
49
- | πŸŽ“ Course material | πŸ“Š Reports & business docs | 🎡 Sleeves, programs, booklets |
59
+ ### Updating
60
+
61
+ The launcher checks the published version and re-downloads the application when a newer one is available. Existing local copies are reused otherwise, so later launches are fast and work offline.
50
62
 
51
63
  ---
52
64
 
53
- ## ✦ How to use it
65
+ ## ✦ The SuperPrint family
54
66
 
55
- ### Online (nothing to install)
56
- β†’ **[https://superprint.cc](https://superprint.cc)** β€” the app opens in seconds.
67
+ This package launches SuperPrint, but the project is a small **family of browser-based creative applications** sharing the same design language and workflow:
57
68
 
58
- ### Locally with this package (single command)
59
- Prerequisite: [Node.js 18+](https://nodejs.org) (npm included).
69
+ - **SuperPrint** β€” the full DTP / prepress **layout editor**: pages, spreads, bleed, CMYK, master pages, typography, imposition.
70
+ - **Studio IA** β€” the **AI layout studio**. Describe a brief in plain language and get a print-ready editable document. Attach documents in **any office format** β€” Word `.doc` / `.docx`, OpenDocument `.odt` / `.ods` / `.odp`, RTF `.rtf`, Excel, PDF β€” and they are read with their **full structure**: heading levels, lists, tables and images. Runs on cloud models (DeepSeek, Groq, OpenRouter, Anthropic) **or fully locally** with WebLLM over WebGPU.
71
+ - **SuperTyPo** β€” a **font decomposer & typeface editor**. Drop a `.ttf` / `.otf` / `.woff` / `.woff2`, reshape each glyph as vector contours with a BΓ©zier pen, then **re-export** the typeface. Boolean operations, mirror & 90Β° rotation, glyph metrics, FR / EN / JP interface, and the versioned `.sf` (SuperFont) project format. Open it at [superprint.cc/supertypo](https://superprint.cc/supertypo/), or from the **Β« SuperTyPo Β»** entry of the *New project* dialog inside SuperPrint.
60
72
 
61
- **Windows PowerShell**
73
+ ---
62
74
 
63
- The `npm i superprint` command displayed automatically by npm installs the package but does not launch SuperPrint. On Windows PowerShell, script execution policies may also block `npm.ps1` and `npx.ps1`.
75
+ ## ✦ Why SuperPrint?
64
76
 
65
- Launch SuperPrint with the Windows command wrapper instead:
77
+ - **A real DTP tool, not a toy** β€” real millimetre formats, bleed, trim marks, master pages, layers, guides & grids, linked text frames, editorial typography with **automatic hyphenation**.
78
+ - **Offset-ready output** β€” CMYK + ICC profiles, **Pantone** spot inks, PDF/X-3, imposition, and a soft-proof preview.
79
+ - **Typography that survives export** β€” vector PDF keeps text selectable and searchable. Hyphenation dictionaries for **French, English, German, Spanish and Italian**.
80
+ - **100 % browser-based** β€” Chrome, Firefox, Safari, Edge.
81
+ - **No subscription, no account, no tracking.**
82
+ - **Offline PWA** β€” installable as a desktop app, with an auto-save net in **IndexedDB**.
83
+ - **AI that can stay local** β€” cloud models, or entirely offline with WebLLM over WebGPU.
66
84
 
67
- ```powershell
68
- npx.cmd superprint@latest
69
- ```
85
+ ---
70
86
 
71
- This does not require changing your PowerShell execution policy. If you specifically want to install the package first, use `npm.cmd i superprint`, then launch it with `npx.cmd superprint`.
87
+ ## ✦ Formats
72
88
 
73
- **macOS / Linux**
89
+ **Import** β€” Word `.docx` / `.doc` (with image extraction; `.doc` through a real Compound File Binary parser), OpenDocument `.odt` / `.ods` / `.odp`, **RTF** (page setup decoded: format, margins, gutter, columns, headers/footers, page breaks), PDF, InDesign `.idml`, Excel `.xlsx` / `.xls` *(SheetJS is loaded from a CDN β€” Excel import needs a network connection)*, images (PNG, JPG, WebP, GIF, SVG, TIFF, EPS, AI, PSD), Scribus `.sla` *(BETA)*, and the native `.sp` / `.json` project formats.
74
90
 
75
- ```bash
76
- npx superprint
77
- ```
91
+ **Export** β€” **PDF** in four qualities (**72 / 200 / 300 / 600 DPI**) with bleed, trim marks, colour bar and **imposition**; `PDF/X-3:2003` with `OutputIntent` and `DestOutputProfile`; **CMYK** through ICC profiles (three bundled: **Coated FOGRA39**, **US Web Coated SWOP**, **Japan Color 2001 Coated** β€” custom profiles can be loaded); **Pantone** spot channels as real `/Separation` colour spaces, on a CMYK **or** RGB quadri layer; **vector typography** (selectable text, embedded fonts); **PNG** (white or transparent) and **JPG**; native `.sp` and `.json`.
78
92
 
79
- On first launch, the launcher downloads the application (about 50 MB), installs its local dependencies and opens **http://127.0.0.1:5173**. Later launches reuse the installed copy and automatically detect application updates. The server binds to the loopback interface by default, so it is not exposed to your local network or the Internet.
93
+ > ℹ️ **IDML is import-only.** There is no IDML export β€” the native exchange format is `.sp`.
80
94
 
81
95
  ---
82
96
 
83
- ## ✦ Feature highlights
84
-
85
- - Multi-page documents, facing-page spreads and offset **imposition**
86
- - **CMYK / RGB / grayscale** PDF export up to **600 DPI** with bleed, trim marks and color bars
87
- - **Vector typography** export β€” real selectable text with embedded fonts (no rasterization)
88
- - Import: Word (.docx), OpenDocument (.odt), RTF, PDF page-by-page, IDML, images, SVG
89
- - Export: PDF, PNG, JPG, IDML, native `.sp`
90
- - Master pages, layers, guides & grids, linked text frames, multilingual hyphenation engine
91
- - Pathfinder boolean operations, image masking, BΓ©zier pen tool, image filters
92
- - GPU acceleration (WebGL), light & dark themes, keyboard-first workflow
93
- - **SP213 Studio** β€” AI-generated layouts, online (DeepSeek/Groq/OpenRouter) or fully local (WebLLM via WebGPU)
94
-
95
- ### What is included
96
-
97
- - **SuperPrint Editor:** multi-page layouts, precise millimetre dimensions, typography, shapes, images, layers, guides, grids, bleed and safe areas.
98
- - **Print and prepress tools:** RGB/CMYK document workflows, print preview, preflight checks and PDF, PNG and SVG output.
99
- - **SP213 AI Studio:** generate posters, brochures, catalogues, reports, menus and other editable layouts through conversation.
100
- - **SuperTyPo font editor:** decompose any font into editable vector glyphs, reshape them with the pen tool (booleans, mirror, rotation), and export the modified typeface.
101
- - **Native projects:** save, reopen and exchange editable `.sp` documents between SP213 and the full editor.
102
- - **Document imports:** integrate common image, SVG, PDF, Word and spreadsheet content into layouts.
103
- - **Local AI:** run open-source WebLLM models in the browser through WebGPU, including lightweight options for machines with limited graphics memory.
104
- - **Optional cloud AI:** OpenAI, Groq, DeepSeek and OpenRouter can be configured when higher-capacity models are preferred.
105
- - **Responsive interface:** use the Studio on desktop or mobile, with the full editor designed for precision desktop work.
97
+ ## ✦ What is included
98
+
99
+ - **SuperPrint Editor** β€” multi-page layouts, millimetre precision, typography, shapes, images, layers, guides, grids, bleed and safe areas.
100
+ - **Print & prepress tools** β€” RGB / CMYK document workflows, print preview, preflight checks, PDF output.
101
+ - **Studio IA** β€” posters, brochures, catalogues, reports and menus, generated through conversation (up to 120 pages).
102
+ - **SuperTyPo** β€” font decomposition, glyph editing, `.sf` projects, TTF re-export.
103
+ - **Native projects** β€” editable `.sp` documents, exchangeable between Studio IA and the full editor.
104
+ - **Local AI** β€” open-source WebLLM models in the browser through WebGPU, including lightweight options for machines with limited graphics memory.
105
+ - **Optional cloud AI** β€” DeepSeek, Groq, OpenRouter and Anthropic can be configured when higher-capacity models are preferred.
106
+ - **Responsive interface** β€” the Studio works on desktop and mobile; the full editor targets precision desktop work.
106
107
 
107
108
  ---
108
109
 
109
110
  ## ✦ Privacy and local operation
110
111
 
111
- SuperPrint is designed to be **privacy-friendly**:
112
-
113
- - The editor, project storage and local WebLLM execution run on your machine. Local models are downloaded once and cached by the browser; prompts processed by WebLLM stay local.
114
- - No account, no telemetry, no advertising.
115
- - Cloud AI is optional. When you choose a cloud provider, the prompt and the context required for generation are sent to that provider using the API key you configure. SuperPrint does not require a cloud model for local WebLLM use.
112
+ - The editor, project storage and local WebLLM execution run **on your machine**. Local models are downloaded once, cached by the browser, and prompts stay local.
113
+ - **No account, no telemetry, no advertising.**
114
+ - Cloud AI is **optional**. When you choose a provider, only the prompt and the context required for generation are sent, using the API key you configure. Nothing is sent while you use local models.
116
115
 
117
116
  ---
118
117
 
119
118
  ## ✦ Requirements
120
119
 
121
- - Node.js 18 or newer, with npm/npx.
120
+ - Node.js **18** or newer, with npm / npx.
122
121
  - A current Chromium-based browser is recommended.
123
- - WebGPU-compatible graphics hardware and browser support are required only for local WebLLM inference.
124
- - Internet access is required for the first application download, updates, model downloads and optional cloud services.
125
-
126
- You can pass Vite options to the launcher, for example:
127
-
128
- ```bash
129
- npx superprint --host 127.0.0.1 --port 5173
130
- ```
131
-
132
- Network access is opt-in. Only use `--host 0.0.0.0` on a trusted network when you deliberately want another device to reach the application.
122
+ - **WebGPU**-compatible hardware and browser support are required **only** for local WebLLM inference.
123
+ - Internet access is needed for the first application download, for updates, for WebLLM model downloads, for **Excel import** (SheetJS comes from a CDN) and for any **cloud AI** provider.
133
124
 
134
125
  ---
135
126
 
@@ -140,8 +131,10 @@ Network access is opt-in. Only use `--host 0.0.0.0` on a trusted network when yo
140
131
 
141
132
  - [SuperPrint web application](https://superprint.cc)
142
133
  - [Technical documentation](https://superprint.cc/documentation.html)
143
- - [SP213 AI Studio](https://superprint.cc/sp213-studio.html)
134
+ - [Script API](https://superprint.cc/api.html)
135
+ - [Studio IA](https://superprint.cc/sp213-studio.html)
144
136
  - [SuperTyPo font editor](https://superprint.cc/supertypo/)
137
+ - [Release notes, trilingual FR / EN / JP](https://app.zigmoon.com/release.html)
145
138
  - [2.13 β€” developer and maintainer](https://2points13.fr)
146
139
  - [2.13 applications](https://2points13.fr/applications.html)
147
140
  - Support: [all@2points13.fr](mailto:all@2points13.fr)
package/cli.mjs CHANGED
@@ -19,7 +19,7 @@ const isWin = process.platform === 'win32';
19
19
  // ── URLs & chemins ────────────────────────────────────────────
20
20
  const APP_VERSION_URL = 'https://superprint.cc/version.txt';
21
21
  const APP_ZIP_URL = 'https://app.zigmoon.com/sp213-local.zip';
22
- const MIN_APP_VERSION = '1.7.375';
22
+ const MIN_APP_VERSION = '1.7.406';
23
23
  const APP_DIR = path.join(os.homedir(), '.superprint', 'app');
24
24
  const ZIP_PATH = path.join(os.homedir(), '.superprint', 'sp213-local.zip');
25
25
  const VERSION_FILE = path.join(APP_DIR, 'version.txt');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superprint",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "SuperPrint by 2.13 β€” professional desktop publishing (DTP) and prepress, in your browser. Free, no subscription, no account. CMYK/PDF up to 600 DPI with bleed & imposition, advanced typography, vector text export, offline PWA, the SP213 AI layout studio (local WebLLM or cloud) and the SuperTyPo font editor (decompose & reshape any typeface). Use online at https://superprint.cc or run locally with npx.",
5
5
  "keywords": [
6
6
  "superprint",