{"id":49298152,"url":"https://github.com/bigskysoftware/the-fixi-project","last_synced_at":"2026-05-02T07:01:31.841Z","repository":{"id":353820496,"uuid":"1221042890","full_name":"bigskysoftware/the-fixi-project","owner":"bigskysoftware","description":"The Fixi Project","archived":false,"fork":false,"pushed_at":"2026-04-26T02:25:04.000Z","size":88,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-26T05:02:34.119Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fixiproject.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigskysoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-25T17:16:57.000Z","updated_at":"2026-04-26T02:25:07.000Z","dependencies_parsed_at":"2026-04-28T03:00:51.448Z","dependency_job_id":null,"html_url":"https://github.com/bigskysoftware/the-fixi-project","commit_stats":null,"previous_names":["bigskysoftware/the-fixi-project"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bigskysoftware/the-fixi-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigskysoftware%2Fthe-fixi-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigskysoftware%2Fthe-fixi-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigskysoftware%2Fthe-fixi-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigskysoftware%2Fthe-fixi-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigskysoftware","download_url":"https://codeload.github.com/bigskysoftware/the-fixi-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigskysoftware%2Fthe-fixi-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32364093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-26T05:00:41.165Z","updated_at":"2026-04-29T04:00:58.168Z","avatar_url":"https://github.com/bigskysoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚲 The Fixi Project\n\n[The Fixi Project](https://fixiproject.org) is a collection of five small web libraries based on other libraries we work\non.\n\nEach library in The Fixi Project is constrained to have an *unminified, uncompressed* source size smaller\nthan the excellent [Preact](https://preactjs.org) library's [min.gz'd size](https://bundlephobia.com/package/preact) \n(~ 4.7kb).\n\n## The Libraries\n\nThe five libraries each provide independent bits of functionality, but are designed to compose well. You can mix and\nmatch them as you see fit.\n\n### 🚲 `fixi.js` - supercharged HTML\n\n`fixi.js` is the original and main library in this collection. It is based on [htmx](https://htmx.org) and, like htmx,\nmakes it possible to issue HTTP requests from elements in response to events.\n\nHere is a fixi-powered button:\n\n```html\n\u003cbutton fx-action=\"/like\" fx-method=\"post\"\u003e\n    Like\n\u003c/button\u003e\n```\n\nThis button will issue an HTTP POSt to `/like` when it is clicked and will replace itself with whatever HTML content the\nserver responds with. This simple concept is a surprisingly powerful way to build web applications.\n\nYou can read more about how fixi works on its [homepage](https://github.com/bigskysoftware/fixi).\n\n### 🥊 `moxi.js` - inline scripting \u0026 simple reactivity\n\n`moxi.js` adds inline scripting and DOM-based reactivity. It is based on [hyperscript](https://hyperscript.org) and lets\nyou put behavior directly on elements via `on-*` attributes, plus a `live` attribute that re-runs whenever the page\nchanges.\n\nHere is a moxi-powered button:\n\n```html\n\n\u003cbutton on-click=\"this.disabled = true; this.innerText = 'thanks!'\"\u003e\n    Click me\n\u003c/button\u003e\n```\n\nThis button disables itself and updates its text when clicked, without a separate `\u003cscript\u003e` block. Each `on-*` handler\nis compiled into an async function with access to helpers like `q()` (a proxy over a set of matched elements), `trigger()`,\n`wait()`, and `debounce()`.\n\nYou can read more about how moxi works on its [homepage](https://github.com/bigskysoftware/moxi).\n\n### 📡 `ssexi.js` - streaming HTML \u0026 events\n\n`ssexi.js` is a companion library for fixi that\nadds [Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) support. It is inspired\nby [htmx's SSE extension](https://github.com/bigskysoftware/htmx/blob/four/src/ext/hx-sse.js): whenever a fixi\nresponse comes back with `Content-Type: text/event-stream`, ssexi takes over the swap loop and streams each message into\nthe target as it arrives.\n\nHere is an ssexi-powered log:\n\n```html\n\n\u003cbutton fx-action=\"/events\" fx-swap=\"beforeend\" fx-target=\"#log\"\u003e\n    Start\n\u003c/button\u003e\n\u003cdiv id=\"log\"\u003e\u003c/div\u003e\n```\n\nWhen `/events` responds with an SSE stream, each `data:` line is appended to `#log`. Messages with a named `event:`\nfield fire DOM events (`fx:sse:\u003cname\u003e`) instead of swapping, which gives you a clean seam for JavaScript hooks like\nprogress or \"done\" signals.\n\nYou can read more about how ssexi works on its [homepage](https://github.com/bigskysoftware/ssexi).\n\n### ♻️ `paxi.js` - DOM patching (morphing)\n\n`paxi.js` adds a `morph` swap strategy to fixi. It is based on [idiomorph](https://github.com/bigskysoftware/idiomorph)\nand patches an existing subtree into the shape of a new one in place, matching elements by id rather than replacing them\nwholesale.\n\nHere is a paxi-powered swap:\n\n```html\n\n\u003cbutton fx-action=\"/counter\" fx-swap=\"morph\" fx-target=\"#count\"\u003e\n    Increment\n\u003c/button\u003e\n\u003cspan id=\"count\"\u003e0\u003c/span\u003e\n```\n\nWhen the server responds with an updated `\u003cspan id=\"count\"\u003e1\u003c/span\u003e`, paxi morphs the existing span instead of replacing\nthe node. The practical upshot is that focus, selection, input state, and event listeners survive a swap. It also allows\nyou to use CSS transitions.\n\nYou can read more about how paxi works on its [homepage](https://github.com/bigskysoftware/paxi).\n\n### 🐕 `rexi.js` - an ergonomic `fetch()` wrapper\n\n`rexi.js` is a small fluent wrapper around `fetch()`, inspired by [hyperscript's\n`fetch` command](https://hyperscript.org/commands/fetch/). It handles the usual boring parts of calling an HTTP endpoint\nfrom JavaScript: serializing a form or a plain object as a body, throwing on non-2xx responses, decoding the result, and\naborting on demand.\n\nHere is a rexi-powered POST:\n\n```js\nlet user = await post('/users', {name: 'carson'}).json()\n```\n\nrexi serializes the object as a JSON body, throws if the server returns an error status, and decodes the JSON response\nfor you. It also accepts `FormData`, `URLSearchParams`, or a form `Element` directly as the body, so it slots neatly\ninto moxi handlers and fixi-driven pages.\n\nYou can read more about how rexi works on its [homepage](https://github.com/bigskysoftware/rexi).\n\n## 🧰 `the-fixi-project.js`\n\nAll five libraries are also published as a single pre-concatenated, minified, and brotli-compressed bundle under the [\n`the-fixi-project`](https://www.npmjs.com/package/the-fixi-project) npm package:\n\n```html\n\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/the-fixi-project/dist/the-fixi-project.min.js\"\u003e\u003c/script\u003e\n```\n\nThe entire fixi project comes in at ~4.4kb when brotli-compressed.\n\n## Developing\n\nFrom a fresh checkout of this repo:\n\n```bash\nnpm install         # installs playwright + terser (dev-only)\nnpm run clone       # clones each sub-project repo into its directory\nnpm test            # runs the full test suite across all libraries (headless)\nnpm run build       # builds the all-in-one bundle into dist/\nnpm run serve       # serves the project over http://localhost:8000\n```\n\n`npm test` accepts a subset of project names, so `npm test rexi paxi` runs only those two.\n\n## License\n\nBSD-0 (Zero-Clause BSD) across all libraries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigskysoftware%2Fthe-fixi-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigskysoftware%2Fthe-fixi-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigskysoftware%2Fthe-fixi-project/lists"}