Well, it has several parts. There’s a little Firefox extension which collects the text from each page as it’s opened; that sends it off to a webserver running on localhost, which stores the text in an SQLite database. I then made a minimal graphical frontend with Qt to let me search the database easily. Nothing especially fancy, but very useful nevertheless.