mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 11:24:57 -05:00
89 lines
3.1 KiB
Markdown
89 lines
3.1 KiB
Markdown
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="public/branding/better-auth-logo-wordmark-dark.svg">
|
|
<source media="(prefers-color-scheme: light)" srcset="public/branding/better-auth-logo-wordmark-light.svg">
|
|
<img alt="Better Auth" src="public/branding/better-auth-logo-wordmark-dark.svg" width="280">
|
|
</picture>
|
|
|
|
### Landing & Docs
|
|
|
|
The marketing site and documentation for [better-auth.com](https://better-auth.com) — built with Next.js 15, Tailwind CSS 4, and Framer Motion.
|
|
|
|
[](https://better-auth.com)
|
|
[](https://github.com/better-auth/better-auth)
|
|
[](LICENSE)
|
|
|
|
---
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# install
|
|
bun install
|
|
|
|
# develop
|
|
bun dev
|
|
```
|
|
|
|
Open **[localhost:3000](http://localhost:3000)** to preview.
|
|
|
|
## Stack
|
|
|
|
| Layer | Tech |
|
|
|:--|:--|
|
|
| **Framework** | Next.js 15 (App Router, Turbopack) |
|
|
| **Styling** | Tailwind CSS 4 |
|
|
| **Animation** | Framer Motion |
|
|
| **Docs** | Fumadocs MDX |
|
|
| **Icons** | Lucide React |
|
|
| **Fonts** | Geist Sans & Geist Mono |
|
|
|
|
## Structure
|
|
|
|
```
|
|
├─ app/
|
|
│ ├─ page.tsx # Home — hero + sign-in demo
|
|
│ ├─ products/ # Products page
|
|
│ ├─ blog/ # Blog posts
|
|
│ └─ docs/[[...slug]]/ # Documentation (MDX)
|
|
│
|
|
├─ components/
|
|
│ ├─ landing/ # Marketing components
|
|
│ ├─ docs/ # Documentation components
|
|
│ ├─ ui/ # Shared primitives
|
|
│ └─ icons/ # Brand icons & logo
|
|
│
|
|
├─ content/ # MDX documentation files
|
|
│
|
|
├─ lib/
|
|
│ ├─ source.ts # Fumadocs content source
|
|
│ └─ utils.ts # Utilities
|
|
│
|
|
└─ public/
|
|
└─ branding/ # Logo assets (SVG + PNG)
|
|
```
|
|
|
|
## Scripts
|
|
|
|
```bash
|
|
bun dev # Start dev server (Turbopack)
|
|
bun build # Production build
|
|
bun start # Serve production build
|
|
bun lint:fix # Lint & auto-fix with Biome
|
|
```
|
|
|
|
---
|
|
|
|
<p align="center">
|
|
<a href="https://better-auth.com">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="public/branding/better-auth-logo-dark.svg">
|
|
<source media="(prefers-color-scheme: light)" srcset="public/branding/better-auth-logo-light.svg">
|
|
<img alt="Better Auth" src="public/branding/better-auth-logo-dark.svg" width="36">
|
|
</picture>
|
|
</a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<sub><a href="https://better-auth.com">Website</a> · <a href="https://better-auth.com/docs">Docs</a> · <a href="https://github.com/better-auth/better-auth">Core Repo</a></sub>
|
|
</p>
|