Skip to content

wdl-dev/site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

site

The landing page for the wdl-dev repositories, served as a single WDL Worker — and it's live at wdl.dev.

This is a standard WDL Worker project — scaffolded with wdl init and deployed through the wdl CLI (npm run deploywdl deploy .), the same path any tenant uses. src/index.js renders the page HTML; static files are served from the ASSETS store. The Worker resolves the CSS, OG card, and favicon with env.ASSETS.url(), while the CSS loads its watermark relatively. There is no local fallback — develop by deploying and testing on the platform.

Layout

src/index.js             worker entry — renders the page and the repo list
public/                  ASSETS: styles.css, hero-w.svg, favicon.svg, og.png
brand/WDL-mark.svg       canonical transparent logo mark used by the asset generator
scripts/build-logo.mjs   regenerates hero-w.svg + favicon.svg + og.png from the canonical mark
wrangler.jsonc           worker config (assets.directory = ./public, route wdl.dev/*)
AGENTS.md / CLAUDE.md    pointers to the per-feature docs shipped with @wdl-dev/cli

The repositories shown on the page are defined in the REPOS array at the top of src/index.js. The page styling lives in public/styles.css.

Brand assets

brand/WDL-mark.svg is the canonical, transparent logo geometry. The public/hero-w.svg watermark, public/favicon.svg, and public/og.png outputs are generated from it. After changing the mark, regenerate them:

npm run build:logo

Deploy

Releases go through the wdl CLI — not wrangler deploy (which targets Cloudflare). The wdl.dev route is operator-declared; this repo claims it via routes in wrangler.jsonc.

The Worker health endpoint is https://wdl.dev/_worker-healthz. Do not use /healthz on the custom domain: that path is owned by the WDL gateway and reports gateway health instead of this Worker.

npm install
npm run dry-run    # wrangler bundle check, nothing uploaded
npm run deploy     # wdl deploy . --ns site — bundles, uploads assets, promotes

About

wdl-dev landing page — a WDL Worker, live at wdl.dev

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors