The landing page of effectified: Effect-native packages for the libraries you already use, derived from upstream's own types so they keep up with every release.
Built on Effect. Not an official Effect project. A sibling of EffectScript, and it shares its design system.
pnpm install --ignore-scripts
pnpm dev # http://localhost:4321
pnpm check # astro check
pnpm build # static site in dist/
pnpm og # re-render public/og.png from brand/og.html (needs Chrome)CLOUDFLARE_ACCOUNT_ID=<account that holds the zone> pnpm run deploycf deploy ./dist serves dist/ as an assets-only Worker, effectified-site, on the custom domain
effectified.dev (cloudflare.config.ts). Cloudflare created the DNS record and the certificate on the first deploy.
cf uses the login of cf auth; the account ID is needed when that login sees more than one account.
The site workflow deploys when what the site shows changes; nothing polls:
- a push to
mainhere; - effectified/packages calls it (
workflow_call) from its release workflow, after CI passes on itsmain; - effectified/pi's release script (
effect/scripts/release.ts) starts it (gh workflow run) after a release.
It needs two secrets, in this repository and in effectified/packages (a called workflow gets the caller's secrets):
CLOUDFLARE_API_TOKEN: an account-owned token that can edit Workers scripts and read account settings, plus edit Workers routes and read theeffectified.devzone (cf accounts tokens create).CLOUDFLARE_ACCOUNT_ID: the account that holds the zone.
The Pi family and its packages are in src/data/catalog.ts. The facades of
effectified/packages are a content collection
(src/content.config.ts): each one's docs.json and SKILL.md, which the engine generates
into it, read from a checkout of that repository (EFFECTIFIED_PACKAGES, a sibling ../packages, or a shallow clone).
Each facade gets a page (/<name>) with its examples, its frontend demo, its API and its skill (/<name>/SKILL.md).
The build also writes _redirects: /<name>.tgz is the tarball of each package's newest release, so the page never
names a version. The counts on the page are computed at build time; never write a number or a version into the page
by hand.
The EffectScript exhibition system on ink: Effect's zinc palette, Inter Display for headlines, Inter for body, JetBrains Mono for code and labels. The photographs stay monochrome; colour comes from code, as on effect.website:
- Code uses
effectified-dark(src/code-theme.ts): violet keywords, emerald strings, cyan for Effect's modules and types, blue functions, orange numbers, muted comments. - The accent is the spectrum violet → sky → emerald (
--spectrum), used sparingly: the hero's "effectified.", the ticker, the effectified code pane's edge and glow, and the light leak around the hero's cube. - Each promise and each package kind has one colour from the code palette, shown as a dot or a thin rule.
- The signal colours (✓ pass, ! fail, ▲ warn, ◇ need) still mark state only, always with their glyph.
The mark is two brackets closed around a solid square: a library, wrapped. It lives in
public/mark.svg (currentColor) and public/favicon.svg. White on
black or black on white only. Never use the Effect logo, and describe the project as "built on Effect", never as
official or endorsed.
Fonts are subsets of Inter and JetBrains Mono under the SIL Open Font License (brand/).
Four monochrome scenes light the page's rooms: hero (the bracket monoliths around a cube of light), contract
(six wells of light), pipeline (raw stone, bracketed, lit) and field (every library, wrapped). Each room keeps
its copy on ink through a gradient scrim, never in a box. No people, no text and no logo inside an image.
- Masters:
brand/key-visuals/*.jpg, 3840 px wide, generated withgpt-image(gpt-image-2.6-sunburst, quality max, complexity high) from the briefs inbrand/key-visuals/prompts/: four drafts each, the best one rendered at 4K. - Web sizes:
uv run --with pillow python scripts/images.pywritespublic/lp/<name>-<width>.webp(828, 1440, 2560, 3840) from the masters;src/components/Scene.astroserves them as asrcset. pnpm ogrenderspublic/og.pngfrombrand/og.htmlover the hero master.
MIT
