A miniblog that catalogues the things I learn day-to-day in software development.
Inspired by the TIL blogs of Hashrocket and Simon Willison and to "learn in public" by swyx.
- Framework: Sveltekit
- Styling: Tailwind CSS
- ORM: Drizzle
- Database: Turso
- Deployment + Serverless Functions: Cloudflare Pages
# Setup
pnpm i
pnpm db:setup
pnpm dev
-
To scaffold a new post:
pnpm scaffold-post
-
To seed post stats to database:
pnpm db:seed-stats
Note: If you're using a local db, this must be done after publishing a post since stats are only updated by the API and never inserted. Production database is automatically updated by CI on pushes to main.
-
To migrate database schema changes:
pnpm db:migrate
Please review the license and ensure you change the personal information in src/lib/core/config.ts
before deploying.
You're free to retain the posts since it's meant to be knowledge that's shared :)