Kiwix is an offline solution that allows you to access educational content like Wikipedia, the Wiktionary, TED talks and many others on any computer or mobile device. Kiwix provides the offline archives in zim format on its website. In your Kiwix client you can download the archived files to read.
You can also open a zim format file and get the content with a program. For an example, use zimply:
pip install zimply
# From: https://github.com/kimbauters/ZIMply
Note that in my “Python 3.5.1” environment, the above code reports the following error:
>>> from zimply import ZIMServer
This error can be workaroud by using “Python 3.4.4” with pyenv and then install zimply. After running the “ZIMServer” with a zim file, you can use your browser to read the content in the zim file from “http://localhost:9454“.
For the zim files, Kiwix saves them under the following locations of your computer:
# Linux: /home/userx/.www.kiwix.org/kiwix/lwd7d6we.default/data/content