@spunto/brand-kit 0.14.0 → 0.16.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/README.md +3 -1
- package/package.json +1 -1
- package/src/home/code.tsx +94 -0
- package/src/home/editions/console.json +495 -0
- package/src/home/editions.ts +3 -1
- package/src/home/home.tsx +18 -8
- package/src/home/products/console.ts +75 -0
- package/src/home/products/index.ts +2 -1
- package/src/paints.ts +13 -1
- package/src/products.ts +30 -1
package/README.md
CHANGED
|
@@ -26,7 +26,9 @@ import { ProductHome } from "@spunto/brand-kit/home"
|
|
|
26
26
|
in Astro, `<ProductHome product="lite" locale="en" client:visible />` (hydrated, so the 3D plays).
|
|
27
27
|
- Buttons only your site can fill are **slots**: `slots={{ install: { label, href } }}` (CI's GitHub
|
|
28
28
|
app), `access` (Desktop's form). A slot you don't fill falls back to the edition's link, or is left out.
|
|
29
|
-
Boiler's « Get started » needs none: a plain `/docs` link, served by its own site.
|
|
29
|
+
Boiler's « Get started » needs none: a plain `/docs` link, served by its own site. The console of
|
|
30
|
+
cloud.spunto.net fills `signup` (« Request an invitation »: it is on invitation); left empty, the
|
|
31
|
+
edition's own fallback (`/signup`) is used — an edition's fallback comes before the kit's default words.
|
|
30
32
|
- Next: add `"@spunto/brand-kit"` to `transpilePackages` (the package ships TypeScript source, like
|
|
31
33
|
`@spunto/design-system`, which it builds on — peer `>= 0.67`).
|
|
32
34
|
- The page is drawn with inline styles and hex colours: it doesn't depend on your Tailwind build, only
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spunto/brand-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Spunto's brand kit — the centre of the brand: the product family and its paints (the colours the design system renders), the voice, the sourced figures, the home editions, the illustrations and the templates (social cards, video scenes, stories) everything we say about Spunto is made from.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { ReactNode } from "react"
|
|
2
|
+
import { hexAlpha, type Surface } from "../theme"
|
|
3
|
+
|
|
4
|
+
/* A command or a snippet of an edition, coloured. Every block of code in a home sits on a dark ground (the
|
|
5
|
+
ink, or black over the field), so the colours are the product's own seen at night: the signal for what the
|
|
6
|
+
language says (keywords, a shell's command, flags), its opposite on the colour wheel, kept light, for what
|
|
7
|
+
the code says (strings), white for names (calls, components, tags), the text dimmed for comments. No grammar per
|
|
8
|
+
language and no dependency: one small tokenizer reads well enough the TypeScript/TSX, shell, YAML and CSS
|
|
9
|
+
the editions show — they are short, and they are real. */
|
|
10
|
+
|
|
11
|
+
type Kind = "keyword" | "string" | "comment" | "name" | "number" | "flag" | "punct"
|
|
12
|
+
|
|
13
|
+
const KEYWORDS = new Set(
|
|
14
|
+
"import export from default const let var function return async await new if else for of in as type interface extends class this null undefined true false typeof void throw try catch".split(" "),
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
// Order matters: comments and strings first, so a `//` in a URL or a `#` in a string stays where it is.
|
|
18
|
+
const TOKEN =
|
|
19
|
+
/((?<=^|\s)(?:\/\/|#)[^\n]*)|('(?:[^'\\\n]|\\.)*'|"(?:[^"\\\n]|\\.)*"|`(?:[^`\\]|\\.)*`)|(<\/?[A-Za-z][\w.]*|\/?>)|((?<=^|\s)--?[A-Za-z][\w-]*)|(\b\d[\d_.]*\b)|(@?[A-Za-z_$][\w$-]*)/gm
|
|
20
|
+
|
|
21
|
+
/** The tokens of a snippet, each with its kind — what `Code` colours. Exported for the tests. */
|
|
22
|
+
export function tokenize(code: string, shell: boolean): { text: string; kind?: Kind }[] {
|
|
23
|
+
const out: { text: string; kind?: Kind }[] = []
|
|
24
|
+
let last = 0
|
|
25
|
+
// The first word of each shell line is the command (`npm`, `curl`, `sbx`).
|
|
26
|
+
let lineStart = true
|
|
27
|
+
for (const m of code.matchAll(TOKEN)) {
|
|
28
|
+
const i = m.index!
|
|
29
|
+
const before = code.slice(last, i)
|
|
30
|
+
if (before) out.push({ text: before })
|
|
31
|
+
// A new line starts a command, unless the last one went on (`\`); so does a pipe or a `&&`.
|
|
32
|
+
if ((before.includes("\n") && !/\\\s*\n/.test(before)) || /\||&&|;/.test(before)) lineStart = true
|
|
33
|
+
const [text, comment, string, tag, flag, number, word] = m
|
|
34
|
+
let kind: Kind | undefined
|
|
35
|
+
if (comment) kind = "comment"
|
|
36
|
+
else if (string) kind = "string"
|
|
37
|
+
else if (tag) kind = "punct"
|
|
38
|
+
else if (flag) kind = "flag"
|
|
39
|
+
else if (number) kind = "number"
|
|
40
|
+
else if (word) {
|
|
41
|
+
const next = code.slice(i + text.length).match(/^\s*(\(|:(?=\s|$))/)
|
|
42
|
+
if (shell && lineStart) kind = "keyword"
|
|
43
|
+
else if (KEYWORDS.has(word)) kind = "keyword"
|
|
44
|
+
else if (/^[A-Z]/.test(word) || next?.[1] === "(") kind = "name"
|
|
45
|
+
// A key: `runs-on:` in YAML, `{ title: … }` in an object.
|
|
46
|
+
else if (next?.[1] === ":") kind = "name"
|
|
47
|
+
}
|
|
48
|
+
// A tag's name is a name, its brackets are punctuation.
|
|
49
|
+
if (tag && /[A-Za-z]/.test(tag)) {
|
|
50
|
+
const name = tag.match(/[A-Za-z][\w.]*/)![0]
|
|
51
|
+
out.push({ text: tag.slice(0, tag.length - name.length), kind: "punct" }, { text: name, kind: "name" })
|
|
52
|
+
} else out.push({ text, kind })
|
|
53
|
+
if (!comment && text.trim()) lineStart = false
|
|
54
|
+
last = i + text.length
|
|
55
|
+
}
|
|
56
|
+
if (last < code.length) out.push({ text: code.slice(last) })
|
|
57
|
+
return out
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** The signal's opposite on the colour wheel, kept light: a second colour every product has, in its own key. */
|
|
61
|
+
function opposite(hex: string) {
|
|
62
|
+
const n = parseInt(hex.slice(1), 16)
|
|
63
|
+
const [r, g, b] = [(n >> 16) & 255, (n >> 8) & 255, n & 255].map((v) => v / 255)
|
|
64
|
+
const max = Math.max(r, g, b)
|
|
65
|
+
const min = Math.min(r, g, b)
|
|
66
|
+
const d = max - min
|
|
67
|
+
const h = d === 0 ? 0 : max === r ? ((g - b) / d + 6) % 6 : max === g ? (b - r) / d + 2 : (r - g) / d + 4
|
|
68
|
+
return `hsl(${Math.round(h * 60 + 180) % 360} 70% 76%)`
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** A step's command has no prompt flag: a line without code's punctuation is a shell's (`sbx pause hello`). */
|
|
72
|
+
export const looksLikeShell = (code: string) => !/[(){};=]/.test(code)
|
|
73
|
+
|
|
74
|
+
/** `code` coloured on a dark ground, in the surface's product colours. `shell` reads its first words as commands. */
|
|
75
|
+
export function Code({ code, s, shell = false }: { code: string; s: Surface; shell?: boolean }): ReactNode {
|
|
76
|
+
const colour: Record<Kind, string> = {
|
|
77
|
+
keyword: s.signal,
|
|
78
|
+
flag: s.signal,
|
|
79
|
+
number: s.signal,
|
|
80
|
+
string: opposite(s.signal),
|
|
81
|
+
name: "#ffffff",
|
|
82
|
+
comment: hexAlpha("#e9efeb", 0.45),
|
|
83
|
+
punct: hexAlpha("#e9efeb", 0.6),
|
|
84
|
+
}
|
|
85
|
+
return tokenize(code, shell).map((t, i) =>
|
|
86
|
+
t.kind ? (
|
|
87
|
+
<span key={i} style={{ color: colour[t.kind], fontStyle: t.kind === "comment" ? "italic" : undefined }}>
|
|
88
|
+
{t.text}
|
|
89
|
+
</span>
|
|
90
|
+
) : (
|
|
91
|
+
t.text
|
|
92
|
+
),
|
|
93
|
+
)
|
|
94
|
+
}
|
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "console-2026-12-gres",
|
|
4
|
+
"name": "Grès",
|
|
5
|
+
"note": "The first home of the console of cloud.spunto.net (spuntodotnet/cloud), product « console » — a working name, the console calls itself Spunto Cloud, which is spunto.net's. Dense and concrete: the claim and the fleet in the hero; image → service → push, with the real registry, CLI and git lines; the deploy figures of its README; the six things that run (services, private services, jobs, sandboxes, service accounts, observability); the databases through the SSH bastion (the command of its Connection tab); S3, registry and git as three ways with their commands; the agents (CLI = API = MCP, spuntodotnet/cloud#46) and their figures; an honest FAQ (on invitation, Strasbourg, no billing yet, French UI, what isn't there). Example org « acme », member « ada ». The sign-up is a slot the site fills (« Request an invitation », falling back to /signup); /docs is the site's. Left out: prices, more than one region, any figure about Render, Railway or Coolify.",
|
|
6
|
+
"product": "console",
|
|
7
|
+
"date": "2026-12-04",
|
|
8
|
+
"sections": [
|
|
9
|
+
{
|
|
10
|
+
"id": "hero",
|
|
11
|
+
"kind": "hero",
|
|
12
|
+
"layout": "split",
|
|
13
|
+
"theme": "night",
|
|
14
|
+
"kicker": {
|
|
15
|
+
"en": "On invitation · our machines in Strasbourg",
|
|
16
|
+
"fr": "Sur invitation · nos machines à Strasbourg"
|
|
17
|
+
},
|
|
18
|
+
"title": {
|
|
19
|
+
"en": "A whole cloud, *on our own machines*.",
|
|
20
|
+
"fr": "Tout un cloud, *sur nos propres machines*."
|
|
21
|
+
},
|
|
22
|
+
"lede": {
|
|
23
|
+
"en": "Services from a Docker image, jobs on a cron, managed databases, S3 buckets, a registry and private git repositories — with the requests, traces and logs of each. Every machine is a Firecracker microVM on our fleet in Strasbourg, and a deploy only switches once the new version answers.",
|
|
24
|
+
"fr": "Des services depuis une image Docker, des jobs sur un cron, des bases gérées, des buckets S3, un registre et des dépôts git privés — avec les requêtes, traces et logs de chacun. Chaque machine est une microVM Firecracker de notre parc à Strasbourg, et un déploiement ne bascule qu’une fois la nouvelle version en état de répondre."
|
|
25
|
+
},
|
|
26
|
+
"actions": [
|
|
27
|
+
{
|
|
28
|
+
"slot": "signup",
|
|
29
|
+
"label": {
|
|
30
|
+
"en": "Request an invitation",
|
|
31
|
+
"fr": "Demander une invitation"
|
|
32
|
+
},
|
|
33
|
+
"href": "/signup"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"label": {
|
|
37
|
+
"en": "Read the docs",
|
|
38
|
+
"fr": "Lire la doc"
|
|
39
|
+
},
|
|
40
|
+
"href": "/docs",
|
|
41
|
+
"variant": "ghost"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"scene": {
|
|
45
|
+
"module": "fleet"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "deploy",
|
|
50
|
+
"kind": "steps",
|
|
51
|
+
"theme": "paper",
|
|
52
|
+
"title": {
|
|
53
|
+
"en": "From an image *to an address*.",
|
|
54
|
+
"fr": "D’une image *à une adresse*."
|
|
55
|
+
},
|
|
56
|
+
"lede": {
|
|
57
|
+
"en": "Your org has its own registry and its own git. Push to either, and the services that follow the tag redeploy — in the name of whoever pushed.",
|
|
58
|
+
"fr": "Votre org a son registre et son git. Poussez dans l’un ou l’autre, et les services qui suivent l’étiquette se redéploient — au nom de qui a poussé."
|
|
59
|
+
},
|
|
60
|
+
"items": [
|
|
61
|
+
{
|
|
62
|
+
"title": {
|
|
63
|
+
"en": "Push an image",
|
|
64
|
+
"fr": "Poussez une image"
|
|
65
|
+
},
|
|
66
|
+
"text": {
|
|
67
|
+
"en": "With an access token from the console. npm, PyPI and Maven packages go to the same registry.",
|
|
68
|
+
"fr": "Avec un jeton d’accès de la console. Les paquets npm, PyPI et Maven vont dans le même registre."
|
|
69
|
+
},
|
|
70
|
+
"command": "docker push registry.cloud.spunto.net/acme/web:prod"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"title": {
|
|
74
|
+
"en": "Make it a service",
|
|
75
|
+
"fr": "Faites-en un service"
|
|
76
|
+
},
|
|
77
|
+
"text": {
|
|
78
|
+
"en": "It answers at https://web-site-acme.cloud.spunto.net, WebSockets included, with your own domains once a CNAME or a TXT proves them. Or it runs as a daemon, without a port.",
|
|
79
|
+
"fr": "Il répond à https://web-site-acme.cloud.spunto.net, WebSockets compris, et à vos domaines dès qu’un CNAME ou un TXT les prouve. Ou il tourne en démon, sans port."
|
|
80
|
+
},
|
|
81
|
+
"command": "spunto-cloud services create web --image registry.cloud.spunto.net/acme/web:prod --port 3000 --project site"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"title": {
|
|
85
|
+
"en": "Or push the code",
|
|
86
|
+
"fr": "Ou poussez le code"
|
|
87
|
+
},
|
|
88
|
+
"text": {
|
|
89
|
+
"en": "A private repository builds on push: BuildKit in a fresh machine, the image tagged <branch> and <branch>-<sha>, then the redeploy. A new box, checked over HTTP, traffic switched, the old one gone 15 s later.",
|
|
90
|
+
"fr": "Un dépôt privé se construit au push : BuildKit dans une machine neuve, l’image étiquetée <branche> et <branche>-<sha>, puis le redéploiement. Une nouvelle box, vérifiée en HTTP, le trafic basculé, l’ancienne partie 15 s plus tard."
|
|
91
|
+
},
|
|
92
|
+
"command": "git push spunto main"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "measured",
|
|
98
|
+
"kind": "facts",
|
|
99
|
+
"theme": "night",
|
|
100
|
+
"title": {
|
|
101
|
+
"en": "A deploy, *measured*.",
|
|
102
|
+
"fr": "Un déploiement, *mesuré*."
|
|
103
|
+
},
|
|
104
|
+
"facts": [
|
|
105
|
+
"console-switch",
|
|
106
|
+
"console-drain",
|
|
107
|
+
"console-engines",
|
|
108
|
+
"console-metrics"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "compute",
|
|
113
|
+
"kind": "pillars",
|
|
114
|
+
"theme": "paper",
|
|
115
|
+
"title": {
|
|
116
|
+
"en": "What runs, *and who may reach it*.",
|
|
117
|
+
"fr": "Ce qui tourne, *et qui peut l’atteindre*."
|
|
118
|
+
},
|
|
119
|
+
"lede": {
|
|
120
|
+
"en": "Everything you create lives in a project of your organization: owners, administrators, members, and a log of everything done in it — exec commands included.",
|
|
121
|
+
"fr": "Tout ce que vous créez vit dans un projet de votre organisation : propriétaires, administrateurs, membres, et un journal de tout ce qui s’y fait — commandes exec comprises."
|
|
122
|
+
},
|
|
123
|
+
"items": [
|
|
124
|
+
{
|
|
125
|
+
"illustration": "belt",
|
|
126
|
+
"title": {
|
|
127
|
+
"en": "Services",
|
|
128
|
+
"fr": "Services"
|
|
129
|
+
},
|
|
130
|
+
"text": {
|
|
131
|
+
"en": "A Docker image run for good, under a supervisor that restarts it: HTTP at its address, or a daemon without a port. Its command, or the image’s. Change the image, the port, the machine or a variable, and it redeploys.",
|
|
132
|
+
"fr": "Une image Docker qu’on fait tourner pour de bon, sous un superviseur qui la relance : du HTTP à son adresse, ou un démon sans port. Sa commande, ou celle de l’image. Changez l’image, le port, la machine ou une variable, il se redéploie."
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"illustration": "dot-field",
|
|
137
|
+
"title": {
|
|
138
|
+
"en": "Your domains",
|
|
139
|
+
"fr": "Vos domaines"
|
|
140
|
+
},
|
|
141
|
+
"text": {
|
|
142
|
+
"en": "A domain is served once it is proven to your org — a CNAME to the service, or a TXT record, behind Cloudflare’s proxy too — checked every 30 s, with a Let’s Encrypt certificate.",
|
|
143
|
+
"fr": "Un domaine est servi une fois prouvé à votre org — un CNAME vers le service, ou un enregistrement TXT, derrière le proxy de Cloudflare aussi — vérifié toutes les 30 s, avec un certificat Let’s Encrypt."
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"illustration": "blocks",
|
|
148
|
+
"title": {
|
|
149
|
+
"en": "Volumes and backups",
|
|
150
|
+
"fr": "Volumes et sauvegardes"
|
|
151
|
+
},
|
|
152
|
+
"text": {
|
|
153
|
+
"en": "A disk that follows the service from deploy to deploy, its snapshots and their restore, a copy every night to a bucket of yours, imports and exports as an archive. With a volume, a deploy costs a few seconds: two versions never write to the same disk.",
|
|
154
|
+
"fr": "Un disque qui suit le service d’un déploiement à l’autre, ses sauvegardes et leur restauration, une copie chaque nuit dans un de vos buckets, imports et exports en archive. Avec un volume, un déploiement coupe quelques secondes : deux versions n’écrivent jamais sur le même disque."
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"illustration": "sandbox",
|
|
159
|
+
"title": {
|
|
160
|
+
"en": "Private services",
|
|
161
|
+
"fr": "Services privés"
|
|
162
|
+
},
|
|
163
|
+
"text": {
|
|
164
|
+
"en": "Public, or behind a door: your org’s members, access groups, addresses — someone outside signs in with Google, no account needed — and keys for an API. Your app receives X-Auth-Request-Email.",
|
|
165
|
+
"fr": "Public, ou derrière une porte : les membres de l’org, des groupes d’accès, des adresses — quelqu’un du dehors se connecte avec Google, sans compte — et des clés pour une API. Votre app reçoit X-Auth-Request-Email."
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"illustration": "terminal",
|
|
170
|
+
"title": {
|
|
171
|
+
"en": "Jobs",
|
|
172
|
+
"fr": "Jobs"
|
|
173
|
+
},
|
|
174
|
+
"text": {
|
|
175
|
+
"en": "A command run to the end, in a fresh machine destroyed when it returns: by hand, on a five-field cron in your time zone, or by a webhook with its own token, whose body arrives in CLOUD_JOB_PAYLOAD. Retries, a time limit, the last 100 runs kept.",
|
|
176
|
+
"fr": "Une commande lancée jusqu’au bout, dans une machine neuve détruite dès qu’elle rend la main : à la main, sur un cron à cinq champs dans votre fuseau, ou par un webhook à son jeton, dont le corps arrive dans CLOUD_JOB_PAYLOAD. Nouvelles tentatives, temps maximal, les 100 dernières exécutions gardées."
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"illustration": "sandbox-paused",
|
|
181
|
+
"title": {
|
|
182
|
+
"en": "Sandboxes and snapshots",
|
|
183
|
+
"fr": "Sandboxes et snapshots"
|
|
184
|
+
},
|
|
185
|
+
"text": {
|
|
186
|
+
"en": "Any OCI image, from small to xlarge. Pause one and it keeps its memory; fork it; snapshot memory and disks, and every sandbox started from it picks up each process where it was.",
|
|
187
|
+
"fr": "N’importe quelle image OCI, de small à xlarge. Mettez-en une en pause, elle garde sa mémoire ; forkez-la ; prenez un snapshot de la mémoire et des disques, et chaque sandbox qui en part reprend chaque process où il en était."
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"illustration": "constellation",
|
|
192
|
+
"title": {
|
|
193
|
+
"en": "Service accounts, private network",
|
|
194
|
+
"fr": "Comptes de service, réseau privé"
|
|
195
|
+
},
|
|
196
|
+
"text": {
|
|
197
|
+
"en": "Each service has its own account, with no rights until you grant one: a database, another service. It reaches them at a local address of its box, and finds DATABASE_URL in its environment. Accounts for a script or a CI too, with sck_ keys.",
|
|
198
|
+
"fr": "Chaque service a son compte, sans aucun droit tant que vous n’en donnez pas : une base, un autre service. Il les joint à une adresse locale de sa box, et trouve DATABASE_URL dans son environnement. Des comptes pour un script ou une CI aussi, avec des clés sck_."
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"illustration": "fleet",
|
|
203
|
+
"title": {
|
|
204
|
+
"en": "Requests, traces, logs",
|
|
205
|
+
"fr": "Requêtes, traces, logs"
|
|
206
|
+
},
|
|
207
|
+
"text": {
|
|
208
|
+
"en": "Spunto Traces, built in: every public request of a service traced at the edge, the output of every app as logs, and the OTEL_ variables already set for your SDK. CPU, memory, network and disk of every machine, on charts.",
|
|
209
|
+
"fr": "Spunto Traces, intégré : chaque requête publique d’un service tracée à l’entrée, la sortie de chaque app en logs, et les variables OTEL_ déjà posées pour votre SDK. CPU, mémoire, réseau et disque de chaque machine, en graphiques."
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "databases",
|
|
216
|
+
"kind": "command",
|
|
217
|
+
"theme": "night",
|
|
218
|
+
"title": {
|
|
219
|
+
"en": "Your database, *in your own client*.",
|
|
220
|
+
"fr": "Votre base, *dans votre propre client*."
|
|
221
|
+
},
|
|
222
|
+
"lede": {
|
|
223
|
+
"en": "PostgreSQL, MySQL, Redis, MongoDB or Elasticsearch, each in its microVM, with nothing listening on the internet: the box dials out to our relay. Reach it through the SSH bastion — DbGate, TablePlus, DBeaver and their « SSH tunnel » tab — with an access token as the password. Or edit it in the console: tables and cells, Redis keys, MongoDB documents — and in SQL, every change shows its statement before it leaves.",
|
|
224
|
+
"fr": "PostgreSQL, MySQL, Redis, MongoDB ou Elasticsearch, chacun dans sa microVM, sans rien qui écoute sur internet : la box appelle elle-même notre relais. Joignez-la par le bastion SSH — DbGate, TablePlus, DBeaver et leur onglet « Tunnel SSH » — avec un jeton d’accès pour mot de passe. Ou éditez-la dans la console : tables et cellules, clés Redis, documents MongoDB — et en SQL, chaque geste montre sa requête avant de partir."
|
|
225
|
+
},
|
|
226
|
+
"command": "ssh -N -L 5432:main-acme.db.cloud.spunto.net:5432 -p 2222 ada@acme.fr@ssh.cloud.spunto.net",
|
|
227
|
+
"caption": {
|
|
228
|
+
"en": "then psql on localhost:5432 · or, for PostgreSQL once you open it, wss://main-acme.db.cloud.spunto.net/v2 with Neon’s driver",
|
|
229
|
+
"fr": "puis psql sur localhost:5432 · ou, pour PostgreSQL une fois ouverte, wss://main-acme.db.cloud.spunto.net/v2 avec le pilote de Neon"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "artefacts",
|
|
234
|
+
"kind": "ways",
|
|
235
|
+
"theme": "paper",
|
|
236
|
+
"title": {
|
|
237
|
+
"en": "Files, images and code, *kept here too*.",
|
|
238
|
+
"fr": "Fichiers, images et code, *gardés ici aussi*."
|
|
239
|
+
},
|
|
240
|
+
"lede": {
|
|
241
|
+
"en": "The usual clients, pointed at your org. Behind them, storage in Strasbourg your clients never see.",
|
|
242
|
+
"fr": "Les clients habituels, tournés vers votre org. Derrière, un stockage à Strasbourg que vos clients ne voient jamais."
|
|
243
|
+
},
|
|
244
|
+
"items": [
|
|
245
|
+
{
|
|
246
|
+
"kicker": {
|
|
247
|
+
"en": "S3 storage",
|
|
248
|
+
"fr": "Stockage S3"
|
|
249
|
+
},
|
|
250
|
+
"title": {
|
|
251
|
+
"en": "Buckets, *S3-compatible*.",
|
|
252
|
+
"fr": "Des buckets, *compatibles S3*."
|
|
253
|
+
},
|
|
254
|
+
"text": {
|
|
255
|
+
"en": "aws-cli, rclone and the AWS SDKs, with an access key of your org — read-only or not, every bucket or some. Objects at OVHcloud in Strasbourg, behind our gateway; an explorer in the console.",
|
|
256
|
+
"fr": "aws-cli, rclone et les SDK d’AWS, avec une clé d’accès de votre org — en lecture seule ou non, tous les buckets ou certains. Les objets chez OVHcloud à Strasbourg, derrière notre passerelle ; un explorateur dans la console."
|
|
257
|
+
},
|
|
258
|
+
"code": "aws s3 sync ./site s3://assets/site \\\n --endpoint-url https://s3.cloud.spunto.net"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kicker": {
|
|
262
|
+
"en": "Registry",
|
|
263
|
+
"fr": "Registre"
|
|
264
|
+
},
|
|
265
|
+
"title": {
|
|
266
|
+
"en": "Images *and packages*.",
|
|
267
|
+
"fr": "Des images *et des paquets*."
|
|
268
|
+
},
|
|
269
|
+
"text": {
|
|
270
|
+
"en": "OCI images, npm under @<org>, PyPI, Maven, plain files — with a token of the console. Pick an image of the registry for a service in one click.",
|
|
271
|
+
"fr": "Des images OCI, npm sous @<org>, PyPI, Maven, des fichiers — avec un jeton de la console. Choisissez une image du registre pour un service, d’un clic."
|
|
272
|
+
},
|
|
273
|
+
"code": "docker login registry.cloud.spunto.net\nnpm publish # @acme/ui"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"kicker": {
|
|
277
|
+
"en": "Git",
|
|
278
|
+
"fr": "Git"
|
|
279
|
+
},
|
|
280
|
+
"title": {
|
|
281
|
+
"en": "Private repositories, *that build*.",
|
|
282
|
+
"fr": "Des dépôts privés, *qui se construisent*."
|
|
283
|
+
},
|
|
284
|
+
"text": {
|
|
285
|
+
"en": "Git and LFS over HTTPS with the same token. The console shows a branch’s files, its README, commits and branches; the Build tab turns each push into an image.",
|
|
286
|
+
"fr": "Git et LFS en HTTPS avec le même jeton. La console montre les fichiers d’une branche, son README, les commits, les branches ; l’onglet Build fait de chaque push une image."
|
|
287
|
+
},
|
|
288
|
+
"code": "git remote add spunto https://git.cloud.spunto.net/acme/site.git\ngit push spunto main"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"id": "agents",
|
|
294
|
+
"kind": "ways",
|
|
295
|
+
"theme": "night",
|
|
296
|
+
"title": {
|
|
297
|
+
"en": "Your agent, *with the rights you give it*.",
|
|
298
|
+
"fr": "Votre agent, *avec les droits que vous lui donnez*."
|
|
299
|
+
},
|
|
300
|
+
"lede": {
|
|
301
|
+
"en": "The CLI, the API and the MCP are one thing: each command is a call to the console’s API, with your token. Claude Code signs in with OAuth, and you choose, org by org, what it may do — read, act as a member, or administer.",
|
|
302
|
+
"fr": "La CLI, l’API et le MCP sont une seule chose : chaque commande est un appel à l’API de la console, avec votre jeton. Claude Code se connecte en OAuth, et vous choisissez, org par org, ce qu’il peut faire — lire, agir en membre, ou administrer."
|
|
303
|
+
},
|
|
304
|
+
"items": [
|
|
305
|
+
{
|
|
306
|
+
"kicker": {
|
|
307
|
+
"en": "MCP",
|
|
308
|
+
"fr": "MCP"
|
|
309
|
+
},
|
|
310
|
+
"title": {
|
|
311
|
+
"en": "From *Claude Code*.",
|
|
312
|
+
"fr": "Depuis *Claude Code*."
|
|
313
|
+
},
|
|
314
|
+
"text": {
|
|
315
|
+
"en": "Two tools, help and exec: the agent runs the same command lines you would. The org’s log reads « Ada via Claude Code ».",
|
|
316
|
+
"fr": "Deux outils, help et exec : l’agent lance les mêmes lignes de commande que vous. Le journal de l’org écrit « Ada via Claude Code »."
|
|
317
|
+
},
|
|
318
|
+
"code": "claude mcp add --transport http spunto-cloud https://cloud.spunto.net/mcp",
|
|
319
|
+
"marks": [
|
|
320
|
+
"claude"
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"kicker": {
|
|
325
|
+
"en": "CLI",
|
|
326
|
+
"fr": "CLI"
|
|
327
|
+
},
|
|
328
|
+
"title": {
|
|
329
|
+
"en": "From *your terminal*.",
|
|
330
|
+
"fr": "Depuis *votre terminal*."
|
|
331
|
+
},
|
|
332
|
+
"text": {
|
|
333
|
+
"en": "One file, served by the console. Sign in in the browser, or with a code on a machine without one; tokens renew on their own.",
|
|
334
|
+
"fr": "Un seul fichier, servi par la console. Connexion dans le navigateur, ou par un code sur une machine qui n’en a pas ; les jetons se renouvellent seuls."
|
|
335
|
+
},
|
|
336
|
+
"code": "curl -fsSL https://cloud.spunto.net/cli/install.sh | sh\nspunto-cloud login\nspunto-cloud services list"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kicker": {
|
|
340
|
+
"en": "Anything else",
|
|
341
|
+
"fr": "Tout le reste"
|
|
342
|
+
},
|
|
343
|
+
"title": {
|
|
344
|
+
"en": "The whole API, *one line*.",
|
|
345
|
+
"fr": "Toute l’API, *en une ligne*."
|
|
346
|
+
},
|
|
347
|
+
"text": {
|
|
348
|
+
"en": "Nothing the API allows is out of reach, nothing more is possible: a read-only token gets a 403 on a write, and an agent never goes above your own role.",
|
|
349
|
+
"fr": "Rien de ce que l’API permet n’est hors de portée, rien de plus n’est possible : un jeton en lecture seule reçoit un 403 sur une écriture, et un agent ne dépasse jamais votre rôle."
|
|
350
|
+
},
|
|
351
|
+
"code": "spunto-cloud databases query main \"select now()\"\nspunto-cloud api GET /orgs/:org/overview"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"id": "agent-figures",
|
|
357
|
+
"kind": "facts",
|
|
358
|
+
"theme": "paper",
|
|
359
|
+
"facts": [
|
|
360
|
+
"console-commands",
|
|
361
|
+
"console-levels"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"id": "faq",
|
|
366
|
+
"kind": "faq",
|
|
367
|
+
"theme": "paper",
|
|
368
|
+
"title": {
|
|
369
|
+
"en": "Questions",
|
|
370
|
+
"fr": "Questions"
|
|
371
|
+
},
|
|
372
|
+
"items": [
|
|
373
|
+
{
|
|
374
|
+
"q": {
|
|
375
|
+
"en": "Why on invitation?",
|
|
376
|
+
"fr": "Pourquoi sur invitation ?"
|
|
377
|
+
},
|
|
378
|
+
"a": {
|
|
379
|
+
"en": "The console runs in production at cloud.spunto.net, and accounts open on invitation only — Google sign-in included. Ask for one; an invitation is waiting for your address when you sign in.",
|
|
380
|
+
"fr": "La console tourne en production sur cloud.spunto.net, et les comptes ne s’ouvrent que sur invitation — connexion Google comprise. Demandez-en une ; elle vous attend à votre adresse quand vous vous connectez."
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"q": {
|
|
385
|
+
"en": "Where does my data live?",
|
|
386
|
+
"fr": "Où vivent mes données ?"
|
|
387
|
+
},
|
|
388
|
+
"a": {
|
|
389
|
+
"en": "In Strasbourg. Services, jobs, databases and sandboxes run on the machines of our fleet there, the same one Spunto’s tasks run on; buckets, images and repositories are stored at OVHcloud in Strasbourg, behind our gateway.",
|
|
390
|
+
"fr": "À Strasbourg. Services, jobs, bases et sandboxes tournent sur les machines de notre parc là-bas, le même que celui des tâches Spunto ; buckets, images et dépôts sont stockés chez OVHcloud à Strasbourg, derrière notre passerelle."
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"q": {
|
|
395
|
+
"en": "Is it like Render, Railway or Coolify?",
|
|
396
|
+
"fr": "C’est comme Render, Railway ou Coolify ?"
|
|
397
|
+
},
|
|
398
|
+
"a": {
|
|
399
|
+
"en": "Same ground: an image or a repository in, a service at an address out, its database and its bucket next to it. The difference is where it runs — on machines we operate ourselves, each service in its own Firecracker microVM.",
|
|
400
|
+
"fr": "Même terrain : une image ou un dépôt en entrée, un service à une adresse en sortie, sa base et son bucket à côté. La différence, c’est où ça tourne — sur des machines que nous opérons nous-mêmes, chaque service dans sa propre microVM Firecracker."
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"q": {
|
|
405
|
+
"en": "What does it cost?",
|
|
406
|
+
"fr": "Combien ça coûte ?"
|
|
407
|
+
},
|
|
408
|
+
"a": {
|
|
409
|
+
"en": "There is no billing yet: an organization has quotas — vCPUs and memory while running (a paused sandbox doesn’t count), a number of sandboxes, room for packages and repositories. Billing by the second of vCPU comes later.",
|
|
410
|
+
"fr": "Il n’y a pas encore de facturation : une organisation a des quotas — vCPU et mémoire en marche (une sandbox en pause ne compte pas), un nombre de sandboxes, de la place pour les paquets et les dépôts. La facturation à la seconde de vCPU viendra ensuite."
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"q": {
|
|
415
|
+
"en": "Is the console in English?",
|
|
416
|
+
"fr": "La console est-elle en anglais ?"
|
|
417
|
+
},
|
|
418
|
+
"a": {
|
|
419
|
+
"en": "No, in French — the CLI’s help too. The commands themselves are English words (services deploy web), like any CLI.",
|
|
420
|
+
"fr": "Non, en français — l’aide de la CLI aussi. Les commandes, elles, sont en anglais (services deploy web), comme toute CLI."
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"q": {
|
|
425
|
+
"en": "What isn’t there yet?",
|
|
426
|
+
"fr": "Qu’est-ce qui manque encore ?"
|
|
427
|
+
},
|
|
428
|
+
"a": {
|
|
429
|
+
"en": "One region and one machine for now — several machines and a scheduler come next; volumes of their own, outside a service; a database reachable over public TCP. GitHub, Cloudflare and AWS integrations are listed, not built: Google Cloud is the one that works today.",
|
|
430
|
+
"fr": "Une région et une machine pour l’instant — plusieurs machines et un ordonnanceur viennent ensuite ; des volumes autonomes, hors d’un service ; une base joignable en TCP public. Les intégrations GitHub, Cloudflare et AWS sont annoncées, pas faites : Google Cloud est celle qui marche aujourd’hui."
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"id": "family",
|
|
437
|
+
"kind": "family",
|
|
438
|
+
"theme": "night",
|
|
439
|
+
"title": {
|
|
440
|
+
"en": "Same universe, *different tools*.",
|
|
441
|
+
"fr": "Même univers, *outils différents*."
|
|
442
|
+
},
|
|
443
|
+
"lede": {
|
|
444
|
+
"en": "The console’s machines run on Spunto Sandbox’s engine, and its observability is Spunto Traces. The rest of the family, each in its own colours.",
|
|
445
|
+
"fr": "Les machines de la console tournent sur le moteur de Spunto Sandbox, et son observabilité, c’est Spunto Traces. Le reste de la famille, chacun dans ses couleurs."
|
|
446
|
+
},
|
|
447
|
+
"products": [
|
|
448
|
+
"sandbox",
|
|
449
|
+
"traces",
|
|
450
|
+
"cloud",
|
|
451
|
+
"boiler",
|
|
452
|
+
"agents",
|
|
453
|
+
"lite",
|
|
454
|
+
"cms",
|
|
455
|
+
"desktop",
|
|
456
|
+
"ci",
|
|
457
|
+
"search",
|
|
458
|
+
"ds",
|
|
459
|
+
"foyer"
|
|
460
|
+
]
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"id": "start",
|
|
464
|
+
"kind": "cta",
|
|
465
|
+
"theme": "signal",
|
|
466
|
+
"title": {
|
|
467
|
+
"en": "Your services, *in Strasbourg*.",
|
|
468
|
+
"fr": "Vos services, *à Strasbourg*."
|
|
469
|
+
},
|
|
470
|
+
"lede": {
|
|
471
|
+
"en": "An invitation, an organization, then docker push.",
|
|
472
|
+
"fr": "Une invitation, une organisation, puis docker push."
|
|
473
|
+
},
|
|
474
|
+
"actions": [
|
|
475
|
+
{
|
|
476
|
+
"slot": "signup",
|
|
477
|
+
"label": {
|
|
478
|
+
"en": "Request an invitation",
|
|
479
|
+
"fr": "Demander une invitation"
|
|
480
|
+
},
|
|
481
|
+
"href": "/signup"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"label": {
|
|
485
|
+
"en": "Read the docs",
|
|
486
|
+
"fr": "Lire la doc"
|
|
487
|
+
},
|
|
488
|
+
"href": "/docs",
|
|
489
|
+
"variant": "ghost"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
}
|
|
495
|
+
]
|
package/src/home/editions.ts
CHANGED
|
@@ -18,6 +18,7 @@ import sandbox from "./editions/sandbox.json"
|
|
|
18
18
|
import agents from "./editions/agents.json"
|
|
19
19
|
import traces from "./editions/traces.json"
|
|
20
20
|
import boiler from "./editions/boiler.json"
|
|
21
|
+
import console from "./editions/console.json"
|
|
21
22
|
import search from "./editions/search.json"
|
|
22
23
|
import ds from "./editions/ds.json"
|
|
23
24
|
import foyer from "./editions/foyer.json"
|
|
@@ -26,7 +27,7 @@ import foyer from "./editions/foyer.json"
|
|
|
26
27
|
export type HomeEditionFile = Omit<HomeEdition, "sections"> & { sections?: HomeSection[] }
|
|
27
28
|
|
|
28
29
|
/** Each product's file, as imported — what the studio's server rewrites (`editions/<product>.json`). */
|
|
29
|
-
export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, agents, traces, boiler, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
|
|
30
|
+
export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, agents, traces, boiler, console, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
|
|
30
31
|
|
|
31
32
|
const STORED = Object.values(EDITION_FILES).flat()
|
|
32
33
|
|
|
@@ -49,6 +50,7 @@ export const PUBLISHED: Record<BrandProductId, string | null> = {
|
|
|
49
50
|
agents: "agents-2026-11-fil",
|
|
50
51
|
traces: "traces-2026-12-cascade",
|
|
51
52
|
boiler: "boiler-2026-12-chaudiere",
|
|
53
|
+
console: "console-2026-12-gres",
|
|
52
54
|
search: null,
|
|
53
55
|
ds: null,
|
|
54
56
|
foyer: "foyer-2026-11-tablee",
|
package/src/home/home.tsx
CHANGED
|
@@ -6,6 +6,7 @@ import { Illustration } from "../illustrations"
|
|
|
6
6
|
import { Module3DView } from "../three/view"
|
|
7
7
|
import type { Module3DRef } from "../three/catalog"
|
|
8
8
|
import { ShowcaseScreen } from "./showcase/view"
|
|
9
|
+
import { Code, looksLikeShell } from "./code"
|
|
9
10
|
import { BRAND_NEUTRALS, BRAND_PRODUCTS, brandProduct, plain, productHref, type BrandLocale } from "../products"
|
|
10
11
|
import { FONT, hexAlpha, surface, type Surface } from "../theme"
|
|
11
12
|
import { MARKS, MARK_COLORS } from "../marks"
|
|
@@ -75,6 +76,7 @@ export function HomeEditionView({ edition, locale = "en", href = (h) => h, slots
|
|
|
75
76
|
s: (theme) => surface(edition.product, theme, pal),
|
|
76
77
|
href,
|
|
77
78
|
slots: { signup: DEFAULT_SIGNUP[locale], ...slots },
|
|
79
|
+
given: slots ?? {},
|
|
78
80
|
product: edition.product,
|
|
79
81
|
// Editing: no link is followed (a click is for the caret).
|
|
80
82
|
links: links && !onEdit,
|
|
@@ -105,6 +107,8 @@ type Ctx = {
|
|
|
105
107
|
s: (theme: HomeSection["theme"]) => Surface
|
|
106
108
|
href: (h: string) => string
|
|
107
109
|
slots: Record<string, HomeSlot | undefined>
|
|
110
|
+
/** Only the slots the host filled: an edition's own fallback comes before the kit's default words. */
|
|
111
|
+
given: Record<string, HomeSlot | undefined>
|
|
108
112
|
product: HomeEdition["product"]
|
|
109
113
|
links: boolean
|
|
110
114
|
palette?: string
|
|
@@ -261,7 +265,7 @@ function SectionView({ section, ctx, path: p }: { section: HomeSection; ctx: Ctx
|
|
|
261
265
|
}}
|
|
262
266
|
>
|
|
263
267
|
{section.prompt !== false && <span style={{ color: section.theme === "paper" ? s.signal : s.accent }}>$ </span>}
|
|
264
|
-
{section.command}
|
|
268
|
+
<Code code={section.command} s={s} shell={section.prompt !== false} />
|
|
265
269
|
</pre>
|
|
266
270
|
{section.caption && <div style={{ marginTop: 10, fontFamily: FONT.mono, fontSize: 12, color: s.muted }}>{ctx.t(section.caption, `${p}.caption`)}</div>}
|
|
267
271
|
</div>
|
|
@@ -344,7 +348,7 @@ function SectionView({ section, ctx, path: p }: { section: HomeSection; ctx: Ctx
|
|
|
344
348
|
<p style={{ margin: 0, fontSize: 16, lineHeight: 1.55, color: s.muted }}>{ctx.t(it.text, `${p}.items.${i}.text`)}</p>
|
|
345
349
|
{it.command && (
|
|
346
350
|
<pre style={{ margin: 0, padding: "12px 14px", borderRadius: 4, background: section.theme === "night" ? "rgba(0,0,0,0.32)" : BRAND_NEUTRALS.ink, color: "#e9efeb", fontFamily: FONT.mono, fontSize: 12.5, lineHeight: 1.6, whiteSpace: "pre-wrap", wordBreak: "break-word" }}>
|
|
347
|
-
{it.command}
|
|
351
|
+
<Code code={it.command} s={s} shell={looksLikeShell(it.command)} />
|
|
348
352
|
</pre>
|
|
349
353
|
)}
|
|
350
354
|
</li>
|
|
@@ -613,7 +617,7 @@ function WaysSection({ section, s, ctx, path: p }: { section: Extract<HomeSectio
|
|
|
613
617
|
{it.code && (
|
|
614
618
|
<pre style={{ margin: 0, color: "#e9efeb", fontFamily: FONT.mono, fontSize: 12, lineHeight: 1.65, whiteSpace: "pre-wrap", wordBreak: "break-word" }}>
|
|
615
619
|
<span style={{ color: s.signal }}>$ </span>
|
|
616
|
-
{ctx.r(it.code, `${ip}.code`)}
|
|
620
|
+
{ctx.editing ? ctx.r(it.code, `${ip}.code`) : <Code code={it.code} s={s} shell />}
|
|
617
621
|
</pre>
|
|
618
622
|
)}
|
|
619
623
|
{it.marks && it.marks.length > 0 && (
|
|
@@ -1208,7 +1212,9 @@ function HeroSection({ section, s, ctx, path: p }: { section: Extract<HomeSectio
|
|
|
1208
1212
|
)
|
|
1209
1213
|
)
|
|
1210
1214
|
return (
|
|
1211
|
-
|
|
1215
|
+
// A hero is seen whole, on a laptop too: its height also follows the screen's (`svh`) — a wide, short window
|
|
1216
|
+
// takes less air above and a smaller title, rather than pushing the buttons under the fold.
|
|
1217
|
+
<section id={section.id} style={{ position: "relative", overflow: "hidden", background: s.bg, color: s.fg, padding: "clamp(56px, min(13cqi, 11svh), 168px) clamp(20px, 5cqi, 64px) clamp(48px, min(10cqi, 8svh), 128px)" }}>
|
|
1212
1218
|
{behind && <Scene3D ctx={ctx} scene={section.scene!} theme={section.theme} fill style={{ position: "absolute", inset: 0, height: "100%" }} />}
|
|
1213
1219
|
{section.theme !== "paper" && !behind && (
|
|
1214
1220
|
<Illustration
|
|
@@ -1219,14 +1225,14 @@ function HeroSection({ section, s, ctx, path: p }: { section: Extract<HomeSectio
|
|
|
1219
1225
|
/>
|
|
1220
1226
|
)}
|
|
1221
1227
|
<div style={{ ...WRAP, pointerEvents: behind ? "none" : undefined, display: "grid", gridTemplateColumns: split ? "repeat(auto-fit, minmax(320px, 1fr))" : "1fr", gap: "clamp(32px, 5cqi, 64px)", alignItems: "center" }}>
|
|
1222
|
-
<div style={{ display: "flex", flexDirection: "column", gap:
|
|
1228
|
+
<div style={{ display: "flex", flexDirection: "column", gap: "clamp(14px, 2.4svh, 22px)", alignItems: centered ? "center" : "flex-start", textAlign: centered ? "center" : "left", pointerEvents: "auto" }}>
|
|
1223
1229
|
{section.kicker && <span style={{ fontFamily: FONT.mono, fontSize: 13, letterSpacing: "0.14em", textTransform: "uppercase", color: section.theme === "signal" ? s.fg : s.accent }}>{ctx.t(section.kicker, `${p}.kicker`)}</span>}
|
|
1224
1230
|
<h1
|
|
1225
1231
|
style={{
|
|
1226
1232
|
margin: 0,
|
|
1227
1233
|
fontFamily: FONT.display,
|
|
1228
1234
|
fontWeight: 400,
|
|
1229
|
-
fontSize: section.layout === "band" ? "clamp(46px, 9cqi, 112px)" : "clamp(
|
|
1235
|
+
fontSize: section.layout === "band" ? "clamp(46px, 9cqi, 112px)" : "clamp(40px, min(7cqi, 8.5svh), 92px)",
|
|
1230
1236
|
lineHeight: 0.98,
|
|
1231
1237
|
letterSpacing: "-0.025em",
|
|
1232
1238
|
maxWidth: centered ? "16ch" : "14ch",
|
|
@@ -1256,7 +1262,7 @@ function HeroSection({ section, s, ctx, path: p }: { section: Extract<HomeSectio
|
|
|
1256
1262
|
}}
|
|
1257
1263
|
>
|
|
1258
1264
|
<span style={{ color: section.theme === "paper" ? s.signal : s.accent, userSelect: "none" }}>$ </span>
|
|
1259
|
-
{section.command}
|
|
1265
|
+
<Code code={section.command} s={s} shell />
|
|
1260
1266
|
</pre>
|
|
1261
1267
|
)}
|
|
1262
1268
|
{section.actions && <Actions actions={section.actions} s={s} theme={section.theme} ctx={ctx} path={`${p}.actions`} center={centered} />}
|
|
@@ -1292,7 +1298,11 @@ function Actions({ actions, s, theme, ctx, path, center }: { actions: HomeAction
|
|
|
1292
1298
|
return (
|
|
1293
1299
|
<div style={{ display: "flex", flexWrap: "wrap", gap: 12, justifyContent: center ? "center" : "flex-start", marginTop: 6 }}>
|
|
1294
1300
|
{actions.map((a, i) => {
|
|
1295
|
-
|
|
1301
|
+
// A slot: what the host gave, else the edition's fallback, else the kit's default (signup's), else nothing.
|
|
1302
|
+
const filled =
|
|
1303
|
+
"slot" in a
|
|
1304
|
+
? (ctx.given[a.slot] ?? (a.label && a.href ? { label: ctx.w(a.label), href: ctx.href(a.href) } : ctx.slots[a.slot]))
|
|
1305
|
+
: { label: ctx.w(a.label), href: ctx.href(a.href) }
|
|
1296
1306
|
// A slot nobody fills, with nothing to fall back on, is left out rather than drawn broken.
|
|
1297
1307
|
if (!filled) return null
|
|
1298
1308
|
const { label, href } = filled
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// The console of cloud.spunto.net's facts — the figures its home editions quote. The editions themselves are
|
|
2
|
+
// data: ../editions/console.json.
|
|
3
|
+
//
|
|
4
|
+
// Every figure comes from spuntodotnet/cloud: its README (« Ce qu'on y fait », « Variables ») and docs/ as of
|
|
5
|
+
// 2026-12-04, the defaults of its code, and — for the CLI and the MCP — spuntodotnet/cloud#46 (docs/agents.md,
|
|
6
|
+
// shared/cli/commands.ts). The product's site (a Spunto Boiler app in that repository) imports its published
|
|
7
|
+
// edition: `<ProductHome product="console" />` (PUBLISHED in ../editions.ts).
|
|
8
|
+
//
|
|
9
|
+
// Not claimed: a price (there is none yet: quotas, no billing), more than one machine or region (« Plusieurs
|
|
10
|
+
// machines » is in « Ce qui vient ensuite »), standalone volumes, a database reachable from outside other than
|
|
11
|
+
// through the SSH bastion and the Neon-compatible WebSocket, any figure about Coolify, Railway or Render.
|
|
12
|
+
|
|
13
|
+
import type { Fact } from "../../facts"
|
|
14
|
+
import type { Words } from "../types"
|
|
15
|
+
|
|
16
|
+
const w = (en: string, fr: string): Words => ({ en, fr })
|
|
17
|
+
|
|
18
|
+
const README = "spuntodotnet/cloud README.md, 2026-12-04"
|
|
19
|
+
|
|
20
|
+
export const facts: Fact[] = [
|
|
21
|
+
{
|
|
22
|
+
id: "console-switch",
|
|
23
|
+
value: w("0 / 8,261", "0 / 8 261"),
|
|
24
|
+
label: w(
|
|
25
|
+
"requests failed while a deploy switched versions: the new box answers before traffic moves",
|
|
26
|
+
"requêtes en échec pendant la bascule d’un déploiement : la nouvelle box répond avant que le trafic passe",
|
|
27
|
+
),
|
|
28
|
+
source: `${README}, « Services » (vérifié : 8 261 requêtes, 0 échec pendant une bascule)`,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "console-drain",
|
|
32
|
+
value: w("15 s", "15 s"),
|
|
33
|
+
label: w(
|
|
34
|
+
"that the old version keeps serving after the switch, before it is destroyed",
|
|
35
|
+
"pendant lesquelles l’ancienne version sert encore après la bascule, avant d’être détruite",
|
|
36
|
+
),
|
|
37
|
+
source: `${README}, « Services » and SERVICE_DRAIN_S (default 15)`,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "console-engines",
|
|
41
|
+
value: w("5", "5"),
|
|
42
|
+
label: w(
|
|
43
|
+
"managed database engines — PostgreSQL, MySQL, Redis, MongoDB, Elasticsearch — each in its own microVM",
|
|
44
|
+
"moteurs de bases gérées — PostgreSQL, MySQL, Redis, MongoDB, Elasticsearch — chacun dans sa microVM",
|
|
45
|
+
),
|
|
46
|
+
source: `${README}, « Persistence › Bases de données » (server/db-engines.ts)`,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "console-metrics",
|
|
50
|
+
value: w("20 s", "20 s"),
|
|
51
|
+
label: w(
|
|
52
|
+
"between two readings of CPU, memory, network and disk inside every machine, kept 7 days",
|
|
53
|
+
"entre deux relevés du CPU, de la mémoire, du réseau et du disque dans chaque machine, gardés 7 jours",
|
|
54
|
+
),
|
|
55
|
+
source: `${README}, « Métriques » (server/metrics.ts)`,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: "console-commands",
|
|
59
|
+
value: w("81", "81"),
|
|
60
|
+
label: w(
|
|
61
|
+
"commands in the spunto-cloud CLI — the same ones an agent runs through the MCP, against the same API",
|
|
62
|
+
"commandes dans la CLI spunto-cloud — les mêmes qu’un agent lance par le MCP, contre la même API",
|
|
63
|
+
),
|
|
64
|
+
source: "spuntodotnet/cloud#46, shared/cli/commands.ts (72 entries, three of which expand to 4, 3 and 2 verbs)",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "console-levels",
|
|
68
|
+
value: w("3", "3"),
|
|
69
|
+
label: w(
|
|
70
|
+
"levels you give an agent, org by org — read, member, administrator — never above your own role",
|
|
71
|
+
"niveaux que vous donnez à un agent, org par org — lecture, membre, administrateur — jamais au-dessus de votre rôle",
|
|
72
|
+
),
|
|
73
|
+
source: "spuntodotnet/cloud#46, docs/agents.md « OAuth » (read / write / admin, capped by the role on every request)",
|
|
74
|
+
},
|
|
75
|
+
]
|
|
@@ -7,10 +7,11 @@ import * as sandbox from "./sandbox"
|
|
|
7
7
|
import * as agents from "./agents"
|
|
8
8
|
import * as traces from "./traces"
|
|
9
9
|
import * as boiler from "./boiler"
|
|
10
|
+
import * as console from "./console"
|
|
10
11
|
import * as search from "./search"
|
|
11
12
|
import * as ds from "./ds"
|
|
12
13
|
import * as foyer from "./foyer"
|
|
13
14
|
|
|
14
|
-
const ALL = [lite, cms, desktop, ci, sandbox, agents, traces, boiler, search, ds, foyer]
|
|
15
|
+
const ALL = [lite, cms, desktop, ci, sandbox, agents, traces, boiler, console, search, ds, foyer]
|
|
15
16
|
|
|
16
17
|
export const PRODUCT_FACTS = ALL.flatMap((p) => p.facts)
|
package/src/paints.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type PaintToken =
|
|
|
28
28
|
| "flame"
|
|
29
29
|
| "background" | "card" | "popover" | "secondary" | "muted" | "border" | "input" | "sidebar" | "sidebar-border"
|
|
30
30
|
|
|
31
|
-
export type PaintId = "cloud" | "sprout" | "cms" | "lite" | "browser" | "desktop" | "ci" | "sandbox" | "agents" | "traces" | "boiler" | "search" | "foyer" | "ds"
|
|
31
|
+
export type PaintId = "cloud" | "sprout" | "cms" | "lite" | "browser" | "desktop" | "ci" | "sandbox" | "agents" | "traces" | "boiler" | "console" | "search" | "foyer" | "ds"
|
|
32
32
|
|
|
33
33
|
export type Paint = {
|
|
34
34
|
id: PaintId
|
|
@@ -179,6 +179,18 @@ export const PAINTS: Paint[] = [
|
|
|
179
179
|
hue: 50,
|
|
180
180
|
shelf: true,
|
|
181
181
|
},
|
|
182
|
+
{
|
|
183
|
+
id: "console",
|
|
184
|
+
name: "Grès · pervenche",
|
|
185
|
+
note: `The console of cloud.spunto.net — sandstone / periwinkle since 2026-12-04: its machines are in Strasbourg,
|
|
186
|
+
whose cathedral is built of the red sandstone of the Vosges (a deep garnet field, hue 5: off Tuppa's ember ≈ 0.057,
|
|
187
|
+
Boiler's iron ≈ 0.067, CMS's plum ≈ 0.068), and a cool periwinkle for the signal (hue 275, between Lite's sky
|
|
188
|
+
≈ 0.090 and Desktop's orchid ≈ 0.063: the family had no blue-violet signal). Signal on field 10.5:1, white on the
|
|
189
|
+
light primary 6.6:1`,
|
|
190
|
+
field: "0.23 0.09 5", signal: "0.85 0.12 275", tone: "0.49 0.15 5",
|
|
191
|
+
hue: 5,
|
|
192
|
+
shelf: true,
|
|
193
|
+
},
|
|
182
194
|
{
|
|
183
195
|
id: "search",
|
|
184
196
|
name: "Sarcelle · eau",
|
package/src/products.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PAINT_BY_ID, paintHex, type PaintId } from "./paints"
|
|
14
14
|
|
|
15
|
-
export type BrandProductId = "cloud" | "lite" | "cms" | "desktop" | "ci" | "sandbox" | "agents" | "traces" | "boiler" | "search" | "ds" | "foyer"
|
|
15
|
+
export type BrandProductId = "cloud" | "lite" | "cms" | "desktop" | "ci" | "sandbox" | "agents" | "traces" | "boiler" | "console" | "search" | "ds" | "foyer"
|
|
16
16
|
|
|
17
17
|
export type BrandColors = {
|
|
18
18
|
/** The deep colour a product's night bands, story scenes and video backdrops open in. */
|
|
@@ -300,6 +300,35 @@ const ENTRIES: Entry[] = [
|
|
|
300
300
|
claim: "Les React Server Components, *sans Next.js*.",
|
|
301
301
|
},
|
|
302
302
|
},
|
|
303
|
+
{
|
|
304
|
+
/* The console of cloud.spunto.net (spuntodotnet/cloud): services, jobs, databases, storage, registry, git
|
|
305
|
+
repositories and observability on our own Firecracker machines in Strasbourg, on invitation. Not « Spunto
|
|
306
|
+
Cloud », which is spunto.net's product (sandboxes by the minute, agents) — the console's own interface still
|
|
307
|
+
says « Spunto Cloud ». Its name here is a working one: renaming it is this entry only (the editions say
|
|
308
|
+
« the console » or nothing). Words from its README and docs/ (2026-12-04), and docs/agents.md of
|
|
309
|
+
spuntodotnet/cloud#46 for the CLI and MCP. */
|
|
310
|
+
id: "console",
|
|
311
|
+
name: "Spunto Console",
|
|
312
|
+
paint: "console",
|
|
313
|
+
family: "product",
|
|
314
|
+
href: "https://cloud.spunto.net",
|
|
315
|
+
en: {
|
|
316
|
+
kind: "a cloud for your services",
|
|
317
|
+
promise: "Your services, jobs and databases on our own machines in Strasbourg, each in its own microVM.",
|
|
318
|
+
blurb:
|
|
319
|
+
"A Docker image becomes a service at its HTTPS address — public, or private behind a Google sign-in, groups and keys — with its domains, its volume and its backups. Jobs on a cron or a webhook; PostgreSQL, MySQL, Redis, MongoDB and Elasticsearch with a data explorer; S3 buckets, an image and package registry, private git repositories that build on push; the requests, traces and logs of every service. Each in a Firecracker microVM, on our machines in Strasbourg. On invitation.",
|
|
320
|
+
status: "services + data, Strasbourg",
|
|
321
|
+
claim: "A whole cloud, *on our own machines*.",
|
|
322
|
+
},
|
|
323
|
+
fr: {
|
|
324
|
+
kind: "un cloud pour vos services",
|
|
325
|
+
promise: "Vos services, vos jobs et vos bases sur nos propres machines à Strasbourg, chacun dans sa microVM.",
|
|
326
|
+
blurb:
|
|
327
|
+
"Une image Docker devient un service à son adresse HTTPS — public, ou privé derrière une connexion Google, des groupes et des clés — avec ses domaines, son volume et ses sauvegardes. Des jobs sur un cron ou un webhook ; PostgreSQL, MySQL, Redis, MongoDB et Elasticsearch avec un explorateur de données ; des buckets S3, un registre d’images et de paquets, des dépôts git privés qui se construisent au push ; les requêtes, traces et logs de chaque service. Chacun dans une microVM Firecracker, sur nos machines à Strasbourg. Sur invitation.",
|
|
328
|
+
status: "services + données, Strasbourg",
|
|
329
|
+
claim: "Tout un cloud, *sur nos propres machines*.",
|
|
330
|
+
},
|
|
331
|
+
},
|
|
303
332
|
{
|
|
304
333
|
id: "search",
|
|
305
334
|
name: "Spunto Search",
|