Digital notebook for free programming courses, downloadable study notes, and personal hobbies.
Website: notebook.dcdavidev.me
- Next.js (App Router) with React and TypeScript
- Material UI with CSS theme variables and multiple color palettes from Coolors
- Tabler Icons
- Supabase for accounts (sign-in with Google, GitHub, and Facebook)
- Fontsource fonts: Satisfy (site title), Inter (text), and PT Mono (quotes and code)
- pnpm as package manager
- Spellbookx toolchain: ESLint, Prettier, CSpell, Commitlint, and cz-git
- Lefthook for Git hooks
Requirements: Node.js 26 (the version in .nvmrc) and pnpm.
pnpm install
pnpm devOpen http://localhost:3000 in your browser.
Sign-in uses Supabase. Copy .env.example to .env.local and fill in the URL and publishable key of your Supabase project. Without them, the site works without accounts. The database schema is in supabase/migrations, and the decision is in ADR-0017.
| Script | Description |
|---|---|
pnpm dev |
Start the development server |
pnpm build |
Build for production |
pnpm start |
Start the production server |
pnpm lint |
Lint and auto-fix with ESLint |
pnpm fmt |
Format with Prettier |
pnpm spellcheck |
Check spelling with CSpell |
pnpm typecheck |
Type-check with TypeScript |
pnpm check |
Run lint, format check, spellcheck, and type-check |
pnpm commit |
Write a Conventional Commit with the czg prompt |
The key technical decisions and their reasons are recorded in docs/decisions.
Read CONTRIBUTING.md and the Code of Conduct. To report a vulnerability, follow SECURITY.md.