Documentation site for LeafLock - A secure notes application with end-to-end encryption and real-time collaboration.
Modern Authentication with Clerk - LeafLock now uses Clerk for professional-grade authentication!
- Social Logins: Google, GitHub, and more
- Passwordless Authentication: Magic links, passkeys
- Multi-Factor Authentication: TOTP, SMS, backup codes
- Enterprise Security: Automatic breach detection, bot protection
- Beautiful UX: Accessible, themed authentication components
Get Started with Clerk Authentication →
docs/
├── src/content/docs/
│ ├── authentication/ # Clerk authentication guides
│ ├── architecture/ # System architecture
│ ├── features/ # Feature documentation
│ ├── deployment/ # Deployment guides
│ ├── operations/ # Operations & maintenance
│ ├── api/ # API documentation
│ ├── troubleshooting/ # Common issues & solutions
│ └── legal/ # Legal & compliance
├── src/assets/ # Images and assets
├── public/ # Static files
└── astro.config.mjs # Astro configuration
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
pnpm install |
Installs dependencies |
pnpm dev |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm astro ... |
Run CLI commands like astro add, astro check |
pnpm astro -- --help |
Get help using the Astro CLI |
- Quick Start - Get Clerk running in 5 minutes
- Implementation Details - Technical architecture
- Migration Guide - Move from JWT to Clerk
- Configuration Reference - All config options
- Troubleshooting - Fix common issues
- Start the docs server:
pnpm dev - Build for production:
pnpm build - Preview build:
pnpm preview
- LeafLock Repository: https://github.com/RelativeSure/LeafLock
- Clerk Documentation: https://clerk.com/docs
- Starlight Documentation: https://starlight.astro.build/
- Astro Documentation: https://docs.astro.build