I have a website that I have written out in plain old HTML and CSS, and want to integrate a search function into it. However, the site is meant to be run offline, from host machines in their local web browsers (i.e. without an internet connection).
I realize that I could easily integrate a search using a mySQL database, though that would require everyone to have a mySQL database running on their computer with the proper data. I was wondering if it would be possible to integrate a search box that wouldn't need to connect to a database (or at least one that didn't require an AMP stack running on each user's local machine).
I have searched around and haven't been able to find a solution to a similar problem. The search doesn't have to be simple, just something that would be able to present the titles of HTML pages in a list (I don't need the content of each HTML document to be searched, just the titles of each page). I was thinking there might be some way to return the titles and descriptions of each page for the search either using each page's <meta>
tags, or by having a plain text document at the site root with a listing of all of the pages. Any help would be greatly appreciated!