2 -
So I started with a collection of text files linked to one another through hyperlinks. I wrote a small parser to interpret those references and a minimal server to serve everything as HTML. When the number of documents started to grow, I wrote importers to convert texts from encyclopedias, dictionaries, and other open sources into the same format, and began using SQLite only as an index to store IDs, links, and relationships without having to scan thousands of files on every request.