PaintingWithCode / til

💡 Today I Learned miniblog

Home Page:https://til.paintingwithco.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Today I Learned

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.

Stack

Running locally

# Setup
pnpm i
pnpm db:setup

pnpm dev

Shell Commands

  • 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

Cloning / Forking

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 :)

About

💡 Today I Learned miniblog

https://til.paintingwithco.de

License:Other


Languages

Language:TypeScript 41.0%Language:Svelte 40.7%Language:JavaScript 9.3%Language:CSS 7.6%Language:HTML 1.0%Language:Mustache 0.5%