+ 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 — July 2023Rodney Lab Newsletter — July 2023

blurry low resolution placeholder imageRodney Lab Newsletter

Font spacing

Font size

🔭 Site Search: Meilisearch, Orama & Pagefind #

Three modern tools for adding search to SSGStatic Site Generator and SSRServer-Side Rendered sites. Below are some key features and differences.

Meilisearch

Powerful search database built in Rust with lightning fast searches. You can self-host or use Meilisearch cloud, performing document CRUD operations via a REST API.

  • Meilisearch cloud free trial is limited to 14 days — normally priced as USD 30 monthly
  • quick to set up within your local dev environment
  • open source, flexible API with advanced features

Orama

Orama is another project, which uses JavaScript, and plays well with Deno, Node and Vite (it has zero dependencies). There is even an Astro integration, for automatically creating a search index for your static site.

  • open source and easy to integrate with existing JavaScript or TypeScript projects
  • indexing is fast and can be performed on-demand for moderate-sized sites; handy for serverless SSR tooling
  • highly configurable; with stemming and typo tolerance parameters

Pagesearch

Designed for static sites, another lightning-fast Rust project, built for large sites.

  • JavaScript API, with search UI elements similar to more established, premium offerings
  • supports multilingual search
  • no separate hosting required — Pagesearch generates a static search bundle

What is your experience with these tools? Do you have other modern alternatives? Let me know if you want to see content on using them with your favourite framework.

🧑🏽‍💻 Follower Feedback — Rust WASM #

Rust still seems to be on the up with JavaScript developers, with quite a bit of interest in the content on Serverless Rust with Deno and Cloudflare. Personally, I have been trying out Tauri, a Rust-based alternative to Electron for creating cross-platform apps. It is fantastic with SvelteKit. I love the bindings, which let you call Rust functions from SvelteKit front end code. The Tauri SvelteKit docs are great, which might explain why I have had more questions about using Rust WASM with SvelteKit, rather than Tauri! I have some content in the pipeline on Rust WASM and SvelteKit so look out for it!

📢 Fun Finds #

  • Coding Tips — TypeScript raise function: return never again! Love this TypeScript tip from @heyImMapleLeaf via Matt Pocock. Neat for throwing an error when an environment variable is not defined, using minimal boilerplate. If you use Rust, it might remind you, a little, of the Rust expect method.

  • Productivity — Telescope: ThePrimeagen’s X thread got me using Telescope with Neovim. See the earlier edition for a fantastic getting started with Neovim/Neovide resource. For search in Neovim though, add the Telescope plugin, then use:

    • :Telescope find_files as an explorer alternative;
    • :Telescope buffers to fuzzy find an open buffer; and
    • :Telescope live_grep to find files based on their content (needs ripgrep installed).
  • Tooling — OpenSSF Scorecard: staying up-to-date with security best-practices is important, but not easy. Tooling like Dependabot goes some way with keeping projects up-to-date. If you want to take things a step further, though, try the OpenSSF Scorecard. It is designed to rate your project on best practices, though I think its strength is in highlighting best-practice gaps in your existing open source project’s workflow.

👋🏽 Until next time! #

Hope there was something valuable in here for you. As always, reach out with feedback. Here are some links to recent content, which I hope you will find useful:

  • Deno Fresh SVG Sprites: Optimized Icons
  • SvelteKit Fontaine: Reduce Custom Font CLS
  • Get Started with SvelteKit Headless WordPress
Did you find this issue useful?
  • 🔭 Site Search: Meilisearch, Orama & Pagefind
  • Meilisearch
  • Orama
  • Pagesearch
  • 🧑🏽‍💻 Follower Feedback — Rust WASM
  • 📢 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.