From e224155d4a6d6f8947fb28bca5604d819a4ef171 Mon Sep 17 00:00:00 2001 From: Flavio Oliva Date: Mon, 23 Nov 2026 15:27:51 +0000 Subject: [PATCH 1/7] docs(website): deal the onboarding steps downward as the reader scrolls Each step slides in from above as it enters the viewport, the timeline rail fills downward to the reader's position, and the step markers follow it (done, current, upcoming). A Next link at the end of each step scrolls to the next one. Without JavaScript the page is unchanged; with reduced motion the steps only fade in. The faint text tokens and the output label now meet WCAG AA contrast in both themes. --- website/docs/onboarding-mockup.html | 121 ++++++++++++++++++++++++++-- 1 file changed, 114 insertions(+), 7 deletions(-) diff --git a/website/docs/onboarding-mockup.html b/website/docs/onboarding-mockup.html index fe8d27f2b..77b14a9a8 100644 --- a/website/docs/onboarding-mockup.html +++ b/website/docs/onboarding-mockup.html @@ -13,7 +13,7 @@ --gf-amber-dim: rgba(255, 176, 58, .13); --gf-ink: #ecebe5; --gf-muted: #8c939d; - --gf-faint: #5c636e; + --gf-faint: #7d848f; --gf-ground: #0e1014; --gf-surface: #161a21; --gf-hair: #262b34; @@ -27,7 +27,7 @@ [data-md-color-scheme="default"] { --gf-ink: #1b1d22; --gf-muted: #4a5058; - --gf-faint: #9aa0a7; + --gf-faint: #686e76; --gf-ground: #f6f3ec; --gf-surface: #fffefa; --gf-hair: #e3dfd5; @@ -246,8 +246,8 @@ .output .success { color: #4ec9b0; } .output .error { color: #f44747; } .output-label { - font-size: .68rem; - color: #5c636e; + font-size: .72rem; + color: #7d848f; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; @@ -421,6 +421,69 @@ color: var(--gf-faint); } + /* ── Deck motion: steps are dealt downward, the rail fills as you read ── */ + html { scroll-behavior: smooth; scroll-padding-top: 24px; } + .step::before { + z-index: 1; + transition: background-color .3s ease, box-shadow .3s ease; + } + .step::after { + content: ""; + position: absolute; + left: -2px; + top: 0; + bottom: 0; + width: 2px; + background: var(--gf-amber); + transform: scaleY(var(--fill, 0)); + transform-origin: top; + } + .step.done::after { --fill: 1; } + .motion .step:not(.done):not(.active)::before { + background: var(--gf-surface); + color: var(--gf-muted); + box-shadow: inset 0 0 0 2px var(--gf-hair); + } + .step:last-child::after { display: none; } + .motion .step > * { + opacity: 0; + transform: translateY(-28px); + clip-path: inset(0 0 100% 0); + transition: + opacity .45s ease, + transform .65s cubic-bezier(.16, 1, .3, 1), + clip-path .65s cubic-bezier(.16, 1, .3, 1); + } + .motion .step.in > * { + opacity: 1; + transform: none; + clip-path: inset(-24px); + transition-delay: calc(var(--i, 0) * 45ms); + } + .next-deck { + display: inline-flex; + align-items: center; + gap: 6px; + margin-top: 4px; + padding: 6px 0; + font-family: var(--gf-mono); + font-size: .85rem; + color: var(--gf-amber); + } + .next-deck svg { transition: transform .2s cubic-bezier(.16, 1, .3, 1); } + .next-deck:hover svg, .next-deck:focus-visible svg { transform: translateY(3px); } + .next-deck:focus-visible { outline: 2px solid var(--gf-amber); outline-offset: 3px; border-radius: 4px; } + @media (prefers-reduced-motion: reduce) { + html { scroll-behavior: auto; } + .motion .step > *, .motion .step.in > * { + transform: none; + clip-path: none; + transition: opacity .2s ease; + transition-delay: 0s; + } + .next-deck svg { transition: none; } + } + /* ── Responsive ── */ @media (max-width: 600px) { .container { padding: 32px 16px 60px; } @@ -508,10 +571,11 @@

Prerequisites

Output
gflow, version 0.41.0
+ Next: Authenticate -
+
Authenticate

A one-time login opens a real Chrome window. Sign in with your Google account and keep going until the Flow editor loads — gflow closes the window for you and verifies the session automatically.

@@ -543,10 +607,11 @@

Prerequisites

On first run, the profile is created as default then auto-renamed to your email's local-part (e.g. your.name@gmail.com → your-name). Single-account users never have to think about profiles. To use a custom name, pass --profile myname.

+ Next: Generate
-
+
Generate

The shortest happy path — one command, real output. Images are free; only Veo video costs credits.

@@ -597,10 +662,11 @@

Prerequisites

Video outputs land in ./out/videos/.

+ Next: Your first result
-
+
Success!
🎬
@@ -732,6 +798,47 @@

Where to next

// Initialize theme icon document.querySelector('.theme-toggle').textContent = '☀️'; + + // Deck motion: each step is dealt in from above as it enters, and the step + // the reader is on drives the rail fill and the done/active markers. Without + // this script the steps stay visible with their static markers. + (function deckMotion() { + const steps = [...document.querySelectorAll('.step')]; + if (!steps.length || !('IntersectionObserver' in window)) return; + document.documentElement.classList.add('motion'); + steps.forEach(step => { + [...step.children].forEach((child, i) => child.style.setProperty('--i', Math.min(i, 5))); + }); + + const deal = new IntersectionObserver(entries => { + entries.forEach(entry => { + if (!entry.isIntersecting) return; + entry.target.classList.add('in'); + deal.unobserve(entry.target); + }); + }, { rootMargin: '0px 0px -12% 0px' }); + steps.forEach(step => deal.observe(step)); + + let queued = false; + function track() { + queued = false; + const anchor = window.innerHeight * 0.4; + let current = -1; + steps.forEach((step, i) => { + const r = step.getBoundingClientRect(); + step.style.setProperty('--fill', Math.min(1, Math.max(0, (anchor - r.top) / r.height))); + if (r.top <= anchor) current = i; + }); + steps.forEach((step, i) => { + step.classList.toggle('done', i < current); + step.classList.toggle('active', i === Math.max(current, 0)); + }); + } + const schedule = () => { if (!queued) { queued = true; requestAnimationFrame(track); } }; + window.addEventListener('scroll', schedule, { passive: true }); + window.addEventListener('resize', schedule); + track(); + })(); From 15aabe21505f7dec6acb5b53b512d3943df64f07 Mon Sep 17 00:00:00 2001 From: Flavio Oliva Date: Mon, 23 Nov 2026 15:45:27 +0000 Subject: [PATCH 2/7] docs(website): onboarding leads with the CLI and the MCP server, and says beta The page said alpha; the project is beta. A Connect your assistant step now covers the Claude Code plugin, gflow mcp setup for Claude Desktop, Cursor and VS Code, any other MCP client, and --no-spend. The Generate step pairs a CLI image and a capped video with the same request asked of an assistant, the version sample reads 0.106.0, the no-session error card names AuthMissingError (exit 8), and the copy button copies every command in a block. --- website/docs/onboarding-mockup.html | 138 ++++++++++++++++------------ 1 file changed, 81 insertions(+), 57 deletions(-) diff --git a/website/docs/onboarding-mockup.html b/website/docs/onboarding-mockup.html index 77b14a9a8..3dc309655 100644 --- a/website/docs/onboarding-mockup.html +++ b/website/docs/onboarding-mockup.html @@ -502,11 +502,11 @@

Get started with gflow-cli

-

From install to your first AI-generated image in about 5 minutes. Or hand the whole thing to your AI assistant.

+

One package, two doors onto Google Flow: the gflow CLI in your terminal and an MCP server for your AI assistant. Install once, sign in once, then use either.

Before you begin
- gflow-cli is alpha and reverse-engineered — not affiliated with Google. It drives a headed browser on your own Google Flow session. It works with any Google account that has Flow access, and every generation bills your account. Not affiliated with Google. + gflow-cli is beta, reverse-engineered and not affiliated with Google. It drives a real Chrome session signed in to your own Google account, which needs Flow access. Video spends your Flow credits; images spend none, but count against a daily image quota.
@@ -516,6 +516,7 @@

Prerequisites

✓ Google account with Flow access ✓ Google Chrome installed ✓ Display for one-time browser login + ✓ Optional: an MCP client (Claude Code, Claude Desktop, Cursor, VS Code, Codex)
@@ -569,7 +570,7 @@

Prerequisites

Output
-
gflow, version 0.41.0
+
gflow, version 0.106.0
Next: Authenticate
@@ -607,16 +608,66 @@

Prerequisites

On first run, the profile is created as default then auto-renamed to your email's local-part (e.g. your.name@gmail.com → your-name). Single-account users never have to think about profiles. To use a custom name, pass --profile myname.

+ Next: Connect your assistant +
+ + +
+
Connect your assistant
+

Register the MCP server with your client. It runs the same code as the CLI, on the same signed-in profile, so an assistant can generate, upscale and manage media for you.

+ +

Claude Code: install the plugin from inside Claude Code. It adds the MCP server and two skills, and ships disabled until you enable it.

+
+
+ + + + Claude Code + +
+
+> /plugin marketplace add ffroliva/gflow-cli
+> /plugin install gflow@gflow-cli +
+
+ +

Claude Desktop, Cursor or VS Code: one command writes the server entry into the client's config.

+
+
+ + + + Terminal + +
+
+$ gflow mcp setup
+$ gflow mcp setup --target cursor
+$ gflow mcp setup --target vscode +
+
+
+
What happens
+
The gflow entry is merged into the client's config file.
+
Existing content is kept; the old file is backed up as <name>.gflow-backup.
+
An entry that is already there is left untouched.
+
Restart the client to load the server.
+
+ +

+ Any other MCP client: command uvx, arguments gflow-cli mcp run, or gflow serve for Streamable HTTP at /mcp. + To keep an assistant away from your credits, register gflow mcp run --no-spend: the tools that spend credits are never registered. + Full setup: MCP server. +

Next: Generate
- +
Generate
-

The shortest happy path — one command, real output. Images are free; only Veo video costs credits.

+

From the terminal, one command gives you a real file. From your assistant, ask in plain language and it picks the tool, model and aspect.

- -

Generate a text-to-image with the --tool creative-director flag, which expands your prompt with Google's 5-component formula before any credits are spent.

+

Make an image. --tool creative-director expands your prompt before anything is sent to Flow.

@@ -633,15 +684,10 @@

Prerequisites

Output
Flow project created: project/abc123
Generating images…
-
✓ out/images/2026-07-20/8f3a1b2c_1.png
+
✓ out/images/2026-11-23/8f3a1b2c_1.png
-

- Files are saved to the output directory automatically — by default ./out/images/. - Route outputs to S3, MinIO, or GCS with external storage. -

- -

Turn that still into an 8-second Veo clip. This step costs 1 Veo credit.

+

Make a short video. --max-credits caps what the run may spend: if Flow quotes more, gflow stops before submitting (exit 45).

@@ -651,33 +697,40 @@

Prerequisites

-$ gflow video i2v out/images/2026-07-20/8f3a1b2c_1.png "slow cinematic push-in" --aspect 9:16 +$ gflow video t2v "a paper boat drifting across a calm pond at dawn" --max-credits 10
Output
-
Generating video… (~60-90s)
-
✓ out/videos/2026-07-20/9e4d7f2a.mp4
+
Generating video… (about a minute)
+
✓ out/videos/2026-11-23/9e4d7f2a.mp4
+
+ +

Or ask your assistant:

+
+
Prompt
+
Make a 16:9 image of a lighthouse in a storm, then turn it into a short video. Spend at most 10 credits.

- Video outputs land in ./out/videos/. + Files land in ./out/images/ and ./out/videos/ by default. + Route outputs to S3, MinIO, or GCS with external storage.

Next: Your first result
- +
Success!
🎬
Your first generation is ready
./out/images/YYYY-MM-DD/<id>_1.png
-
Files are saved automatically. Image generations are free — only Veo video costs credits.
+
Saved automatically and catalogued locally. Images spend no credits; video spends your Flow credits.
@@ -700,8 +753,8 @@

Troubleshooting

-
No profiles found (exit 2)
-
You ran a generation command before authenticating.
+
AuthMissingError (exit 8)
+
The profile has no usable Flow session: you generated before signing in, or the account is signed in to Google but not to Flow.
Fix: Run the one-time login first:
gflow auth login --browser chrome @@ -727,32 +780,6 @@

Troubleshooting

- -

Let your assistant drive it

-

Everything above, an agent can do for you. Start the MCP server and point Claude, Cursor, or Copilot at it.

-
-
- - - - Terminal - -
-
-$ gflow mcp run -
-
-
-
Output
-
serving over stdio:
-
• gflow_generate_image
-
• gflow_generate_video
-
ready — your assistant can drive Flow.
-
-

- Just ask in plain language — the agent picks the model, aspect, and prompt tooling. See Agent-driven for the full setup. -

-

Where to next

@@ -784,12 +811,9 @@

Where to next

function copyCode(btn) { const terminal = btn.closest('.terminal'); - const body = terminal.querySelector('.terminal-body'); - // Copy only the command line(s) — lines starting with $ - const lines = body.innerText.split('\n'); - const commands = lines - .filter(l => l.trim().startsWith('$')) - .map(l => l.replace(/^\s*\$\s?/, '').trim()); + // Copy only the commands, one per line, without their prompts. + const commands = [...terminal.querySelectorAll('.terminal-body .cmd')] + .map(cmd => cmd.textContent.trim()); navigator.clipboard.writeText(commands.join('\n')).then(() => { btn.textContent = 'Copied!'; setTimeout(() => btn.textContent = 'Copy', 1500); From bb0fd59098bcc188a9ec4fadb7287f590f9fba2d Mon Sep 17 00:00:00 2001 From: Flavio Oliva Date: Tue, 24 Nov 2026 10:51:11 +0000 Subject: [PATCH 3/7] docs(website): fix onboarding error card, published links and print Generating before sign-in exits 2 (No profiles found), not 8, so the exit-2 card is back and the exit-8 card describes a profile with no Flow session. The page is copied unrendered, so its doc links use the directory URLs MkDocs publishes (MCP.md 404ed). A print stylesheet shows steps the reader has not scrolled to. The User Guide has 16 journeys. --- website/docs/onboarding-mockup.html | 30 +++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/website/docs/onboarding-mockup.html b/website/docs/onboarding-mockup.html index 3dc309655..3a12c40d1 100644 --- a/website/docs/onboarding-mockup.html +++ b/website/docs/onboarding-mockup.html @@ -483,6 +483,10 @@ } .next-deck svg { transition: none; } } + /* A printout shows every step, scrolled to or not. */ + @media print { + .motion .step > * { opacity: 1; transform: none; clip-path: none; transition: none; } + } /* ── Responsive ── */ @media (max-width: 600px) { @@ -657,7 +661,7 @@

Prerequisites

Any other MCP client: command uvx, arguments gflow-cli mcp run, or gflow serve for Streamable HTTP at /mcp. To keep an assistant away from your credits, register gflow mcp run --no-spend: the tools that spend credits are never registered. - Full setup: MCP server. + Full setup: MCP server.

Next: Generate
@@ -713,7 +717,7 @@

Prerequisites

Files land in ./out/images/ and ./out/videos/ by default. - Route outputs to S3, MinIO, or GCS with external storage. + Route outputs to S3, MinIO, or GCS with external storage.

Next: Your first result
@@ -753,14 +757,24 @@

Troubleshooting

-
AuthMissingError (exit 8)
-
The profile has no usable Flow session: you generated before signing in, or the account is signed in to Google but not to Flow.
+
No profiles found (exit 2)
+
You ran a generation command before signing in, so no profile exists yet.
Fix: Run the one-time login first:
gflow auth login --browser chrome
+ +
+
Authentication credential missing (exit 8)
+
The profile exists but has no usable Flow session: the account is signed in to Google but not to Flow, or the login did not finish.
+
+ Fix: Sign in again with the real-Chrome strategy:
+ gflow auth login --browser chrome +
+
+
Authentication expired (exit 3)
@@ -783,10 +797,10 @@

Troubleshooting

Where to next