Kiwix server

Kiwix server

Offline access to free educational content

Kiwix is a non-profit organization and a free and open-source software project dedicated to providing offline access to free educational content. We can make highly compressed copies of entire websites that each fit into a single (.zim) file. Zim files are small enough that they can be stored on users’ mobile phones, computers or small, inexpensive Hotspot. Kiwix then acts like a regular browser, except that it reads these local copies. People with no or limited internet access can enjoy the same browsing experience as anyone else.

To get content:

  1. Browse content on https://library.kiwix.org/
  2. To download the archives (.zim files), use the “Download” link or visit https://download.kiwix.org/zim/
  3. Place the files into the ${STORAGE_KIWIX} folder
  4. Restart the container More information on the .zim files: https://download.kiwix.org/zim/README

Container: https://github.com/kiwix/kiwix-tools/pkgs/container/kiwix-serve
Applications for multiple platforms: https://kiwix.org/en/applications/
Android APK (supports sideloaded .zim files): https://download.kiwix.org/release/kiwix-android/

name: kiwix-serve
services:
  kiwix-serve:
    image: ghcr.io/kiwix/kiwix-serve:3.7.0
    container_name: kiwix-serve
    command:
      '*.zim'
    restart: unless-stopped
    volumes:
      - ${STORAGE_KIWIX}:/data
    networks:
      - proxy
    labels:
      traefik.enable: true
      traefik.http.routers.kiwix-serve.middlewares: localaccess@file
      traefik.http.routers.kiwix-serve.rule: Host(`kiwix.${MYDOMAIN}`)
      traefik.http.services.kiwix-serve.loadbalancer.server.port: 8080
      homepage.group: Media
      homepage.name: Kiwix server
      homepage.icon: kiwix.png
      homepage.href: https://kiwix.${MYDOMAIN}/
      homepage.description: Offline access to free educational content

networks:
  proxy:
    external: true