Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="website/public/banner.jpg" alt="Simlock by Callstack. Your own simulator cloud. One device per agent." width="100%" />
<img src="website/public/banner.jpg" alt="Simlock by Callstack. Turn your Mac into a simulator cloud that manages itself." width="100%" />
</p>

### A control plane so parallel coding agents stop fighting over the same simulator
Expand Down
32 changes: 22 additions & 10 deletions docs/internal/BRAND.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ orange and nothing else.
- Switzer (ITF Free Font License) and Geist Mono (OFL) are self-hosted from
`website/src/fonts/`.
- Headlines have two beats, the second in the accent, with no italics. The
motto: "Your own simulator cloud. *One device per agent.*"
motto: "Turn your Mac into a simulator cloud *that manages itself.*"
- Mono is for labels, commands, ids and metadata, never for sentences.
- Platforms always run iOS, then Android. Hosts run macOS, then Linux.

Expand Down Expand Up @@ -108,10 +108,11 @@ on top of it have solid `bg` fills. Never use photos, gradients, landscapes or
A leased phone's screen shows app-like rows at full accent. A free phone's
screen is dark. Slow waves move in toward the focus, leasing and releasing
phones, and a phone flashes full accent for a moment as it boots. Phone size
follows the scene's shorter side. It sits behind the hero, the social card
and the banner.
follows the scene's shorter side. It sits behind the social card and the
banner.
- **Flow.** Soft diagonal bands, capped near the midtone. The quiet backdrop
behind code, tabs and the drawn console.
behind code, tabs, the hero's stage (at half strength, so its wires read)
and the drawn console.
- **Hollow.** The fleet with the phone at the focus missing: a dark socket
with a dashed stepped outline that pulses. Only on the 404 page.

Expand All @@ -130,12 +131,14 @@ The scenes are generated in `website/src/components/site/dither.ts`.

- Short and plain, one colleague to another. Name the reader: "your agents",
"you". No marketing adjectives, and no "just", "simply" or "easy".
- Lead with the self-hosted simulator cloud. One machine is where it starts.
- Lead with one Mac, then the cloud it grows into: Simlock on one machine
first, more machines behind a gateway second.
- Page titles: `Simlock: Self-hosted simulator cloud for coding agents` on
the home page, `Page title | Simlock` everywhere else, 60 characters at most.
Built only by `website/src/site/meta.ts`.
- Every command, field and number comes from the user docs. Agents on other
machines lease over the HTTP API; only the local daemon speaks to the CLI.
machines lease over the HTTP API or agent-device; the CLI speaks only to
daemons on its own machine (`--gateway` reaches a gateway running there).

## Social card and banner

Expand All @@ -157,10 +160,19 @@ The scenes are generated in `website/src/components/site/dither.ts`.
- **Home** (`src/pages/index.astro`): nav, hero, marquee, then [01] How it
works, [02] Fleet, [03] Console, [04] What you get, [05] Safe by default,
[06] FAQ, closing. The hero (`src/components/home/Hero.astro`, `hero.ts`,
`story.ts`) shows three agents sending one lease request to one gateway URL,
the gateway's table of where each went and why, and the three workers'
phones lighting up. The console section draws the console's Overview
(`ConsoleView.astro`).
`story.ts`) is the centred headline, the lede and one button, then a stage
that plays two steps in a loop, read left to right: agents, then the
gateway, then machines. Two buttons above it name the steps and jump to
either; the playing one fills with the accent as it runs, and a two-line
caption under them says what is happening. [01] One machine: three agents
lease from your Mac three ways, the simlock CLI, agent-device (whose
device streams its screen) and HTTP. [02] A fleet of them: a gateway on
your Mac and two more machines; every agent leases through the gateway,
each sent to a different machine. Wires are measured from the boxes, start
and end on an edge and never cross; boxes appear by fading, never by
moving, and every changing label keeps its size, so nothing shifts while it
plays. Below 60rem the stage stacks, with dashed connectors for wires. The
console section draws the console's Overview (`ConsoleView.astro`).
- **404** (`src/pages/404.astro`): the hollow scene behind a card, "This
device was never leased. *The rest of Simlock is.*"
- **Docs:** Starlight, dark by default. The reference pages are copied from
Expand Down
6 changes: 5 additions & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ pre-commit:
# Formats what is staged and stages the result, so nobody runs a formatter by hand.
format:
glob: "*.{ts,tsx,js,mjs,json,md,yml,yaml}"
exclude: "docs/**"
# website/ is its own package and oxfmt skips it, so a commit with only website/ files would
# hand oxfmt nothing and fail.
exclude:
- "docs/**"
- "website/**"
run: pnpm exec oxfmt {staged_files}
stage_fixed: true
lint:
Expand Down
2 changes: 1 addition & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pnpm og # public/og-image.jpg, banner.jpg, favicon.svg, favicon-32.png
| `src/site/brand.ts` | The accent; injected as CSS variables everywhere |
| `src/site/meta.ts` | Page titles: `Name: subtitle` on home, `Page | Name` everywhere else; never write a separator by hand |
| `src/pages/index.astro` | Home page layout; reorder sections with `order` |
| `src/components/home/Hero.astro`, `hero.ts`, `story.ts` | The hero: agents, the gateway table, the workers; the animation and its data |
| `src/components/home/Hero.astro`, `hero.ts`, `story.ts` | The hero: copy, then a two-step stage (one machine, then a fleet of them behind a gateway); its animation and data |
| `src/components/home/ConsoleView.astro`, `console-view.ts`, `console-story.ts` | The drawn console in the Console section |
| `src/components/site/dither.ts` | Dithered scenes: `fleet` (the signature), `hollow` (404), `flow`, `mark` |
| `src/components/site/` | Nav, Lockup, Mark, Window, CodeBlock, CopyCommand, Tabs, Marquee, Faq, PixelIcon, Closing, Footer |
Expand Down
1 change: 1 addition & 0 deletions website/og/og.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
h1 {
margin: 32px 56px 0;
max-width: 1000px;
text-wrap: balance;
font-weight: 500;
font-size: 70px;
line-height: 1.04;
Expand Down
Binary file modified website/public/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/public/og-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions website/scripts/og.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { chromium } from "playwright-core";
import sharp from "sharp";

import { accent, accentRgb, brandCss } from "../src/site/brand.ts";
import { gatewayUrl, lanes } from "../src/components/home/story.ts";
import { gatewayUrl, steps } from "../src/components/home/story.ts";
import { site } from "../src/site/content.ts";

const root = fileURLToPath(new URL("..", import.meta.url));
Expand All @@ -30,8 +30,10 @@ const card = {
install: site.install,
platforms: site.platforms,
mark: site.mark ?? [],
gateway: gatewayUrl.replace(/^https?:\/\//, ""),
lanes: lanes.map((l) => ({ agent: l.agent, device: l.device, worker: l.worker.label })),
gateway: gatewayUrl,
// why: the card's table is the hero's second step: each agent, its device and the worker
// the gateway sent it to.
lanes: steps[1].agents.map((a) => ({ agent: a.agent, device: a.device, worker: a.worker })),
rgb: accentRgb.split(" ").map(Number),
};

Expand Down
Loading
Loading