matteing.com
My personal website
- Easy to host: Website is statically generated on Vercel.
- Fast: static site generation, image optimization w/ placeholders, incremental static regeneration.
This website is built using the following technologies:
- React
- TypeScript
- NextJS
- TailwindCSS
Node and pnpm versions are managed by mise.
mise trust
mise install node pnpm
mise run setup
mise run devUse mise run build for a production build and mise run test for tests.
Configure .env.local using .env.example: Apple Music tokens, the blog's
MUSIC_SYNC_URL, and a MUSIC_SYNC_SECRET matching the server. The server also
needs REDIS_URL for playback state.
From the repo in iTerm, run:
caffeinate -i mise run music:syncLeave the tab open; Ctrl+C stops syncing. On macOS, caffeinate prevents idle
sleep while it runs. Syncing needs no site dependency install. Playback is
estimated from account history and starts after the next track change.
