{"id":48605945,"url":"https://github.com/bosapi/bosia","last_synced_at":"2026-06-07T00:01:42.305Z","repository":{"id":345464260,"uuid":"1185780299","full_name":"bosapi/bosia","owner":"bosapi","description":"Bosia is a fullstack framework built on Bun + Svelte 5 + ElysiaJS. It provides SvelteKit-like DX (file-based routing, load functions, layouts, hooks) with faster builds (Bun.build instead of Vite) and fewer dev bundles.","archived":false,"fork":false,"pushed_at":"2026-06-01T06:13:49.000Z","size":2928,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-01T08:13:27.257Z","etag":null,"topics":["bun","elysia","framework","fullstack","ssr","svelte"],"latest_commit_sha":null,"homepage":"https://bosia.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/bosapi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"ROADMAP.md","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-18T23:55:12.000Z","updated_at":"2026-06-01T06:13:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"246ab53e-b6aa-4a81-bedb-1b6527e42453","html_url":"https://github.com/bosapi/bosia","commit_stats":null,"previous_names":["bosapi/bunia","bosapi/bosbun"],"tags_count":54,"template":false,"template_full_name":null,"purl":"pkg:github/bosapi/bosia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bosapi%2Fbosia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bosapi%2Fbosia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bosapi%2Fbosia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bosapi%2Fbosia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bosapi","download_url":"https://codeload.github.com/bosapi/bosia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bosapi%2Fbosia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34003814,"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-06-06T02:00:07.033Z","response_time":107,"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":["bun","elysia","framework","fullstack","ssr","svelte"],"created_at":"2026-04-09T00:00:20.159Z","updated_at":"2026-06-07T00:01:42.236Z","avatar_url":"https://github.com/bosapi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bosia\n\nA fast, batteries-included fullstack framework — SSR · Svelte 5 Runes · Bun · ElysiaJS.\n\n**Production-ready out of the box** — built-in security (CSRF, XSS escaping, secure cookies, security headers), performance (response cache, gzip, static asset caching, prerendering), and reliability (graceful shutdown drain, request backpressure, crash backoff).\n\nFile-based routing inspired by SvelteKit, built on top of the Bun runtime and ElysiaJS HTTP server. No Node.js, no Vite, no adapters.\n\n## Features\n\n- **File-based routing** — `+page.svelte`, `+layout.svelte`, `+server.ts`, route groups, dynamic segments, catch-all routes\n- **Server-side rendering** — every page is rendered on the server with full hydration\n- **Server loaders** — `+page.server.ts` and `+layout.server.ts` with `parent()` data threading\n- **API routes** — `+server.ts` exports HTTP verbs (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `OPTIONS`)\n- **Middleware hooks** — `hooks.server.ts` with `sequence()` for auth, logging, locals\n- **Dev server with HMR** — file watcher + SSE browser reload, no page blink\n- **Tailwind CSS v4** — compiled at build time, shadcn-inspired design tokens out of the box\n- **CLI** — `bosia create`, `bosia dev`, `bosia build`, `bosia add`, `bosia feat`\n\n## Documentation\n\nFull documentation available at [bosia.dev](https://bosia.dev).\n\n- [Getting Started](docs/src/content/docs/getting-started.md)\n- [Project Structure](docs/src/content/docs/project-structure.md)\n- [Routing](docs/src/content/docs/guides/routing.md)\n- [Server Loaders](docs/src/content/docs/guides/server-loaders.md)\n- [API Routes](docs/src/content/docs/guides/api-routes.md)\n- [Form Actions](docs/src/content/docs/guides/form-actions.md)\n- [Middleware Hooks](docs/src/content/docs/guides/middleware-hooks.md)\n- [Environment Variables](docs/src/content/docs/guides/environment-variables.md)\n- [Styling](docs/src/content/docs/guides/styling.md)\n- [Security](docs/src/content/docs/guides/security.md)\n- [CLI Reference](docs/src/content/docs/reference/cli.md)\n- [API Reference](docs/src/content/docs/reference/api.md)\n- [Deployment](docs/src/content/docs/reference/deployment.md)\n- [SvelteKit Differences](docs/src/content/docs/reference/sveltekit-differences.md)\n\n## Monorepo Structure\n\n```\nbosia/\n├── apps/\n│   └── demo/          # Example app showing routing, loaders, API, hooks\n└── packages/\n    └── bosia/         # Framework package (CLI + core + templates)\n```\n\n## Quick Start\n\n```bash\n# Scaffold a new project\nbun x bosia create my-app\ncd my-app\n\n# Start development\nbun run dev\n\n# Build for production\nbun run build\nbun run start\n```\n\nSee [Getting Started](docs/src/content/docs/getting-started.md) for a full walkthrough.\n\n## Tech Stack\n\n| Layer       | Technology                                 |\n| ----------- | ------------------------------------------ |\n| Runtime     | [Bun](https://bun.sh)                      |\n| HTTP Server | [ElysiaJS](https://elysiajs.com)           |\n| UI          | [Svelte 5](https://svelte.dev) (Runes)     |\n| CSS         | [Tailwind CSS v4](https://tailwindcss.com) |\n| Bundler     | Bun.build                                  |\n\n## Monorepo Development\n\n```bash\n# Install all workspace dependencies\nbun install\n\n# Run the demo app in dev mode\ncd apps/demo\nbun run dev\n```\n\n## Roadmap\n\nSee [ROADMAP.md](ROADMAP.md) for what's done, what's next, and the full plan toward production readiness.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbosapi%2Fbosia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbosapi%2Fbosia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbosapi%2Fbosia/lists"}