superprint 1.0.55 β†’ 1.0.57

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # SuperPrint
2
2
 
3
- Free browser-based **DTP (page layout)** software + **SP213 studio** for AI-generated layouts.
3
+ **SuperPrint** is a free, local-first DTP and prepress application developed and maintained by [2.13](https://2points13.fr). It combines a complete browser-based page-layout editor with **SP213**, an AI studio that turns a written brief into editable, print-ready documents.
4
4
 
5
- 100% **local**: AI models are downloaded once then run on your machine via **WebGPU** (WebLLM). No data ever leaves your computer.
5
+ 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.
6
6
 
7
- ## Install β€” a single command
7
+ ## Start with one command
8
8
 
9
9
  Prerequisite: [Node.js 18+](https://nodejs.org) (npm included).
10
10
 
@@ -12,21 +12,54 @@ Prerequisite: [Node.js 18+](https://nodejs.org) (npm included).
12
12
  npx superprint
13
13
  ```
14
14
 
15
- > πŸ’‘ **Windows (PowerShell)**: if you see a `PSSecurityException` error (script execution disabled), use `npx.cmd superprint` β€” the `.cmd` wrapper bypasses the PowerShell execution policy.
15
+ **Windows PowerShell:** if script execution is disabled, use `npx.cmd superprint`.
16
16
 
17
- On first launch, SuperPrint downloads the application (β‰ˆ50 MB, only once), installs the dependencies and opens your browser at **http://localhost:5173**.
17
+ 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.
18
18
 
19
- Identical on **Windows, macOS and Linux**.
19
+ ## What is included
20
20
 
21
- ## Usage
21
+ - **SuperPrint Editor:** multi-page layouts, precise millimetre dimensions, typography, shapes, images, layers, guides, grids, bleed and safe areas.
22
+ - **Print and prepress tools:** RGB/CMYK document workflows, print preview, preflight checks and PDF, PNG and SVG output.
23
+ - **SP213 AI Studio:** generate posters, brochures, catalogues, reports, menus and other editable layouts through conversation.
24
+ - **Native projects:** save, reopen and exchange editable `.sp` documents between SP213 and the full editor.
25
+ - **Document imports:** integrate common image, SVG, PDF, Word and spreadsheet content into layouts.
26
+ - **Local AI:** run open-source WebLLM models in the browser through WebGPU, including lightweight options for machines with limited graphics memory.
27
+ - **Optional cloud AI:** OpenAI, Groq, DeepSeek and OpenRouter can be configured when higher-capacity models are preferred.
28
+ - **Responsive interface:** use the Studio on desktop or mobile, with the full editor designed for precision desktop work.
22
29
 
23
- - **SP213 Studio**: create your layouts by chatting with the AI.
24
- - **SuperPrint Editor**: refine your layouts in the full DTP canvas (mm, bleed, safe zones…).
30
+ ## Privacy and local operation
25
31
 
26
- ## Online
32
+ The editor, project storage and local WLLM execution run on your machine. Local models are downloaded once and cached by the browser; prompts processed by WLLM stay local.
27
33
 
28
- No install needed: [superprint.cc](https://superprint.cc) (web version, also available on mobile).
34
+ 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 WLLM use.
35
+
36
+ ## Requirements
37
+
38
+ - Node.js 18 or newer, with npm/npx.
39
+ - A current Chromium-based browser is recommended.
40
+ - WebGPU-compatible graphics hardware and browser support are required only for local WLLM inference.
41
+ - Internet access is required for the first application download, updates, model downloads and optional cloud services.
42
+
43
+ You can pass Vite options to the launcher, for example:
44
+
45
+ ```bash
46
+ npx superprint --host 127.0.0.1 --port 5173
47
+ ```
48
+
49
+ 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.
50
+
51
+ ## Links
52
+
53
+ - [SuperPrint web application](https://superprint.cc)
54
+ - [Technical documentation](https://superprint.cc/documentation.html)
55
+ - [2.13 β€” developer and maintainer](https://2points13.fr)
56
+ - [2.13 applications](https://2points13.fr/applications.html)
57
+ - Support: [all@2points13.fr](mailto:all@2points13.fr)
58
+
59
+ ## About 2.13
60
+
61
+ [2.13](https://2points13.fr) is an independent senior web, design, security and AI collective founded in 2013. SuperPrint is part of its suite of browser-based creative applications, designed to be lightweight, private and directly usable without a traditional desktop installation.
29
62
 
30
63
  ## License
31
64
 
32
- MIT β€” Β© SuperPrint
65
+ MIT. SuperPrint is developed by 2.13.
package/cli.mjs CHANGED
@@ -147,8 +147,8 @@ function installedVersion() {
147
147
  async function main() {
148
148
  console.log('');
149
149
  console.log(C.cyan + C.bold + BANNER + C.reset);
150
- console.log(C.bgDark + C.white + ' SUPERPRINT Β· DTP + SP213 Studio Β· 100% local' + C.reset);
151
- console.log(C.dim + ' No data ever leaves your machine.' + C.reset);
150
+ console.log(C.bgDark + C.white + ' SUPERPRINT Β· DTP + SP213 Studio Β· by 2.13' + C.reset);
151
+ console.log(C.dim + ' Local-first. Cloud AI is used only when you select it.' + C.reset);
152
152
 
153
153
  // ---- Step 1/4: check online version ----
154
154
  step(1, 'Checking online version');
@@ -228,11 +228,13 @@ async function main() {
228
228
  // ---- Launch Vite ----
229
229
  console.log(SEP);
230
230
  console.log(C.green + C.bold + ' Starting SuperPrint…' + C.reset);
231
- console.log(C.dim + ' Open your browser at: http://localhost:5173' + C.reset);
231
+ console.log(C.dim + ' Open your browser at: http://127.0.0.1:5173' + C.reset);
232
232
  console.log(SEP);
233
233
 
234
234
  const viteBin = path.join(APP_DIR, 'node_modules', 'vite', 'bin', 'vite.js');
235
- const args = process.argv.slice(2);
235
+ const userArgs = process.argv.slice(2);
236
+ const hasExplicitHost = userArgs.some(arg => arg === '--host' || arg.startsWith('--host='));
237
+ const args = hasExplicitHost ? userArgs : ['--host', '127.0.0.1', ...userArgs];
236
238
  const child = spawn(process.execPath, [viteBin, ...args], {
237
239
  stdio: 'inherit', cwd: APP_DIR
238
240
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "superprint",
3
- "version": "1.0.55",
4
- "description": "SuperPrint β€” free browser-based DTP (page layout) software + SP213 AI layout studio. 100% local, no CDN, no data ever leaves your machine.",
3
+ "version": "1.0.57",
4
+ "description": "SuperPrint by 2.13 β€” free, local-first browser DTP and prepress editor with the SP213 AI layout studio.",
5
5
  "keywords": [
6
6
  "superprint",
7
7
  "sp213",
@@ -9,14 +9,26 @@
9
9
  "dtp",
10
10
  "layout",
11
11
  "design",
12
+ "design-tool",
12
13
  "print",
14
+ "prepress",
15
+ "cmyk",
16
+ "pdf",
17
+ "editor",
13
18
  "affiche",
14
19
  "catalogue",
15
20
  "webllm",
16
21
  "llm",
17
22
  "local",
18
- "webgpu"
23
+ "offline-first",
24
+ "webgpu",
25
+ "2points13"
19
26
  ],
27
+ "author": {
28
+ "name": "2.13",
29
+ "email": "all@2points13.fr",
30
+ "url": "https://2points13.fr"
31
+ },
20
32
  "license": "MIT",
21
33
  "type": "module",
22
34
  "bin": {
@@ -40,6 +52,10 @@
40
52
  },
41
53
  "homepage": "https://superprint.cc",
42
54
  "bugs": {
43
- "url": "https://github.com/superprint/superprint/issues"
55
+ "url": "https://github.com/superprint/superprint/issues",
56
+ "email": "all@2points13.fr"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public"
44
60
  }
45
61
  }
@@ -4,6 +4,6 @@ console.log('');
4
4
  console.log('\x1b[36m ═══════════════════════════════════════════════════════\x1b[0m');
5
5
  console.log('\x1b[36m β•‘ SUPERPRINT β€” installed. Run with: npx superprint \x1b[0m');
6
6
  console.log('\x1b[36m ═══════════════════════════════════════════════════════\x1b[0m');
7
- console.log('\x1b[2m Β· DTP + SP213 AI studio Β· 100% local\x1b[0m');
8
- console.log('\x1b[2m Β· No data ever leaves your machine.\x1b[0m');
7
+ console.log('\x1b[2m Β· DTP + SP213 AI studio Β· developed by 2.13\x1b[0m');
8
+ console.log('\x1b[2m Β· Local-first Β· cloud AI only when selected\x1b[0m');
9
9
  console.log('');