If I wanted to create a crawler that only crawled a single site and use this as my site's search engine, what would be the best way to do that?
A crawler is probably not the best tool for this if you use some form of site generation, as you can also use it to generate the information that goes into Typesense.
There are libraries that let you do the conversion: