Server-side-rendering a Svelte 5 app (without Sveltekit or Vite)

Sveltekit comes with everything you need to build full-stack apps, but there are situations where you might need to 'manually' server-side render svelte components (or even a full svelte app). My use case was that I needed to render a Svelte component inside a Vercel serverless function, and upload the result to S3. And frankly, it's just plain fun to tinker and figure out how things work under the hood...

READ MORE

Using Upstash Redis as a globally distributed json store

When thinking of Redis, most people assume it's just an in-memory caching layer. But Redis can also persist your data to disk. And with the recent addition of data-types such as json objects, it just might work as a simple (but blazingly fast) json backend for your next project!

READ MORE