Orama Search Integration with Astro
Introduction
I rewrote my my personal website that you are on right now to Astro recently and was interested in adding a search feature that will help users to filter through my blog posts. I was looking for a pre-made solution out there when I found out that there is an open-source solution called Orama out there.
I developed this website as a SSR (Server-side rendered), with that choice you know that I wanted to make my life difficult. If you are looking to just create a blog site I would recommend you to go with SSG (Static site generation) as Astro supports lot of features out of the box for SSG.
Here I will be guiding you on how to integrate orama search to Astro on SSG and SSR:
Static Site
If you are developing your site as an SSG, Orama provides a plugin that you can use with minimal work.
Server Side
In progress...