Skip to content

About

The official website of Mallok, the Cloudflare-native CMS (mallok.dev).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mallok

mallok.dev

The official website of Mallok, the Cloudflare-native CMS. English and Simplified Chinese (/zh-cn/).

Plain static HTML and CSS generated by a small Python script (standard library only), plus one short script for the theme toggle and header menus. Served from Cloudflare Workers Static Assets.

Layout

Path What
src/ Page generator: build.py, one module per page, layout.py, tokens.py (colour tokens, with an AA contrast check), check.py (structural checks)
public/ Everything that is served. HTML pages are generated; edit src/, not the HTML. public/assets/ holds the hand-written CSS/JS, fonts and the brand kit
public/design/ The UI-language design board the site was built from
redirect/ A tiny Worker that 301s www.mallok.dev to mallok.dev
NOTES.md Design notes and decisions

Build and check

python3 src/build.py
python3 src/check.py
python3 -m http.server 4400 --directory public

src/fetch_fonts.py downloads Figtree (SIL OFL 1.1) into public/assets/fonts/; the files are already committed.

Deploy

Needs npx wrangler@4.166.0 login with an account that has the mallok.dev zone.

npx wrangler@4.166.0 deploy                 # mallok.dev
(cd redirect && npx wrangler@4.166.0 deploy) # www.mallok.dev -> mallok.dev

Keeping the copy accurate

Every claim on the site (release status, CPU measurements, cost ladder, commands) comes from the Mallok repository's README.md and docs/ (RELEASE_STATUS.md, PRODUCT_VISION.md). When those change, update the pages here.

Licence

Code is Apache-2.0 (see LICENSE). The Mallok name and logos are trademarks of the Fobstack project; see Mallok's TRADEMARK.md. Figtree is under the SIL Open Font License 1.1 (public/assets/fonts/OFL.txt).

About

The official website of Mallok, the Cloudflare-native CMS (mallok.dev).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages