Merge branch 'jonnymacbean-master'

This commit is contained in:
Nicolas Meienberger 2023-10-07 11:57:59 +02:00
commit 74cdc311f4
4 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{
"$schema": "../schema.json",
"name": "Kiwix Server",
"port": 8169,
"available": true,
"exposable": true,
"id": "kiwix-serve",
"tipi_version": 1,
"version": "3.5.0-2",
"categories": ["media"],
"description": "Kiwix Server is a web server for hosting .zim files",
"short_desc": "Kiwix Server is a web server for hosting .zim files",
"author": "Kiwix",
"source": "https://github.com/kiwix/kiwix-tools/",
"website": "https://kiwix.org/",
"form_fields": []
}

View File

@ -0,0 +1,39 @@
version: '3.9'
services:
kiwix-serve:
container_name: kiwix-serve
image: ghcr.io/kiwix/kiwix-serve:3.5.0-2
ports:
- ${APP_PORT}:8080
volumes:
- ${APP_DATA_DIR}/data/zim:/data
command: '*.zim'
restart: unless-stopped
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.kiwix-serve-web-redirect.redirectscheme.scheme: https
traefik.http.services.kiwix-serve.loadbalancer.server.port: 8080
# Web
traefik.http.routers.kiwix-serve-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.kiwix-serve-insecure.entrypoints: web
traefik.http.routers.kiwix-serve-insecure.service: kiwix-serve
traefik.http.routers.kiwix-serve-insecure.middlewares: kiwix-serve-web-redirect
# Websecure
traefik.http.routers.kiwix-serve.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.kiwix-serve.entrypoints: websecure
traefik.http.routers.kiwix-serve.service: kiwix-serve
traefik.http.routers.kiwix-serve.tls.certresolver: myresolver
# Local domain
traefik.http.routers.kiwix-serve-local-insecure.rule: Host(`kiwix-serve.${LOCAL_DOMAIN}`)
traefik.http.routers.kiwix-serve-local-insecure.entrypoints: web
traefik.http.routers.kiwix-serve-local-insecure.service: kiwix-serve
traefik.http.routers.kiwix-serve-local-insecure.middlewares: kiwix-serve-web-redirect
# Local domain secure
traefik.http.routers.kiwix-serve-local.rule: Host(`kiwix-serve.${LOCAL_DOMAIN}`)
traefik.http.routers.kiwix-serve-local.entrypoints: websecure
traefik.http.routers.kiwix-serve-local.service: kiwix-serve
traefik.http.routers.kiwix-serve-local.tls: true

View File

@ -0,0 +1,26 @@
# Kiwix Server
Kiwix Server is a .zim compatible web server: it allows you to deliver .zim files over the HTTP protocol within your local network be it a University or your own house. Simply start Kiwix-Serve on your machine, and your content will be available for anybody through their web browser. This allows you to view a website without having internet access.
**Ensure that your there are .zim files in the `${APP_DATA_DIR}/data/zim` directory otherwise the server won't launch properly and will need to be restarted**
For doumentation see [the Kiwix wiki](https://wiki.kiwix.org/wiki/Kiwix-serve)
## Features
* Full text search engine
* Search suggestions
* Really small and efficient
* Compatible with almost all browsers
* Available on all platforms
* Available as command line executable
* Embedded in Kiwix UI
* Able to deal with one ZIM file or XML library files
* [RESTful API endpoint with OPDS (XML)](https://wiki.kiwix.org/wiki/OPDS)
## What are ZIM files?
The ZIM file format is an open file format that stores wiki content for offline usage. The format is defined by the openZIM project, which also supports an Kiwix. The format is primarily used to store the contents of Wikipedia and other Wikimedia projects, including articles, full-text search indices and auxiliary files.
Download ZIM files from the [Kiwix library](https://library.kiwix.org/#lang=eng), or create your own (see [Zimit](https://www.youzim.it/))

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB