{"id":43182974,"url":"https://github.com/feunard/alepha","last_synced_at":"2026-04-13T01:18:27.127Z","repository":{"id":290949584,"uuid":"909730468","full_name":"feunard/alepha","owner":"feunard","description":"🍃 Easy-to-use modern TypeScript framework for building many kind of applications.","archived":false,"fork":false,"pushed_at":"2026-03-28T17:50:24.000Z","size":18530,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-28T18:31:44.381Z","etag":null,"topics":["bun","framework","nodejs","react","rest-api","ssr","typescript","workerd"],"latest_commit_sha":null,"homepage":"https://alepha.dev","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/feunard.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":".github/SUPPORT.md","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":"2024-12-29T16:02:47.000Z","updated_at":"2026-03-28T17:50:29.000Z","dependencies_parsed_at":"2026-02-15T02:08:20.507Z","dependency_job_id":null,"html_url":"https://github.com/feunard/alepha","commit_stats":null,"previous_names":["feunard/alepha"],"tags_count":78,"template":false,"template_full_name":null,"purl":"pkg:github/feunard/alepha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feunard%2Falepha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feunard%2Falepha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feunard%2Falepha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feunard%2Falepha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feunard","download_url":"https://codeload.github.com/feunard/alepha/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feunard%2Falepha/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":["bun","framework","nodejs","react","rest-api","ssr","typescript","workerd"],"created_at":"2026-02-01T04:02:42.772Z","updated_at":"2026-04-01T17:56:04.446Z","avatar_url":"https://github.com/feunard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e\n\u003cimg\n  src=\"https://raw.githubusercontent.com/feunard/alepha/main/packages/alepha/assets/logo.svg\"\n  width=\"128\"\n  height=\"128\"\n  alt=\"Alepha logo\"\n  valign=\"middle\"\n/\u003e\nAlepha\n\u003c/h1\u003e\n\u003cp\u003eTypeScript Framework Made Easy\u003c/p\u003e\n\u003ca href=\"https://www.npmjs.com/package/alepha\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/alepha.svg\" alt=\"npm version\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/alepha\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/alepha.svg\" alt=\"license\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/feunard/alepha\"\u003e\u003cimg src=\"https://codecov.io/gh/feunard/alepha/graph/badge.svg?token=ZDLWI514CP\" alt=\"coverage\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/alepha\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/alepha.svg\" alt=\"downloads\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## What is Alepha?\n\nFull-stack TypeScript framework for agentic era. Define your schema once — get database, API, types, and forms.\n\n- **One schema, everywhere** — Database, API validation, TypeScript types, React forms — all from one definition\n- **Full autocomplete** — Client calls server with complete type safety, zero codegen\n- **Multi-runtime** — Same code runs on Node, Bun, and Cloudflare Workers\n- **Deploy anywhere** — Cloudflare, Vercel, Docker, bare metal\n\nBuilt on predictable conventions and typed primitives — works great with AI coding assistants (BYOA).\n\nEach layer builds on the previous.\n\n| Layer        | Description | Primitives                                              |\n|--------------|-------------|---------------------------------------------------------|\n| **Core**     | DI, lifecycle, config | `$inject`, `$env`, `$module`, `$hook`, `$logger`        |\n| **Backend**  | Database, queues, storage, API | `$entity`, `$action`, `$queue`, `$bucket`, `$scheduler` |\n| **Frontend** | React with SSR, routing, i18n | `$page`, `$head`, `$atom`, `$dictionary`                |\n| **Modules**  | Users, auth, jobs, audits | `$realm`, `$job`, `$audit`, `$notification`             |\n| **Admin**    | Admin panel \u0026 auth UI | `$uiAdmin`, `$uiAuth`                                   |\n\n## Example\n\n```tsx\n// src/Api.ts\nimport { t } from \"alepha\";\nimport { $action } from \"alepha/server\";\nimport { $entity, $repository, db } from \"alepha/orm\";\n\nconst viewEntity = $entity({\n  name: \"views\",\n  schema: t.object({\n    id: db.primaryKey(),\n    createdAt: db.createdAt(),\n  }),\n});\n\nexport class Api {\n  views = $repository(viewEntity);\n\n  inc = $action({\n    schema: { // ← validates + generates OpenAPI\n      response: t.object({\n        count: t.number()\n      })\n    },\n    handler: async () =\u003e {\n      await this.views.create({});\n      return { count: await this.views.count() };\n    },\n  });\n}\n```\n\n```tsx\n// src/AppRouter.tsx\nimport { $client } from \"alepha/server/links\";\nimport { $page } from \"alepha/react/router\";\nimport type { Api } from \"./Api.ts\";\n\nexport class AppRouter {\n  api = $client\u003cApi\u003e();  // ← fully typed, zero codegen\n\n  home = $page({\n    loader: () =\u003e this.api.inc(),\n    component: (props) =\u003e \u003cdiv\u003eCounter: {props.count}\u003c/div\u003e,\n  });\n}\n```\n\n## Getting Started\n\nRequirements: [Node.js](https://nodejs.org/) 22+ or [Bun](https://bun.sh/) 1.3+\n\n```bash\n# L1: Backend only\nnpx alepha init my-api --api\n\n# L2: React frontend (with or without backend)\nnpx alepha init my-app --react\n\n# L3: Api, Frontend, Admin UI\nnpx alepha init my-saas --admin\n```\n\n## Learn More\n\n- [Documentation](https://alepha.dev)\n- [llms.txt](https://alepha.dev/llms.txt) — for AI assistants\n- [GitHub](https://github.com/feunard/alepha)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeunard%2Falepha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeunard%2Falepha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeunard%2Falepha/lists"}