https://github.com/ottomated/create-o7-app
An opinionated CLI for creating type-safe Svelte apps.
https://github.com/ottomated/create-o7-app
Last synced: 2 months ago
JSON representation
An opinionated CLI for creating type-safe Svelte apps.
- Host: GitHub
- URL: https://github.com/ottomated/create-o7-app
- Owner: ottomated
- Created: 2023-02-25T19:37:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-15T07:24:34.000Z (2 months ago)
- Last Synced: 2025-05-15T08:34:44.788Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 1.12 MB
- Stars: 419
- Watchers: 3
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-kysely - create-o7-app - An opinionated CLI for creating type-safe [Svelte](https://svelte.dev) apps. create-o7-app's template includes [Kysely](https://kysely.dev) for Edge support and fast cold starts, with all the convenience of using [Prisma](https://www.prisma.io) to define your database model.    (Templates)
README
![]()
create-o7-app
An opinionated CLI for creating type-safe Svelte apps.
pnpm create o7-app
![]()
What is the o7 Stack?
- [Svelte](https://svelte.dev)
- [Tailwind CSS](https://tailwindcss.com/)
- [Typescript](https://www.typescriptlang.org/)
- [Prisma](https://www.prisma.io/)
- [Kysely](https://github.com/kysely-org/kysely)
- [tRPC](https://trpc.io)
- [Lucia](https://lucia-auth.com/)> **Why both Prisma and Kysely?** `create-o7-app`'s template includes Kysely for **Edge support** and **fast cold starts**, with all the convenience of using Prisma for migrations.
> **Isn't Lucia Auth deprecated?** No - while the Lucia _library_ is deprecated, Lucia transitioned into a tutorial for implementing authentication, which the Auth template sets up for you.
Getting Started
First, run the CLI to scaffold your app:
```bash
pnpm create o7-app
# OR
bun create o7-app
# OR
npm create o7-app@latest
# OR
yarn create o7-app
```Then, open your new app in your favorite IDE and get started! A good place to look first is `src/routes/+page.svelte` for your frontend or `src/lib/server/routes/_app.ts` for tRPC.
## [Changelog](https://github.com/ottomated/create-o7-app/blob/main/CHANGELOG.md)
## Upcoming
- [ ] Move the tutorial to a README file
- [ ] Replace the dependency on `@tanstack/svelte-query` with a more lightweight tRPC client