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.