Skip to content
effectifiedPublic

About

Effect-native facades of popular libraries, made by the effectified engine and kept by the community

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

effectified packages

Popular libraries in Effect: every async call an Effect, every async iterable a Stream, every resource scoped, every failure a tagged error; frontend libraries as bindings and mounts for Effect UI. Each facade is generated from its library's own types by the effectified engine, tested against the real library, and kept in step with upstream every day. Recipes, tests and decisions come from the community and its agents.

Facades

Library Facade Kind Tested against
sharp @effectified/sharp runtime libvips, images in memory
nodemailer @effectified/nodemailer runtime a JSON transport, a refused SMTP port
motion @effectified/motion Effect UI Chrome
puppeteer-core @effectified/puppeteer-core runtime Chrome
@codemirror/view @effectified/codemirror-view Effect UI Chrome
chart.js @effectified/chart.js Effect UI Chrome
simple-git @effectified/simple-git runtime git in a temp repository
bullmq @effectified/bullmq runtime Redis
maplibre-gl @effectified/maplibre-gl Effect UI Chrome
@xterm/xterm @effectified/xterm Effect UI Chrome
media-chrome @effectified/media-chrome Effect UI Chrome
emoji-picker-element @effectified/emoji-picker-element Effect UI Chrome
@awesome.me/webawesome @effectified/webawesome Effect UI Chrome
@material/web @effectified/material-web Effect UI Chrome
@fluentui/web-components @effectified/fluentui-web-components Effect UI Chrome

Each facade has a page on effectified.dev with its examples (live demos for the frontend ones), its API and its agent skill, all generated from this repository. Each lives in targets/<library>/: surface.json (what upstream's types expose), scan.json (what its JavaScript throws and emits), recipe.json (every decision the types cannot make, with its reason and who made it), and package/, the generated facade with its hand-written tests.

Install

https://effectified.dev/<name>.tgz always installs a facade's newest release:

pnpm add https://effectified.dev/sharp.tgz effect
npm install --allow-remote=all https://effectified.dev/sharp.tgz effect
bun add https://effectified.dev/sharp.tgz effect

Releases are here on GitHub, not on npm, as <name>-v<version> (a facade's version is its library's, with +<revision> for a later facade of the same version), and are never replaced: to pin one, install its release's tarball. Each package carries SKILL.md, the skill an agent follows to use it.

Add a library

pnpm install --ignore-scripts
pnpm effectify make <github url or npm name>    # add --ui for a frontend library
pnpm effectify plan <name>                      # the judgment work: review the recipe, write the tests, the docs

Then follow skills/effectify, alone or with T3 Code orchestrating (skills/effectify-t3), and open a pull request. CONTRIBUTING.md says what a pull request needs.

Skill For
effectify The entry point: a GitHub URL or npm name to a tested facade
effectify-t3 Orchestrating it in T3 Code: the plan's units as delegates in worktrees, merged in order
effectify-recipe Reviewing and deciding a recipe
effectify-tests Behaviour tests against the real library and local services
effectify-ui Frontend libraries on Effect UI: bindings, mounts, and tests in Chrome
effectify-sync Following upstream releases
effectify-migrate Moving an application onto a facade

How it runs

  • CI (ci.yml): for every target a pull request touches (every target when the engine's version or a workflow changes), the facade is regenerated with the pinned engine and must match what is committed, type checked with TypeScript 7, tested against the real library (Redis, Chrome, git, a temp directory), and built.
  • Release (release.yml): after CI passes on main, every facade whose version is not released yet is released.
  • Sync (sync.yml): every day, each runtime facade whose library released a newer version is studied, redrafted (keeping people's and agents' decisions), regenerated and tested, and one pull request is opened with its DRIFT.md.
  • The engine is a pinned dev dependency (@effectified/engine in package.json, a release of effectified/engine). Moving to a newer engine is one pull request that changes the pin and commits the facades it regenerates.

Not an official Effect project. MIT.

About

Effect-native facades of popular libraries, made by the effectified engine and kept by the community

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages