Static site full text search with Hugo, S3, Python and JS | NotesToSelf.Dev
Static sites are great for their speed and ease of deployment at low cost. One thing they might seem to miss out on is full-text search, but you can actually achieve reasonable full-text search functionality on a static site with a fairly simple solution.
This approach can be expanded in various ways to offer more functionality, but the basic core of it is:
Use Python to iterate all of the searchable items, and create an index.
notestoself.dev