+ HAVE MORE+ ASK FOR MORE
RODNEY LAB NEWS
  • Newsletter
  • Tutorials
  • Blog
RODNEY LAB NEWS
  • Newsletter
  • Tutorials
  • Blog

Subscribe to the newsletter

By subscribing, you agree with our Terms of Use and Privacy Policy.
READING TIME: 3 MINUTES

Rodney Lab Newsletter — October 2022Rodney Lab Newsletter — October 2022

blurry low resolution placeholder imageRodney Lab Newsletter

Font spacing

Font size

💾 Pick of the month — Directus #

Have you tried Directus yet? It’s a content management system backed by an SQL database with some great developer and user experience features. For example, you can upload data to the DBDatabase as JSON files. Another feature I liked was the image APIApplication Programming Interface. Once you upload your full-res JPEG images, their API makes any sharp plugin transformation available. As well as generate smaller WebP images, you can resize for responsive image sets or thumbnails, or even apply sharp image transforms.

We used Directus in the latest Plus tutorial to store product data and images for a SvelteKit eCommerce site using Snipcart. Nice linking Directus right through from JSON inputs to the site and onto eCommerce structured SEOSearch Engine Optimization data loved by Google.

🖥️ Follower Feedback #

Thanks for all your feedback and post ideas. My favourite recently was to write a blog post on deploying a SvelteKit node app. With services like Cloudflare, Netlify and Render offering free or affordable hosting, and let’s not forget convenience, it’s been a while since I spun up a self-managed Linux server. Doing so does bring a lot of advantages. For example, we were able to run node on the server and use the sharp image plugin. There is also much scope for optimization with nginx caching, plus Redis caching at no extra cost. It’s not ideal for every project, though, I still recommend trying it out on a hobby project — not just for the enjoyment but also to keep skills current.

Was fun using this app as an excuse to try out some future CSS using :has in hover images and springy overscroll. The two part post, was split into building the site locally and deploying to Linode. You can jump straight in to the second one if you’re not as excited by the CSS as I am!

📢 Fun Finds #

  • Git Repo — Whisper Speech-to-Text: already amazed at how awesome Google and Descript transcription are, I was mind-blown to try out Whisper. On a GPUGraphics Processing Unit: computing chip originally designed for graphics but frequently used for machine learning tasks., it took about four minutes to transcribe a minute of audio (was about an hour per minute on my local machine 😅). The accuracy was impeccable, it seemed to pick up the context too; correctly capitalizing technical terms.
  • Tooling — vite-node - if you have projects where you need to run node scripts, before or after your build, it can be annoying to make import aliases ($lib in SvelteKit or ~components in Astro) work when your script needs to reference them. vite-node takes care of this for you and supports TypeScript too. Config is fairly straightforward.
  • Resources — web.dev patterns: check out this site. There’s example code for just about any Web API you can imagine.

👋🏽 Until next time! #

Hope there was something valuable in here for you. As always, reach out with feedback and until next time, here are a few highlight posts/tutorials:

  • Get started with SvelteKit Headless WordPress
  • Fastify GraphQL API Stack
  • Trying out Deno Fresh
Did you find this issue useful?
  • 💾 Pick of the month — Directus
  • 🖥️ Follower Feedback
  • 📢 Fun Finds
  • 👋🏽 Until next time!

Subscribe to Email and RSS

If a friend or colleague forwarded this to you, and you like it, you can subscribe to receive the newsletter in your inbox, but you don’t have to! If you prefer, subscribe to the newsletter RSS feed or just even check back to see the latest newsletter issue once a month.

Ask for more

1 Nov 2022—Astro Server-Side Rendering: Edge Search Site
3 Oct 2022—Svelte eCommerce Site: SvelteKit Snipcart Storefront
1 Sept 2022—Get Started with SvelteKit Headless WordPress

Copyright © 2022 – 2025 Rodney Johnson. All Rights Reserved. Please read important copyright and intellectual property information.

  • Home
  • Profile
  • Plus
  • Newsletter
  • Contact
  • Links
  • Terms of Use
  • Privacy Policy
We use cookies. Some (optional) cookies help to work out which content visitors find most useful. Please click the “Options” button to make a choice. Learn more here.

Some cookies are set in order to move around the website and use its features. Without these cookies, services cannot be provided.

We use our own web analytics cookie to help us know which content is most useful and give us an idea of the audience. The cookie code creates a random identifier for each new session. It associates a time stamp, your browser user agent, locale and country with the session when that information is available. If you came here from another page, we will also associate that referring page with the session identifier when that information is available. Please see the Privacy Policy for further details. The web analytics cookie is optional.