{"id":51543975,"url":"https://github.com/izadoesdev/zephra","last_synced_at":"2026-07-09T16:01:30.693Z","repository":{"id":293905477,"uuid":"985450701","full_name":"izadoesdev/Zephra","owner":"izadoesdev","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-15T06:05:35.000Z","size":232,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-07T13:29:17.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/izadoesdev.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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-17T19:38:58.000Z","updated_at":"2026-06-23T10:08:26.000Z","dependencies_parsed_at":"2025-05-17T21:36:41.376Z","dependency_job_id":null,"html_url":"https://github.com/izadoesdev/Zephra","commit_stats":null,"previous_names":["izadoesdev/zephra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/izadoesdev/Zephra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izadoesdev%2FZephra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izadoesdev%2FZephra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izadoesdev%2FZephra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izadoesdev%2FZephra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izadoesdev","download_url":"https://codeload.github.com/izadoesdev/Zephra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izadoesdev%2FZephra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35304875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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-07-09T16:01:29.491Z","updated_at":"2026-07-09T16:01:30.686Z","avatar_url":"https://github.com/izadoesdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌪️ Zephra — \"The ultra-fast, minimalist full-stack framework\"\n\n**Tagline:** \"Breeze through your stack.\"\n\nZephra is an ultra-fast, minimalist full-stack framework designed for building modern web applications with exceptional performance and a delightful developer experience. It aims to provide a Next.js-like DX but lighter, faster, and with less bloat.\n\n## 🔧 Core Tech Stack\n\n| Layer      | Tech                | Role                             |\n|------------|---------------------|----------------------------------|\n| Runtime    | Bun                 | Lightning-fast server runtime    |\n| API        | ElysiaJS            | Typed backend with plugin system |\n| Frontend   | React               | SPA + SSR-ready rendering        |\n| Routing    | File-based (custom) | Unified routing for API/pages    |\n| Styling    | Tailwind CSS (opt.) | Fast UI prototyping              |\n| Validation | Zod                 | End-to-end schema validation     |\n| Bundling   | Bun (native)        | Optimized builds (SSR + CSR)     |\n| Tooling    | Bun dev server + CLI| DX-focused, in-house             |\n\n## 🚀 Quick Start (Development)\n\n```bash\n# Install dependencies\nbun install\n\n# Run the example app (in a separate terminal for each command)\ncd apps/example\nbun run dev         # Starts the Bun server (with hot reload)\nbun run tailwind:watch  # Runs Tailwind in watch mode\nbun build app/main.tsx --outdir dist/static --target browser --minify --watch  # Bundles client code in real-time\n```\n\nThe example app will start at http://localhost:3000 with the following endpoints:\n\n- `/api/hello` - Basic API endpoint\n- `/api/users/:id` - Dynamic API endpoint with parameters\n- `/api/items` (POST) - Method-specific API endpoint\n\nExample API calls:\n\n```bash\n# Get hello message\ncurl http://localhost:3000/api/hello\n\n# Get user with ID\ncurl http://localhost:3000/api/users/123\n\n# Create a new item\ncurl -X POST -H \"Content-Type: application/json\" \\\n  -d '{\"name\":\"New Item\",\"price\":9.99}' \\\n  http://localhost:3000/api/items\n```\n\n## 🛠️ CLI Usage\n\nYou can use the Zephra CLI to help develop your application:\n\n```bash\n# Start development server\nbun run zephra dev\n\n# Create a new API route\nbun run zephra new api users/[id]\n\n# Create a method-specific API route\nbun run zephra new api items -m post\n\n# Create a new page component\nbun run zephra new page about\n```\n\n## 📂 Project Structure\n\n```\napp/\n├── api/               # API routes (served at /api/*)\n│   ├── hello.ts      # GET /api/hello\n│   ├── items.post.ts # POST /api/items\n│   └── users/\n│       └── [id].ts   # /api/users/:id (dynamic route)\n│\n├── main.tsx          # Client entry for CSR/hydration\n└── about/           # Page route for /about\n    └── page.tsx     # React component\n```\n\n## ⚡ SSR \u0026 CSR\n\n- **SSR:** Bun + React render pages on the server for fast initial load and SEO.\n- **CSR:** Bun's native bundler outputs a browser-ready JS bundle for hydration and interactivity.\n- **Hydration:** SSR output is hydrated on the client for a seamless experience.\n- **HMR:** Currently, HMR is handled via auto-reload (full page reload) using Bun's watcher and injected scripts. True Fast Refresh/stateful HMR is not available without Babel/Webpack.\n\n## 🧪 Diagnostics \u0026 Roadmap\n\n- **Diagnostics:** In-house tools for tracking component renders, module graph, and change impact analysis are in progress.\n- **Advanced HMR:** Fast Refresh-style HMR is not available without code transforms. Future plans may include custom Bun plugins or transforms.\n- **Developer Experience:** Focus on type safety, CLI, and in-house DX improvements.\n\n## 🗺️ Roadmap\n\nSee [ROADMAP.md](ROADMAP.md) for the detailed project plan.\n\n## 🤝 Contributing\n\nDetails on contributing will be added soon. We welcome your ideas and contributions! ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizadoesdev%2Fzephra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizadoesdev%2Fzephra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizadoesdev%2Fzephra/lists"}