官网 UI 语言 · 最终候选

方向 A · 引线,加上首屏双面板、多语言演示、可展开的架构图、配色比例和能力标签这五处改进。浅色为主,深色是它的映射。画板不含 JavaScript,现有网站页面没有改动,文案都对照文档核对过。

最终候选

A · 引线 Thread

轻、亮、圆;一条线把内容从 Markdown 串到上线的页面

怎么从 Logo 来的

  • 丝带 → 线:一条波浪线把卡片、流程节点串起来;首屏里它连接「编辑器」和「上线的页面」,从紫渐变到青。
  • 圆头线端 → 圆角:按钮、徽标、命令条全是胶囊形,卡片 20–24px 圆角。
  • 穿梭圆点 → 标记:状态点、列表符号、当前导航、流程终点,都是同一颗青色圆点;首屏里它沿着引线移动。
  • 双 l → 成对:两条时间线之间一对青色竖波纹;EN / 中文是一对胶囊,多语言演示就是这一对的放大。
  • 折叠阴影 → 层次:卡片底部一道很淡的紫色渐变加柔和紫调投影。
  • 粗几何小写 → 标题:Figtree 800,负字距。

取舍

  • 颜色按 80 / 15 / 5 分配:中性色为主,紫色只做动作和线,青色只讲「即时上线」。
  • 原来的方向 B 不再单独展示。它的两样东西并进了 A,用在信息密集的页面:平行轨道的时间线、只有发丝线的表格(见第 10 节)。
  • 代价:圆角和投影多,信息密度偏低,所以成本页、文档页改用密集变体。
  • 所有文案都对照文档核对过;没有对比表、没有速度数字、没有「一键部署」。

1 · 导航 + 首屏(桌面)

首屏主视觉是「左边写 Markdown,右边就是上线的页面」,中间一条紫到青的引线,圆点沿线移动(纯 CSS,系统设置为减少动效时静止在终点)。下面是四枚能力标签。画框宽度固定为桌面尺寸;浅色在上,深色在下。

浅色

0.1 release candidate — rc.10

The Cloudflare-native CMS for multilingual B2B websites.

Mallok is an open-source alternative to WordPress and Ghost. Markdown content, a web admin, Liquid themes and inquiry forms — deployed into your own Cloudflare account, with no server to run and no rebuild when you publish.

npx mallok create my-site

Needs Node.js 22+ and wrangler login. Creates resources in, and deploys to, your Cloudflare account.

content/product/grade-5-titanium-bar/index.mdsaved
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium barEN中文

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation

Save → one D1 write + a cache purge by tag → live, with no build. Purging the edge cache needs a custom domain and a cache-purge token; without the token, visitors see the previous version until the cache expires. Sample content is illustrative; the company and product are fictional.

  • Theme pages ship no client JS*
  • Multilingual + automatic hreflang
  • Starts on Cloudflare's free allowances (not unlimited)
  • Apache-2.0 open source

* Exceptions: the Turnstile script on the inquiry form and one declared carousel script on Atelier's homepage. Cloudflare features you enable may inject their own scripts.

深色

0.1 release candidate — rc.10

The Cloudflare-native CMS for multilingual B2B websites.

Mallok is an open-source alternative to WordPress and Ghost. Markdown content, a web admin, Liquid themes and inquiry forms — deployed into your own Cloudflare account, with no server to run and no rebuild when you publish.

npx mallok create my-site

Needs Node.js 22+ and wrangler login. Creates resources in, and deploys to, your Cloudflare account.

content/product/grade-5-titanium-bar/index.mdsaved
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium barEN中文

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation

Save → one D1 write + a cache purge by tag → live, with no build. Purging the edge cache needs a custom domain and a cache-purge token; without the token, visitors see the previous version until the cache expires. Sample content is illustrative; the company and product are fictional.

  • Theme pages ship no client JS*
  • Multilingual + automatic hreflang
  • Starts on Cloudflare's free allowances (not unlimited)
  • Apache-2.0 open source

* Exceptions: the Turnstile script on the inquiry form and one declared carousel script on Atelier's homepage. Cloudflare features you enable may inject their own scripts.

2 · 首屏(手机 375px)

同一套标记,用容器查询在 375px 画框里换成单列:两个面板上下叠放,引线变成竖向。导航收成「Menu」,正式站用 <details> 实现,不需要脚本。第三个是中文首屏。

浅色 · EN · 375

0.1 release candidate — rc.10

The Cloudflare-native CMS for multilingual B2B websites.

Mallok is an open-source alternative to WordPress and Ghost. Markdown content, a web admin, Liquid themes and inquiry forms — deployed into your own Cloudflare account, with no server to run and no rebuild when you publish.

npx mallok create my-site

Needs Node.js 22+ and wrangler login. Creates resources in, and deploys to, your Cloudflare account.

content/product/grade-5-titanium-bar/index.mdsaved
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium barEN中文

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation

Save → one D1 write + a cache purge by tag → live, with no build. Purging the edge cache needs a custom domain and a cache-purge token; without the token, visitors see the previous version until the cache expires. Sample content is illustrative; the company and product are fictional.

  • Theme pages ship no client JS*
  • Multilingual + automatic hreflang
  • Starts on Cloudflare's free allowances (not unlimited)
  • Apache-2.0 open source

* Exceptions: the Turnstile script on the inquiry form and one declared carousel script on Atelier's homepage. Cloudflare features you enable may inject their own scripts.

深色 · EN · 375

0.1 release candidate — rc.10

The Cloudflare-native CMS for multilingual B2B websites.

Mallok is an open-source alternative to WordPress and Ghost. Markdown content, a web admin, Liquid themes and inquiry forms — deployed into your own Cloudflare account, with no server to run and no rebuild when you publish.

npx mallok create my-site

Needs Node.js 22+ and wrangler login. Creates resources in, and deploys to, your Cloudflare account.

content/product/grade-5-titanium-bar/index.mdsaved
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium barEN中文

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation

Save → one D1 write + a cache purge by tag → live, with no build. Purging the edge cache needs a custom domain and a cache-purge token; without the token, visitors see the previous version until the cache expires. Sample content is illustrative; the company and product are fictional.

  • Theme pages ship no client JS*
  • Multilingual + automatic hreflang
  • Starts on Cloudflare's free allowances (not unlimited)
  • Apache-2.0 open source

* Exceptions: the Turnstile script on the inquiry form and one declared carousel script on Atelier's homepage. Cloudflare features you enable may inject their own scripts.

浅色 · 中文 · 375

0.1 候选版 —— rc.10

为多语言 B2B 网站而生的 Cloudflare 原生 CMS

Mallok 是开源的 WordPress / Ghost 替代方案:Markdown 内容、网页后台、Liquid 主题和询盘表单,一并部署到你自己的 Cloudflare 账号。不用维护服务器,发布内容也不用重新构建。

npx mallok create my-site

需要 Node.js 22 及以上,并先执行 wrangler login。会在你的 Cloudflare 账号里创建资源并完成部署。

content/product/grade-5-titanium-bar/index.md已保存
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium barEN中文

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation

保存 → 一次 D1 写入 + 一次按标签清缓存 → 上线,不需要构建。清除边缘缓存需要自定义域名和清缓存令牌;没有令牌时,访客要等缓存过期才能看到新内容。示例内容仅作演示,企业与产品均为虚构。

  • 主题页面不带客户端 JS*
  • 多语言 + 自动 hreflang
  • 从 Cloudflare 免费额度起步(并非无限)
  • Apache-2.0 开源

* 例外:询盘表单的 Turnstile 脚本,以及 Atelier 首页声明的一个轮播脚本。你启用的 Cloudflare 功能可能会注入它们自己的脚本。

3 · 功能区:三个承诺

浅色

01What is Mallok?

A CMS's editing, an edge network's delivery, and content you can take with you.

Mallok is built on three promises that refuse both prices.

01No operations

No server to run

There is no host to patch and no database server to keep alive. Mallok is one Worker in your own Cloudflare account. Mallok hosts nothing, cannot reach your site, and has no account system to sign up for.

What gets created
One Worker, one D1 database, one R2 bucket

02No build for content

Edits are live immediately

Saving is one D1 write plus a precise cache purge by tag. No CI run, no build queue, no redeploy. The same goes for settings, theme options and plugin settings.

What it needs
A custom domain and a cache-purge token. Without the token, visitors see the previous version until the cache expires.

03No lock-in

Your content leaves as Markdown

D1 stores standard Markdown with YAML front matter; media sits in R2. Export produces ordinary bundles — index.md plus images/ — designed to re-import into a fresh Mallok site byte-identically.

Also exportable
Inquiries, as CSV
深色

01What is Mallok?

A CMS's editing, an edge network's delivery, and content you can take with you.

Mallok is built on three promises that refuse both prices.

01No operations

No server to run

There is no host to patch and no database server to keep alive. Mallok is one Worker in your own Cloudflare account. Mallok hosts nothing, cannot reach your site, and has no account system to sign up for.

What gets created
One Worker, one D1 database, one R2 bucket

02No build for content

Edits are live immediately

Saving is one D1 write plus a precise cache purge by tag. No CI run, no build queue, no redeploy. The same goes for settings, theme options and plugin settings.

What it needs
A custom domain and a cache-purge token. Without the token, visitors see the previous version until the cache expires.

03No lock-in

Your content leaves as Markdown

D1 stores standard Markdown with YAML front matter; media sits in R2. Export produces ordinary bundles — index.md plus images/ — designed to re-import into a fresh Mallok site byte-identically.

Also exportable
Inquiries, as CSV

4 · 两条时间线

「ll 双线」的用法:内容线用青色(即时),框架线用紫色(要部署)。

浅色

02The boundary

Content needs no build. The frame does.

A site has two timelines, and Mallok keeps them visibly apart.

Live immediately

The content timeline

Changed in the admin or through the CLI by whoever runs the site day to day. No build, no deployment.

  1. save
  2. D1 write
  3. purge by tag
  4. live
  • Pages, articles, products, mediacontent
  • Site name, languages, navigation, SEO defaultssettings
  • The options a theme exposestheme options
  • Plugin on/off switch, settings and secretsplugin settings

Build + redeploy

The frame timeline

Changed in the source tree by someone technical. It travels with the code and takes effect on deployment — never as a one-click switch.

  1. edit source
  2. build
  3. deploy
  4. live
  • Switching or editing a themethemes
  • Installing or updating a pluginplugins
  • Moving to a new Mallok releasemallok upgrade
  • A theme switch migrates no content and changes no URLguarantee
深色

02The boundary

Content needs no build. The frame does.

A site has two timelines, and Mallok keeps them visibly apart.

Live immediately

The content timeline

Changed in the admin or through the CLI by whoever runs the site day to day. No build, no deployment.

  1. save
  2. D1 write
  3. purge by tag
  4. live
  • Pages, articles, products, mediacontent
  • Site name, languages, navigation, SEO defaultssettings
  • The options a theme exposestheme options
  • Plugin on/off switch, settings and secretsplugin settings

Build + redeploy

The frame timeline

Changed in the source tree by someone technical. It travels with the code and takes effect on deployment — never as a one-click switch.

  1. edit source
  2. build
  3. deploy
  4. live
  • Switching or editing a themethemes
  • Installing or updating a pluginplugins
  • Moving to a new Mallok releasemallok upgrade
  • A theme switch migrates no content and changes no URLguarantee

5 · 多语言演示(纯 CSS 切换)

用单选按钮加 <label> 做的分段开关,没有脚本:Tab 聚焦,左右方向键切换。每个状态显示 Markdown 源文件、渲染后的页面,以及核心自动生成的 canonical 和 hreflang 标签。

浅色

05Multilingual

Multilingual is in the content model.

Every item has its own locale and belongs to a translation group. URLs are prefixed by language, and the sitemap carries hreflang without a plugin or a setting to remember.

Example site with two locales: en (default, no URL prefix) and zh-CN. x-default points at the default language.

content/product/grade-5-titanium-bar/index.mdsaved
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.

[[inquiry]]
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium bar

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation
generated <head>
<link rel="canonical" href="https://example.com/products/grade-5-titanium-bar"><link rel="alternate" hreflang="en" href="https://example.com/products/grade-5-titanium-bar"><link rel="alternate" hreflang="zh-CN" href="https://example.com/zh-CN/products/grade-5-titanium-bar"><link rel="alternate" hreflang="x-default" href="https://example.com/products/grade-5-titanium-bar">
content/product/grade-5-titanium-bar/index.zh-CN.mdsaved
---
title: 5 级钛棒
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
5 级钛合金在 400 °C 以内保持强度,
切削性能稳定。

[[inquiry]]
example.com/zh-CN/products/grade-5-titanium-bar
产品 / 5 级钛棒

5 级钛棒

Ti-6Al-4V 圆棒,6–160 mm。

牌号
Ti-6Al-4V
标准
ASTM B348
起订量
500 kg
索取报价
generated <head>
<link rel="canonical" href="https://example.com/zh-CN/products/grade-5-titanium-bar"><link rel="alternate" hreflang="en" href="https://example.com/products/grade-5-titanium-bar"><link rel="alternate" hreflang="zh-CN" href="https://example.com/zh-CN/products/grade-5-titanium-bar"><link rel="alternate" hreflang="x-default" href="https://example.com/products/grade-5-titanium-bar">

One bundle is one translation group: index.md is the default locale, index.zh-CN.md the translation. Sample content is illustrative; the company and product are fictional.

深色

05Multilingual

Multilingual is in the content model.

Every item has its own locale and belongs to a translation group. URLs are prefixed by language, and the sitemap carries hreflang without a plugin or a setting to remember.

Example site with two locales: en (default, no URL prefix) and zh-CN. x-default points at the default language.

content/product/grade-5-titanium-bar/index.mdsaved
---
title: Grade 5 titanium bar
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
Grade 5 holds its strength to 400 °C
and machines predictably.

[[inquiry]]
example.com/products/grade-5-titanium-bar
Products / Grade 5 titanium bar

Grade 5 titanium bar

Ti-6Al-4V round bar, 6–160 mm.

Grade
Ti-6Al-4V
Standard
ASTM B348
Minimum order
500 kg
Request a quotation
generated <head>
<link rel="canonical" href="https://example.com/products/grade-5-titanium-bar"><link rel="alternate" hreflang="en" href="https://example.com/products/grade-5-titanium-bar"><link rel="alternate" hreflang="zh-CN" href="https://example.com/zh-CN/products/grade-5-titanium-bar"><link rel="alternate" hreflang="x-default" href="https://example.com/products/grade-5-titanium-bar">
content/product/grade-5-titanium-bar/index.zh-CN.mdsaved
---
title: 5 级钛棒
grade: Ti-6Al-4V
standard: ASTM B348
moq: 500 kg
---
5 级钛合金在 400 °C 以内保持强度,
切削性能稳定。

[[inquiry]]
example.com/zh-CN/products/grade-5-titanium-bar
产品 / 5 级钛棒

5 级钛棒

Ti-6Al-4V 圆棒,6–160 mm。

牌号
Ti-6Al-4V
标准
ASTM B348
起订量
500 kg
索取报价
generated <head>
<link rel="canonical" href="https://example.com/zh-CN/products/grade-5-titanium-bar"><link rel="alternate" hreflang="en" href="https://example.com/products/grade-5-titanium-bar"><link rel="alternate" hreflang="zh-CN" href="https://example.com/zh-CN/products/grade-5-titanium-bar"><link rel="alternate" hreflang="x-default" href="https://example.com/products/grade-5-titanium-bar">

One bundle is one translation group: index.md is the default locale, index.zh-CN.md the translation. Sample content is illustrative; the company and product are fictional.

6 · 可展开的请求路径图

节点穿在引线上,带「+」的节点是 <details>,点开(或聚焦后按回车 / 空格)显示一两句说明和对应的免费额度。第一行默认展开了一个作为示例。

浅色

03The request path

Rendered once, then served from the edge.

Open a node to see what it does and which free allowance it draws on.

SAVEAn edit
  1. Admin or CLIthe same management API
    The React admin is served as static files; the CLI publishes folders of Markdown through the same API.Static Assets: unlimited free requests
  2. Markdown → fragmentparsed and sanitised once
    Markdown becomes a sanitised HTML fragment when you save. The stored Markdown is never modified by sanitising.Workers free tier: 100k requests/day, 10 ms CPU each
  3. D1 writecontent + render_cache
    One write stores the Markdown and its fragment. render_cache is derived data and can be rebuilt.D1 free tier: 5 GB, 5M rows read/day, 100k rows written/day
  4. Purge by taglive, with no build
    A precise cache purge by tag. It needs a custom domain and a cache-purge token; without the token, visitors see the previous version until the cache expires.Cache + Purge API: free; 5 tag purges per minute

Parsing happens once, when you save.

HITMost visitor requests
  1. VisitorGET /zh-CN/products/…
  2. Edge cachecache.match() → HIT
  3. Cached page returnedno render, no D1 read
    CPU measured 0–1 ms across 30 confirmed hits on one rc.5 deployment. Those figures do not certify later candidates.

No rendering, no database read.

MISSA cold render
  1. VisitorGET
  2. Edge cacheMISS
  3. Worker reads D1at most 4 round trips
    Settings, content with its fragment, and navigation — however much content the site holds. Markdown is not parsed here.D1 free tier: 5 GB, 5M rows read/day, 100k rows written/day
  4. Liquid themefragment → full page
    The theme wraps the fragment into a full page. Templates ship inside the Worker bundle.Workers free tier: 100k requests/day, 10 ms CPU each
  5. cache.put()Cache-Tag: site, c:<id>, …
    The page is stored in Cloudflare's cache with tags, so a later save can purge exactly the pages it changed.

Cold renders exceeded the 10 ms free-plan CPU target in 16 of 30 samples on rc.5; none failed. A known limitation of the release candidates.

MEDIAImages and files
  1. VisitorGET image
  2. R2served directly
    Media is served from an R2 custom domain, or through a /media/* proxy when none is configured.R2 free tier: 10 GB-month, egress free

Images are converted to WebP with width variants in the browser on upload.

Free allowances per Cloudflare's documentation, checked 2026-08-28. They may have changed since, and they are allowances, not an unlimited-service promise.

深色

03The request path

Rendered once, then served from the edge.

Open a node to see what it does and which free allowance it draws on.

SAVEAn edit
  1. Admin or CLIthe same management API
    The React admin is served as static files; the CLI publishes folders of Markdown through the same API.Static Assets: unlimited free requests
  2. Markdown → fragmentparsed and sanitised once
    Markdown becomes a sanitised HTML fragment when you save. The stored Markdown is never modified by sanitising.Workers free tier: 100k requests/day, 10 ms CPU each
  3. D1 writecontent + render_cache
    One write stores the Markdown and its fragment. render_cache is derived data and can be rebuilt.D1 free tier: 5 GB, 5M rows read/day, 100k rows written/day
  4. Purge by taglive, with no build
    A precise cache purge by tag. It needs a custom domain and a cache-purge token; without the token, visitors see the previous version until the cache expires.Cache + Purge API: free; 5 tag purges per minute

Parsing happens once, when you save.

HITMost visitor requests
  1. VisitorGET /zh-CN/products/…
  2. Edge cachecache.match() → HIT
  3. Cached page returnedno render, no D1 read
    CPU measured 0–1 ms across 30 confirmed hits on one rc.5 deployment. Those figures do not certify later candidates.

No rendering, no database read.

MISSA cold render
  1. VisitorGET
  2. Edge cacheMISS
  3. Worker reads D1at most 4 round trips
    Settings, content with its fragment, and navigation — however much content the site holds. Markdown is not parsed here.D1 free tier: 5 GB, 5M rows read/day, 100k rows written/day
  4. Liquid themefragment → full page
    The theme wraps the fragment into a full page. Templates ship inside the Worker bundle.Workers free tier: 100k requests/day, 10 ms CPU each
  5. cache.put()Cache-Tag: site, c:<id>, …
    The page is stored in Cloudflare's cache with tags, so a later save can purge exactly the pages it changed.

Cold renders exceeded the 10 ms free-plan CPU target in 16 of 30 samples on rc.5; none failed. A known limitation of the release candidates.

MEDIAImages and files
  1. VisitorGET image
  2. R2served directly
    Media is served from an R2 custom domain, or through a /media/* proxy when none is configured.R2 free tier: 10 GB-month, egress free

Images are converted to WebP with width variants in the browser on upload.

Free allowances per Cloudflare's documentation, checked 2026-08-28. They may have changed since, and they are allowances, not an unlimited-service promise.

7 · 成本表

浅色

07Cost

Designed to start on Cloudflare's free allowances.

There is exactly one paid step — Workers Paid, at $5 a month per account — and taking it changes no architecture and moves no data.

Step 0

$0

Free allowances

Workers, D1, R2, Static Assets, cache, cron and Turnstile free tiers.

Step 1

$5 / month / account

Workers Paid

Higher request, CPU, D1 and cron limits. Same Worker, same data.

Purpose · productFree tierBeyond it
Rendering, admin, APIWorkers100k requests/day, 10 ms CPU eachWorkers Paid at $5/month: 10M requests, 30M CPU-ms
Content, inquiriesD15 GB total, 5M rows read/day, 100k rows written/dayWith Paid: 25B rows read/month, 50M written/month
Images, attachmentsR210 GB-month, egress free$0.015/GB-month
Scheduled publishing, email retriesCron Triggers5 per account250 with Paid
Form abuse protectionTurnstileFree, 20 widgets, 10 hostnames eachEnterprise

Figures from Cloudflare's official documentation, checked 2026-08-28. They may have changed since; confirm against the provider's current pricing pages.

深色

07Cost

Designed to start on Cloudflare's free allowances.

There is exactly one paid step — Workers Paid, at $5 a month per account — and taking it changes no architecture and moves no data.

Step 0

$0

Free allowances

Workers, D1, R2, Static Assets, cache, cron and Turnstile free tiers.

Step 1

$5 / month / account

Workers Paid

Higher request, CPU, D1 and cron limits. Same Worker, same data.

Purpose · productFree tierBeyond it
Rendering, admin, APIWorkers100k requests/day, 10 ms CPU eachWorkers Paid at $5/month: 10M requests, 30M CPU-ms
Content, inquiriesD15 GB total, 5M rows read/day, 100k rows written/dayWith Paid: 25B rows read/month, 50M written/month
Images, attachmentsR210 GB-month, egress free$0.015/GB-month
Scheduled publishing, email retriesCron Triggers5 per account250 with Paid
Form abuse protectionTurnstileFree, 20 widgets, 10 hostnames eachEnterprise

Figures from Cloudflare's official documentation, checked 2026-08-28. They may have changed since; confirm against the provider's current pricing pages.

8 · 代码块 + 主题卡

浅色模式下代码块也是浅色的,不做深色大色块。

浅色

04Content

A product page is a Markdown file.

titanium-bar-gr5/index.mdwhat D1 stores
---
title: Grade 5 titanium bar
kind: product
grade: Gr5 (Ti-6Al-4V)
standard: ASTM B348
moq: 50 kg
cover: images/bar.jpg
---
Annealed round bar, supplied with
mill test certificates.

[[inquiry]]
Atelier theme, desktop screenshot

Atelier default

A material-first industrial catalogue: products, families, cases, FAQs and notes.

demo.mallok.dev
深色

04Content

A product page is a Markdown file.

titanium-bar-gr5/index.mdwhat D1 stores
---
title: Grade 5 titanium bar
kind: product
grade: Gr5 (Ti-6Al-4V)
standard: ASTM B348
moq: 50 kg
cover: images/bar.jpg
---
Annealed round bar, supplied with
mill test certificates.

[[inquiry]]
Atelier theme, desktop screenshot

Atelier default

A material-first industrial catalogue: products, families, cases, FAQs and notes.

demo.mallok.dev

9 · 快速开始 + 页脚

只有一条真实命令和三个真实链接,没有「一键部署」按钮。

浅色

One command. Your account. Your content.

Mallok creates a Worker, a D1 database and an R2 bucket in your own Cloudflare account and deploys the site there. Nothing is hosted by Mallok, and there is no Mallok account to open.

npx mallok create my-site

Needs Node.js 22+ and wrangler login. Add --no-deploy to generate and check a project locally without creating cloud resources. Currently a 0.1 release candidate.

深色

One command. Your account. Your content.

Mallok creates a Worker, a D1 database and an R2 bucket in your own Cloudflare account and deploys the site there. Nothing is hosted by Mallok, and there is no Mallok account to open.

npx mallok create my-site

Needs Node.js 22+ and wrangler login. Add --no-deploy to generate and check a project locally without creating cloud resources. Currently a 0.1 release candidate.

10 · 密集页面变体(成本页、文档页用)

从原来的方向 B 吸收两样东西:两条时间线画成上下平行的轨道;表格去掉卡片外框,只留发丝线。圆角、颜色、字体仍是 A。

浅色

Live immediately

The content timeline

  1. save
  2. D1 write
  3. purge by tag
  4. live

Build + redeploy

The frame timeline

  1. edit source
  2. build
  3. deploy
  4. live
Purpose · productFree tierBeyond it
Rendering, admin, APIWorkers100k requests/day, 10 ms CPU eachWorkers Paid at $5/month: 10M requests, 30M CPU-ms
Content, inquiriesD15 GB total, 5M rows read/day, 100k rows written/dayWith Paid: 25B rows read/month, 50M written/month
Images, attachmentsR210 GB-month, egress free$0.015/GB-month
The admin appWorkers Static AssetsUnlimited free requests, 20k files, 25 MiB eachWith Paid, up to 100k files

Figures from Cloudflare's official documentation, checked 2026-08-28. They may have changed since.

深色

Live immediately

The content timeline

  1. save
  2. D1 write
  3. purge by tag
  4. live

Build + redeploy

The frame timeline

  1. edit source
  2. build
  3. deploy
  4. live
Purpose · productFree tierBeyond it
Rendering, admin, APIWorkers100k requests/day, 10 ms CPU eachWorkers Paid at $5/month: 10M requests, 30M CPU-ms
Content, inquiriesD15 GB total, 5M rows read/day, 100k rows written/dayWith Paid: 25B rows read/month, 50M written/month
Images, attachmentsR210 GB-month, egress free$0.015/GB-month
The admin appWorkers Static AssetsUnlimited free requests, 20k files, 25 MiB eachWith Paid, up to 100k files

Figures from Cloudflare's official documentation, checked 2026-08-28. They may have changed since.

11 · 组件表

悬停、焦点状态是静态画出来的(.is-hover / .is-focus)。

浅色
Badges & tags
0.1 release candidate — rc.10Live immediatelyBuild + redeployApache-2.0in progresstheme.json
Nav · active state
Segmented control
npmpnpmyarn
EN中文
Card

02No build for content

Edits are live immediately

Saving is one D1 write plus a precise cache purge by tag.

What it needs
A custom domain and a cache-purge token.
Form input · default / focus
Callouts
Read these numbers for what they are. They come from one isolated deployment of 0.1.0-rc.5 on a custom domain.
Themes need a redeploy. Switching theme changes the frame timeline; it migrates no content and changes no URL.
Table
SurfaceClient JavaScript
Content pages, lists, navigationno script
Inquiry formTurnstile script
Atelier homepageone declared carousel script
Command
npx mallok create my-site
深色
Badges & tags
0.1 release candidate — rc.10Live immediatelyBuild + redeployApache-2.0in progresstheme.json
Nav · active state
Segmented control
npmpnpmyarn
EN中文
Card

02No build for content

Edits are live immediately

Saving is one D1 write plus a precise cache purge by tag.

What it needs
A custom domain and a cache-purge token.
Form input · default / focus
Callouts
Read these numbers for what they are. They come from one isolated deployment of 0.1.0-rc.5 on a custom domain.
Themes need a redeploy. Switching theme changes the frame timeline; it migrates no content and changes no URL.
Table
SurfaceClient JavaScript
Content pages, lists, navigationno script
Inquiry formTurnstile script
Atelier homepageone declared carousel script
Command
npx mallok create my-site

12 · 设计变量

配色比例:80 / 15 / 5

颜色 · 浅色

页面底#FBFAFC
卡片#FFFFFF
淡紫底#F4EEFC
淡青底#E6FAF6
正文#0D0B14
次要文字#55506B
细线#E6E0F0
强边线#8A82A3
主按钮#7E22CE
主按钮悬停#6B21A8
链接#7E22CE
引线紫#7E22CE
青色文字#0F766E
青色线#0D9488
样例用途前景背景对比度AA
Aa 文正文 / 标题 → 页面底#0D0B14#FBFAFC18.77:1通过 ≥4.5
Aa 文正文 → 卡片#0D0B14#FFFFFF19.53:1通过 ≥4.5
Aa 文正文 → 淡紫底(徽标、表头、提示)#0D0B14#F4EEFC17.19:1通过 ≥4.5
Aa 文正文 → 淡青底#0D0B14#E6FAF618.02:1通过 ≥4.5
Aa 文次要文字 → 页面底#55506B#FBFAFC7.35:1通过 ≥4.5
Aa 文次要文字 → 卡片#55506B#FFFFFF7.65:1通过 ≥4.5
Aa 文次要文字 → 淡紫底#55506B#F4EEFC6.73:1通过 ≥4.5
Aa 文链接 / 幽灵按钮 → 页面底#7E22CE#FBFAFC6.71:1通过 ≥4.5
Aa 文链接 → 卡片#7E22CE#FFFFFF6.98:1通过 ≥4.5
Aa 文链接 → 淡紫底(悬停)#7E22CE#F4EEFC6.15:1通过 ≥4.5
Aa 文青色文字 → 页面底#0F766E#FBFAFC5.26:1通过 ≥4.5
Aa 文青色文字 → 卡片#0F766E#FFFFFF5.47:1通过 ≥4.5
Aa 文青色文字 → 淡青底(状态标签)#0F766E#E6FAF65.05:1通过 ≥4.5
Aa 文主按钮文字 → 主按钮#FFFFFF#7E22CE6.98:1通过 ≥4.5
Aa 文主按钮文字 → 主按钮悬停#FFFFFF#6B21A88.72:1通过 ≥4.5
Aa 文代码正文 → 代码底#0D0B14#F6F2FC17.70:1通过 ≥4.5
Aa 文次要文字 → 代码底#55506B#F6F2FC6.93:1通过 ≥4.5
Aa 文代码键名 → 代码底#7E22CE#F6F2FC6.33:1通过 ≥4.5
Aa 文代码字符串 → 代码底#0F766E#F6F2FC4.96:1通过 ≥4.5
Aa 文代码注释 → 代码底#5F5A75#F6F2FC5.93:1通过 ≥4.5
Aa 文警告文字 → 警告底#6B4300#FFF6E08.04:1通过 ≥4.5
Aa 文首屏渐变词最浅端 → 页面底(大字)#9333EA#FBFAFC5.17:1通过 ≥4.5
Aa 文输入框边线 → 卡片(非文字 ≥3)#8A82A3#FFFFFF3.62:1通过 ≥3
Aa 文青色线条 → 页面底(非文字 ≥3)#0D9488#FBFAFC3.60:1通过 ≥3
Aa 文紫色引线 / 编号 → 页面底#7E22CE#FBFAFC6.71:1通过 ≥4.5
Aa 文焦点环 → 页面底(非文字 ≥3)#7E22CE#FBFAFC6.71:1通过 ≥3

颜色 · 深色

页面底#0D0B14
卡片#17141F
淡紫底#211A33
淡青底#0E2527
正文#FBFAFC
次要文字#B4AEC6
细线#2A2538
强边线#7A7392
主按钮#A855F7
主按钮悬停#C084FC
链接#C99BFB
引线紫#A855F7
青色文字#2DD4BF
青色线#2DD4BF
样例用途前景背景对比度AA
Aa 文正文 / 标题 → 页面底#FBFAFC#0D0B1418.77:1通过 ≥4.5
Aa 文正文 → 卡片#FBFAFC#17141F17.45:1通过 ≥4.5
Aa 文正文 → 淡紫底(徽标、表头、提示)#FBFAFC#211A3316.01:1通过 ≥4.5
Aa 文正文 → 淡青底#FBFAFC#0E252715.38:1通过 ≥4.5
Aa 文次要文字 → 页面底#B4AEC6#0D0B149.13:1通过 ≥4.5
Aa 文次要文字 → 卡片#B4AEC6#17141F8.48:1通过 ≥4.5
Aa 文次要文字 → 淡紫底#B4AEC6#211A337.78:1通过 ≥4.5
Aa 文链接 / 幽灵按钮 → 页面底#C99BFB#0D0B148.90:1通过 ≥4.5
Aa 文链接 → 卡片#C99BFB#17141F8.27:1通过 ≥4.5
Aa 文链接 → 淡紫底(悬停)#C99BFB#211A337.59:1通过 ≥4.5
Aa 文青色文字 → 页面底#2DD4BF#0D0B1410.49:1通过 ≥4.5
Aa 文青色文字 → 卡片#2DD4BF#17141F9.76:1通过 ≥4.5
Aa 文青色文字 → 淡青底(状态标签)#2DD4BF#0E25278.59:1通过 ≥4.5
Aa 文主按钮文字 → 主按钮#0D0B14#A855F74.94:1通过 ≥4.5
Aa 文主按钮文字 → 主按钮悬停#0D0B14#C084FC7.39:1通过 ≥4.5
Aa 文代码正文 → 代码底#FBFAFC#14111C17.91:1通过 ≥4.5
Aa 文次要文字 → 代码底#B4AEC6#14111C8.71:1通过 ≥4.5
Aa 文代码键名 → 代码底#C99BFB#14111C8.49:1通过 ≥4.5
Aa 文代码字符串 → 代码底#5EEAD4#14111C12.60:1通过 ≥4.5
Aa 文代码注释 → 代码底#9D97B2#14111C6.66:1通过 ≥4.5
Aa 文警告文字 → 警告底#F5C56B#2A20109.97:1通过 ≥4.5
Aa 文首屏渐变词最浅端 → 页面底(大字)#D8B4FE#0D0B1411.05:1通过 ≥4.5
Aa 文输入框边线 → 卡片(非文字 ≥3)#7A7392#17141F4.06:1通过 ≥3
Aa 文青色线条 → 页面底(非文字 ≥3)#2DD4BF#0D0B1410.49:1通过 ≥3
Aa 文紫色引线 / 编号 → 页面底#A855F7#0D0B144.94:1通过 ≥4.5
Aa 文焦点环 → 页面底(非文字 ≥3)#C99BFB#0D0B148.90:1通过 ≥3

字体与字号

Display60 / 1.06 · 800 · -0.025emmultilingual B2B
H240 / 1.12 · 800 · -0.02emContent needs no build.
H322 / 1.3 · 700Edits are live immediately
Body17 / 1.6 · 400Saving is one D1 write plus a precise cache purge by tag.
Small14 / 1.5 · 400Needs Node.js 22+ and wrangler login.
Label13 / 1.2 · 700 · +0.06em · 大写No build for content
中文标题PingFang SC Semibold · 字距 0 · 行高 1.3内容不需要构建,框架需要。
Mono15 / 1.6 · 系统等宽npx mallok create my-site

圆角 · 间距 · 层次

圆角
8px标签内代码
14px输入框
24px卡片
999px按钮 / 徽标 / 命令条
间距(4 的倍数)
4
8
12
16
24
32
48
64
96

区块上下留白:桌面 96,手机 56。内容最大宽 1200,手机两侧 16。

层次

两级柔和紫调投影,卡片底部带一道淡紫渐变,对应 Logo 的折叠阴影。深色下改为顶部 1px 高光加黑色投影。

card
card · raised

补充

字体与动效

字体:Figtree(只加载这一个家族)

  • 字标是很粗的几何小写,圆润、开口大、a 是双层。Figtree 的 800 / 900 字重和它的骨架最接近,400 字重读正文也舒服,一个可变字体文件就覆盖全部字重。
  • 画板从 Google Fonts 加载;正式站应当自托管 woff2(只子集拉丁字符,约 30 KB 以内),不向第三方发请求。
  • 回退栈:Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif。
  • 中文不加载网页字体,直接用 PingFang SC / Microsoft YaHei / Noto Sans SC。中文标题用系统最粗的一档(PingFang Semibold),字距归零,行高放到 1.25–1.3。
  • 等宽:ui-monospace, "SF Mono", Menlo, Consolas, monospace,系统字体,不加载。

动效(纯 CSS,正式站不带 JS)

  • 圆点呼吸:徽标前的状态点 2.4s 一次的光晕扩散(画板里已实现)。
  • 圆点穿梭:首屏引线上的圆点用 offset-path 从编辑器走到页面,3.6s 一次(画板里已实现)。
  • 引线描画:流程图的线用 stroke-dashoffset 在载入时从左画到右,600ms,一次(正式站再做)。
  • 按钮:悬停 150ms 换色,箭头右移 3px;按下回弹 1px。
  • 卡片:悬停上浮 2px,投影加深。
  • 分段开关、展开节点:单选按钮和 <details>,状态切换不加动画,保证键盘操作即时。
  • 命令条:user-select: all,点一下全选,不需要「复制」脚本。
  • 全部包在 prefers-reduced-motion: no-preference 里;减少动效时一律静止。时长 150 / 240 / 600ms,缓动 cubic-bezier(.2,.7,.2,1)。