{"id":50541293,"url":"https://github.com/bettertyped/hype-stack","last_synced_at":"2026-06-03T20:01:01.833Z","repository":{"id":360530351,"uuid":"1228278734","full_name":"BetterTyped/hype-stack","owner":"BetterTyped","description":"🚀 Fasted fullstack monorepo template in the world, built with vite, oxc, tsgo, pnpm. E2E typesafety, builds to Desktop and Web application.","archived":false,"fork":false,"pushed_at":"2026-05-26T19:14:09.000Z","size":8516,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T21:12:15.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/BetterTyped.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["prc5"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2026-05-03T20:32:44.000Z","updated_at":"2026-05-26T19:14:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/BetterTyped/hype-stack","commit_stats":null,"previous_names":["bettertyped/hype-stack"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/BetterTyped/hype-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetterTyped%2Fhype-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetterTyped%2Fhype-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetterTyped%2Fhype-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetterTyped%2Fhype-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BetterTyped","download_url":"https://codeload.github.com/BetterTyped/hype-stack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetterTyped%2Fhype-stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33876894,"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-03T02:00:06.370Z","response_time":59,"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-06-03T20:01:00.628Z","updated_at":"2026-06-03T20:01:01.815Z","avatar_url":"https://github.com/BetterTyped.png","language":"TypeScript","funding_links":["https://github.com/sponsors/prc5","https://github.com/sponsors/prc5?tier=Platinum","https://github.com/sponsors/prc5?tier=Gold","https://github.com/sponsors/prc5?tier=Silver"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\n\u003cimg src=\"./.github/assets/header.png\" alt=\"Hype Stack\" /\u003e\n\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003eThe starting point for web + desktop apps.\u003cbr/\u003eFully typed. AI-ready. Production-grade architecture.\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\nA clean, empty full-stack template.\u003cbr/\u003e\nAdd features as you need them — one command at a time.\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eGet started:\u003c/h3\u003e\n\n```bash\nnpx @hype-stack/cli create\n```\n\n\u0026nbsp;\n\n## What Is Hype Stack?\n\nHype Stack is a **modern full-stack template** — not a boilerplate packed with someone else's opinions. You get a clean, empty project with rock-solid architecture and tooling already wired up. No demo features to rip out. No dead code to clean up.\n\nBuild whatever you want from day one.\n\n\u0026nbsp;\n\n## How It Works\n\nHype Stack follows the same model as [shadcn/ui](https://ui.shadcn.com) — but for full-stack features.\n\n1. **Scaffold** your project with the CLI\n2. **Add packs** when you need them — auth, orgs, realtime, storage, desktop, and more\n3. Each pack drops production-ready code **into your codebase** — you own it, you modify it\n\n```bash\nnpx @hype-stack/cli create          # Create a new project\nnpx @hype-stack/cli add auth        # Add authentication pack\nnpx @hype-stack/cli add orgs        # Add organizations \u0026 RBAC pack\n```\n\nNo lock-in. No runtime dependency. Just code in your repo.\n\n\u0026nbsp;\n\n## Preview\n\n\u003c!-- TODO: Add a GIF or screenshot of the running app here --\u003e\n\u003c!-- Suggested: dashboard view, login screen, or desktop app window --\u003e\n\n![App Preview](./.github/assets/preview.png)\n\n\u0026nbsp;\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5?tier=Platinum\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg width=\"830\" src=\"https://raw.githubusercontent.com/prc5/sponsors/main/assets/Platinum.png\" alt=\"Platinum sponsor banner\"/\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5?tier=Platinum\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg width=\"830\" src=\"https://raw.githubusercontent.com/prc5/sponsors/main/packages/platinum/sponsorkit/sponsors.svg\" alt=\"Platinum sponsors\"/\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n## What You Get Out of the Box\n\nThe template ships with **zero features** and **everything you need to build them**:\n\n- **Monorepo** — frontend, backend, and shared packages in one repo\n- **End-to-end types** — frontend imports backend contracts directly, no codegen\n- **Rust-powered tooling** — OXC linting, formatting, Vite 8 HMR in milliseconds\n- **AI-native structure** — vertical architecture with Cursor rules and agent skills\n- **Desktop-ready** — Electron Forge pre-configured for macOS, Windows, and Linux\n- **Testing setup** — Vitest, React Testing Library, Playwright E2E ready to go\n\n\u0026nbsp;\n\n## Available Packs\n\nNeed features? Add them with a single command. Each pack installs production-grade, fully-typed code directly into your project.\n\n| Pack | What it adds |\n| ---- | ------------ |\n| **Auth** | Email/password, OAuth, email verification, password reset, sessions |\n| **Organizations** | Multi-org support, invitations, org switching |\n| **RBAC** | Role-based access control, permission gates on routes and UI |\n| **Realtime** | Typed WebSocket events, live notifications |\n| **Storage** | S3-compatible file uploads with validation |\n| **Desktop** | macOS signing, Windows installers, Linux packages, auto-update |\n| **Observability** | Sentry error tracking, PostHog analytics, structured logging |\n\n\u003e Packs are purchased separately. Run `npx @hype-stack/cli packs` to browse what's available.\n\n\u0026nbsp;\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5?tier=Gold\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg width=\"830\" src=\"https://raw.githubusercontent.com/prc5/sponsors/main/assets/Gold.png\" alt=\"Gold sponsor banner\"/\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5?tier=Gold\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg width=\"830\" src=\"https://raw.githubusercontent.com/prc5/sponsors/main/packages/gold/sponsorkit/sponsors.svg\" alt=\"Gold sponsors\"/\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n## Why Hype Stack?\n\n### Clean Slate, Not a Gutting Job\n\nMost templates give you a demo app and expect you to delete half of it. Hype Stack gives you an empty project with the hard parts already solved — monorepo wiring, type bridges, tooling, CI.\n\n### Built for AI Agents\n\nThe codebase follows a [vertical architecture](https://tkdodo.eu/blog/the-vertical-codebase) — each feature owns its routes, UI, data access, types, and tests. Bundled Cursor rules and agent skills teach LLMs exactly how to add features and follow conventions. Fast tooling gives agents sub-second feedback loops.\n\n### Zero-Codegen Type Safety\n\nNo OpenAPI specs. No code generators. The frontend imports `@hype-stack/backend` as a workspace dependency. HTTP routes and WebSocket events flow through a typed bridge — change a backend response, and TypeScript catches every mismatched consumer instantly.\n\n### One Codebase, Every Platform\n\nSame React app runs as a web SPA and an Electron desktop app. One `VITE_APP_TYPE` flag controls the split. Desktop builds are ready when you are.\n\n\u0026nbsp;\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5?tier=Silver\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg width=\"830\" src=\"https://raw.githubusercontent.com/prc5/sponsors/main/assets/Silver.png\" alt=\"Silver sponsor banner\"/\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5?tier=Silver\"\u003e\n\t\t\u003cpicture\u003e\n\t\t\t\u003cimg width=\"830\" src=\"https://raw.githubusercontent.com/prc5/sponsors/main/packages/silver/sponsorkit/sponsors.svg\" alt=\"Silver sponsors\"/\u003e\n\t\t\u003c/picture\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n## Architecture\n\n```\n┌─────────────────────────────────────────────────┐\n│                   pnpm monorepo                  │\n├─────────────────┬───────────────────────────────┤\n│  apps/frontend  │  apps/backend                 │\n│  ─────────────  │  ────────────                 │\n│  React 19       │  Hono                         │\n│  TanStack Router│  Prisma + Kysely              │\n│  HyperFetch SDK │  Zod validation               │\n│  Electron Forge │  Typed WebSockets             │\n│  shadcn/ui      │                               │\n├─────────────────┴───────────────────────────────┤\n│  packages/enums — shared permissions \u0026 config   │\n└─────────────────────────────────────────────────┘\n```\n\n\u0026nbsp;\n\n## Tech Stack\n\n| Layer      | Technology                                                |\n| ---------- | --------------------------------------------------------- |\n| Frontend   | React 19, TanStack Router, Tailwind v4, shadcn/ui, Motion |\n| Backend    | Hono, Prisma, Kysely, Zod                                 |\n| Desktop    | Electron Forge (macOS, Windows, Linux)                    |\n| Database   | PostgreSQL 17 + pgvector                                  |\n| Cache      | Valkey (Redis-compatible)                                 |\n| Tooling    | Nx, Vite 8, OXC, pnpm, TypeScript 6                       |\n\n\u0026nbsp;\n\n## Quick Start\n\n```bash\n# Create a new project\nnpx @hype-stack/cli create\n\n# Start infrastructure\ncd apps/backend \u0026\u0026 docker compose up -d \u0026\u0026 cd ../..\n\n# Run migrations\npnpm --filter backend exec prisma migrate deploy\npnpm --filter backend exec prisma generate\n\n# Launch everything\npnpm dev\n```\n\n\u003e Web app runs on Vite. Backend on Hono. Both hot-reload instantly.\n\n\u0026nbsp;\n\n## Development\n\n### Docker Services\n\n```bash\ncd apps/backend\ndocker compose up -d\n```\n\n| Service        | Port | Purpose                             |\n| -------------- | ---- | ----------------------------------- |\n| Postgres       | 5436 | Database (PostgreSQL 17 + pgvector) |\n| Valkey         | 6381 | Cache                               |\n| RustFS         | 9000 | S3-compatible object storage        |\n| RustFS Console | 9001 | Storage web UI                      |\n\n### Commands\n\n```bash\npnpm dev              # Start frontend + backend with hot-reload\npnpm build            # Production build\npnpm lint             # OXC linting\npnpm format           # OXC formatting\npnpm typecheck        # Full type checking\npnpm test             # Run all tests\n```\n\n### Testing\n\n```bash\ncd apps/backend\npnpm test:setup       # Start test containers + migrate + generate\npnpm test             # Run tests\npnpm test:clean       # Tear down test infrastructure\n```\n\n\u0026nbsp;\n\n## Our Sponsors\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/prc5\"\u003e\n\t\t\u003cimg src=\"https://raw.githubusercontent.com/prc5/sponsors/main/packages/other/sponsorkit/sponsors.svg?raw=true\" alt=\"Sponsors\" /\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u0026nbsp;\n\n---\n\n\u003cp align=\"center\"\u003e\n\u003cstrong\u003eStart empty. Add what you need. Ship fast.\u003c/strong\u003e\u003cbr/\u003e\u003cbr/\u003e\nHype Stack gives you the architecture — you choose the features.\n\u003c/p\u003e\n\n## License\n\n[MIT](https://github.com/BetterTyped/hype-stack/blob/main/License.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbettertyped%2Fhype-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbettertyped%2Fhype-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbettertyped%2Fhype-stack/lists"}