MallokMallok
0.1 release candidate — rc.10 on npm

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 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
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.

01What is Mallok?

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

A traditional CMS gives you instant edits and charges you a server, a database and a stream of security updates. A static generator gives you fast pages and charges you a commit and a build for every typo. Mallok is built on three promises that refuse both prices.

01 / NO 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
02 / NO 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.
03 / NO 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

02The boundary

Content needs no build. The frame does.

A site has two timelines, and Mallok keeps them visibly apart. Day-to-day work only touches the first; the second belongs to deployment, and the interface says so instead of pretending a theme switch is one click.

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

03Multilingual

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. With only one language, no hreflang is emitted. Sample content is illustrative; the company and product are fictional.

04The request path

Rendered once, then served from the edge.

Markdown is turned into a sanitised HTML fragment when you save. A visitor's first request applies the theme and stores the page in Cloudflare's cache; later requests never reach rendering. Open a node to see what it does and which free allowance it draws on.

SAVE

An 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. The fragment table 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.

HIT

Most visitor requests

  1. VisitorGET /zh-CN/products/…
  2. Edge cachecache.match() → HIT
  3. Cached page returnedbefore any page code runs
    The cached page is returned before any page code runs: no rendering, and no database read on a warm Worker. The first request a newly started Worker handles also runs a start-up check against D1. CPU measured 0–1 ms across 30 confirmed hits on one rc.5 deployment; that sample does not certify later candidates.

No rendering, and no database read on a warm Worker.

MISS

A 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.

At most four D1 round trips, however much content the site holds. Markdown is not parsed here.

MEDIA

Images 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. The cost ladder

Measured on rc.5, one deployment

Cache hit · CPU
0 ms p50 / p95

Maximum 1 ms across 30 confirmed hits. Zero is the value the platform recorded, not a claim of zero computation.

Cold render · CPU, 30 confirmed misses

Free-plan target: 10 ms. Exceeded in 16 of 30 cold samples; none failed.

Mobile Lighthouse
95–97 performance

Accessibility, best practices and SEO scored 100 in all six runs (home and article).

Read these numbers for what they are. They come from one isolated deployment of 0.1.0-rc.5 on a custom domain. No CPU sample has been taken for rc.6 to rc.11, which add work to cold renders, so these figures do not certify the current candidates. Cold renders above 10 ms CPU are a known, accepted limitation of the release candidates. Full release status

05Themes

Five bundled themes, one content model.

Themes are declarative Liquid templates in your project's source tree. Changing theme means a redeploy — and moves no content and no URL.

Screenshot of the Atelier theme's homepage on the demo site: a fictional titanium supplier with a hero image, product navigation and a quotation button.

Atelierdefault

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

Field Notes Articles About RSS 2026-08-14Notes on a slower release cycle4 min read2026-07-30What we learned from ten audits4 min read2026-07-02Writing specifications people read4 min read Illustration

Journal

A quiet theme for articles and pages.

VOL. 12 · TRADE EDITION Subscribe The Gazette MARKETS POLICY LOGISTICS TECHNOLOGY OPINION MARKETS Specialty metals open the week on firmer footing LATEST 01Licence quotas tighten02Sponge prices steady03New mill capacity04Freight index eases The morning wire, 06:30 daily. Subscribe Illustration

Gazette

A trade-news magazine with a serif masthead.

Handbook Guides Reference Changelog Documentation Operator handbook 01Install02Configure03Maintain 1.0Commissioning checklist2.0Routine inspection3.0Troubleshooting faults Illustration

Manual

Documentation with quick-start cards and numbered sections.

Studio Work Journal Enquire SELECTED WORK · 2024–2026 Objects, interiors and considered spaces. 01 — FEATURED Harbour pavilion Reading room02Courtyard house03Oak series04 Illustration

Folio

A light gallery portfolio with an editorial grid.

See all five themes

06Release status

A release candidate, described honestly.

0.1.0-rc.10 is what npx mallok create installs today; rc.11 is on npm's next tag. Both are public release candidates, not the stable 0.1.

Still open before a stable 0.1

  • Real inquiry email delivery through Turnstile and Resend has not been verified end to end.
  • Cold renders exceeded the 10 ms free-plan CPU target in 16 of 30 samples on rc.5. None failed; the limitation is known and accepted for the candidates.
  • A full export and restore into a second deployment, and a production upgrade and rollback, are still to be accepted.
  • There is no “Deploy to Cloudflare” button yet. The CLI is the way in.

07Quick start

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.

See it running before you install anything.

The live demo is a read-only Mallok site on Atelier, the default theme. Its company and content are fictional.