Since the great freedom country is going after wikipedia now, I was wondering if there was a way to selfhost it somehow.
I fear that these idiots will fuck it up in the near future. I will download the text version but is there a way to help keep it alive outside us?
Kiwix is probably the easiest / most readily available solution, but wikipedia runs on mediawiki which is also FOSS:
https://en.wikipedia.org/wiki/Mediawiki
https://www.mediawiki.org/wiki/Special:MyLanguage/DownloadI’m guessing that most of the database download options provided by wikipedia itself should be compatible with a personal wikimedia installation:
The easiest way to do it is by running a Kiwix server and hosting a copy of Wikipedia with that.
That site was a little confusing at first!
To be more precise:
- https://kiwix.org/en/applications/, scroll down to kiwix server.
- get a wikipedia dump in .zim format. AFAIU you can either get it from kiwix or get a database dump from wikipedia and convert it into .zim format.
- the rest, I’m guessing, is just running the server and pointing it to the .zim file.
The text is in not-exactly-convenient database dumps (see other commenter’s link) and there are daily diffs (mostly bot noise), but then there are the images and other media, which are way up in the terabytes by now. There are some docs, maybe out of date, about how to run the software yourself. It’s written in PHP and it’s big and complicated.
How many terabytes are we talking here? I have about 20tb free at the moment. And I could probably add more if I need. I feel like this should be a real concern for people.
Last I heard it was way more than feasible for a normie. Something like 500TB.
I suppose I don’t need all the pictures then 😄
I haven’t looked in a few years but 20TB is probably plenty. I agree that Wikipedia lost its way once it got all that attention online and all that search traffic. Everyone should have their own copy of Wikipedia. I used to download the daily incremental data dumps but got tired of it. I still have a few TB of them around that I’ve been wanting to merge.
I don’t have my glasses on right now but just reading the title, sounds like you might want this
Thank you I will look into it!