Holly's Briars

You are viewing a single post out of many.

If you happen to like what you're reading, go here to read more and unpack the rest of this mess.


Click on a #tag to jump to that post category, or go here to visit the archive.


Searching for Meaning

  • 2023-09-03
  • 20:15

I'm thinking about how to implement a search engine for this website. Since I rent the server from Hetzner and manage the OS and all software packages, I have a bit of freedom when it comes to my tech stack.

My requirements:

  • Server side
  • Fast
  • No javascript whatsoever

What about tinysearch? It ticks all of the boxes except for javascript.

So how am I going to do this? Here are the technical specs for this site:

Static Site Generator: Zola
Web Server: Static Web Server
Git Web: rgit / GitHub mirror
Reverse Proxy: Caddy Docker Proxy

With that in said, almost my entire software stack is Rust-based. I almost think that I can create a server application that can utilize Zola's search index and render the results in realtime using Tide and Tera, without javascript. I really hate javascript... If I can do that, I can then create a /search slug and use the reverse proxy to forward traffic to the application.

I need to think about this.