Adële's smolweb site

Offline version of a smolweb site

2025-03-04 05:55

So easy to make an offline version of a blog when it respects #smolweb recommendations. I've built a zim file of my web site with two command lines. wget and zimwriterfs (provided with zim-tools package) are easy to use. And it can be viewed by all zim readers such as the very good kiwix software

Mirror the site with wget

wget --mirror --convert-links --adjust-extension \
  --page-requisites --no-parent https://adele.pages.casa/

or for short

wget -mkEpnp https://adele.pages.casa/

Create the zim file with zimwriterfs

zimwriterfs --welcome=md/index.html --illustration=md/adele24.png \
  --language=eng --title=Adële --name=Adële \
  --description="Adële's smolwebsite" \
  --longDescription="A blog about smolweb, lowtech anre more..." \
  --creator="Adële" --publisher=ZimTools ./adele.pages.casa/ adele.zim

You can open the zim file with kiwix-desktop or serve it on a local web server with kiwix-server.

Result can be view on my personal kiwix instance

Links

There are other tools to build a zim file