{"id":47249044,"url":"https://github.com/danielmschmidt/cfast","last_synced_at":"2026-04-07T13:01:03.441Z","repository":{"id":344268715,"uuid":"1174652363","full_name":"DanielMSchmidt/cfast","owner":"DanielMSchmidt","description":"CFast is a collection of composable TypeScript libraries that make building production-ready web applications on Cloudflare Workers with React Router fast, secure, and enjoyable. It is opinionated where it matters and invisible where it doesn't.","archived":false,"fork":false,"pushed_at":"2026-03-27T08:59:08.000Z","size":3120,"stargazers_count":0,"open_issues_count":27,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T06:10:36.162Z","etag":null,"topics":["better-auth","cloudflare-workers","drizzle-orm","framework","react-router-v7"],"latest_commit_sha":null,"homepage":"https://danielmschmidt.github.io/cfast/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielMSchmidt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-06T17:28:01.000Z","updated_at":"2026-03-27T08:58:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"043e2e32-c960-4de2-94a5-13d38d8f2169","html_url":"https://github.com/DanielMSchmidt/cfast","commit_stats":null,"previous_names":["danielmschmidt/cfast"],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/DanielMSchmidt/cfast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fcfast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fcfast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fcfast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fcfast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielMSchmidt","download_url":"https://codeload.github.com/DanielMSchmidt/cfast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fcfast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31513382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["better-auth","cloudflare-workers","drizzle-orm","framework","react-router-v7"],"created_at":"2026-03-14T11:11:36.266Z","updated_at":"2026-04-07T13:01:03.436Z","avatar_url":"https://github.com/DanielMSchmidt.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/website/src/assets/cfast-logo.png\" alt=\"CFast\" width=\"200\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eCFast\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003eSkip the boring parts. Build your Cloudflare Workers app.\u003c/strong\u003e\u003c/p\u003e\n\nCFast is a collection of composable TypeScript libraries that make building production-ready web applications on Cloudflare Workers with React Router fast, secure, and enjoyable. It is opinionated where it matters and invisible where it doesn't.\n\n## The Stack\n\nCFast is built around a specific, proven stack:\n\n- **Runtime:** Cloudflare Workers\n- **Framework:** React Router v7+ (file-based routing)\n- **Database:** Cloudflare D1 via Drizzle ORM\n- **Auth:** Better Auth (magic email + passkeys)\n- **Email:** Mailgun via react-email\n- **Storage:** Cloudflare R2\n- **UI:** Plugin-based (ships with MUI Joy UI)\n\n## Packages\n\n### Core\n\n| Package | Description |\n|---|---|\n| [`@cfast/env`](packages/env) | Type-safe Cloudflare bindings with runtime validation |\n| [`@cfast/permissions`](packages/permissions) | Isomorphic permission system with Drizzle-native row-level access control |\n| [`@cfast/auth`](packages/auth) | Authentication: magic email, passkeys, role management, impersonation |\n| [`@cfast/db`](packages/db) | Permission-aware Drizzle queries for D1 |\n| [`@cfast/storage`](packages/storage) | Schema-driven file uploads to R2 with multipart support |\n\n### UI \u0026 Developer Experience\n\n| Package | Description |\n|---|---|\n| [`@cfast/actions`](packages/actions) | Multi-action routes and permission-aware action definitions |\n| [`@cfast/ui`](packages/ui) | Permission-aware component wrappers (ActionButton, PermissionGate) |\n| [`@cfast/forms`](packages/forms) | Auto-generated forms from Drizzle schema |\n| [`@cfast/pagination`](packages/pagination) | Cursor-based, offset-based pagination and infinite scroll |\n| [`@cfast/admin`](packages/admin) | Auto-generated admin UI from your Drizzle schema |\n| [`@cfast/email`](packages/email) | Plugin-based email with react-email rendering |\n\n### Tooling\n\n| Package | Description |\n|---|---|\n| [`create-cfast`](packages/create-cfast) | Scaffold a fully wired project in seconds |\n\n## Philosophy\n\n1. **Permissions are first-class.** Define them once. Enforce on the server. Reflect in the UI. Compose across actions. The developer writes the permission rules and the business logic, and never touches permission plumbing again.\n\n2. **The database drives the UI.** Your Drizzle schema is the source of truth. Forms, admin panels, and CRUD interfaces are derived from it, customizable but never written from scratch.\n\n3. **Common patterns, not configuration.** Multi-action routes, infinite scroll, pagination, magic-link auth, role management. These aren't novel problems. They're solved once, correctly, and you import them.\n\n4. **Isomorphic by design.** Permission checks, validation, and data types work identically on client and server. The button knows it should be disabled before the request is ever made.\n\n## Quick Start\n\n```bash\nnpm create cfast@latest my-app\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmschmidt%2Fcfast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielmschmidt%2Fcfast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmschmidt%2Fcfast/lists"}