---
name: "zimwriterfs"
section: "1"
platform: "linux"
package: "zim-tools"
version: "3.5.0-1.2+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/zimwriterfs"
---

# zimwriterfs(1)

creates ZIM files from a locally-stored directory

## NAME

zimwriterfs - creates ZIM files from a locally-stored directory

## SYNOPSIS

**zimwriterfs** \[*mandatory arguments*\] \[*optional arguments*\] *HTML\_DIRECTORY ZIM\_FILE*

## DESCRIPTION

### Mandatory arguments:

- **-w**, **--welcome**

  path of default/main HTML page. The path must be relative to HTML\_DIRECTORY.

- **-f**, **--favicon**

  path of ZIM file favicon. The path must be relative to HTML\_DIRECTORY and the image a 48x48 PNG.

- **-l**, **--language**

  language code of the content in ISO639-3

- **-t**, **--title**

  title of the ZIM file

- **-d**, **--description**

  short description of the content

- **-c**, **--creator**

  creator(s) of the content

- **-p**, **--publisher**

  creator of the ZIM file itself

- HTML\_DIRECTORY

  is the path of the directory containing the HTML pages you want to put in the ZIM file,

- ZIM\_FILE

  is the path of the ZIM file you want to obtain.

### Optional arguments:

- **-v**, **--verbose**

  print processing details on STDOUT

- **-h**, **--help**

  print this help

- **-m**, **--minChunkSize**

  number of bytes per ZIM cluster (default: 2048)

- **-x**, **--inflateHtml**

  try to inflate HTML files before packing (\*.html, \*.htm, ...)

- **-u**, **--uniqueNamespace**

  put everything in the same namespace 'A'. Might be necessary to avoid problems with dynamic/javascript data loading.

- **-r**, **--redirects**

  path to the TSV file with the list of redirects (url, title, target\_url tab separated).

**-i**, **--withFullTextIndex** index the content and add it to the ZIM.

- **-a**, **--tags**

  tags - semicolon separated

- **-n**, **--name**

  custom (version independent) identifier for the content

## EXAMPLE

- zimwriterfs **--welcome**=*index*.html **--favicon**=*m*/favicon.png **--language**=*fra* **--title**=*foobar* **--description**=*mydescription* **--creator**=*Wikipedia* **--publisher**=*Kiwix* ./my\_project\_html\_directory my\_project.zim

  ## REPORTING BUGS

- Report bugs to \<https://github.com/openzim/zimwriterfs\>.
