Scraper (Python code) has been moved to the scraper subfolder
Vue.JS is now used as main UI framework; all of its code is in the zimui subfolder; it is rendered with Vite to produce a static website.
Vuetify has been installed and setup
QA and Tests workflows have been adapted
to the new folder structure
to also QA and Test the Vue.JS part
precommit hooks have been configured for the Vue.JS part
Dockerfile has been adapted to first build the Vue.JS part in a dedicated stage and then embed the generated files into the final Python-based image
New CLI argument --zimui-dist has been added to specify the folder where zimui has been built
Switched to "on-the-fly" items addition to the ZIM by using Creator instead of make_zim_file
Disclaimer: From this point, the scraper is intentionally quite broken in the sense that it does not create a usable ZIM anymore since we had to comment out significant code portions to move to the new ZIM UI and Creator.
Changes:
scraper
subfolderzimui
subfolder; it is rendered with Vite to produce a static website.--zimui-dist
has been added to specify the folder where zimui has been builtCreator
instead ofmake_zim_file
Disclaimer:
From this point, the scraper is intentionally quite broken in the sense that it does not create a usable ZIM anymore since we had to comment out significant code portions to move to the new ZIM UI and Creator.Closes #205