I like this. How does this work? Is there an api you use to obtain the text from the wiki articles?
It's very much a one-off sort of a thing that's not super well documented, but here are the sources: https://github.com/MarginaliaSearch/encyclopedia.marginalia....
It's a surprisingly light service. I used to host it on a raspberry pi 4 for a long while, and it wasn't significantly slower than it is today.
>The wikipedia contents are from OpenZIM dumps, which typically lag behind the main Wikipedia project by up to a year.
That being said, while it wouldn't be a good fit for that project, Wikipedia, et al., have a fairly robust API: <https://www.mediawiki.org/wiki/API>
(edit: too late)