2022-06-29 10:05:09 +02:00
|
|
|
### How to add zim files?
|
|
|
|
|
2023-08-13 12:49:32 +02:00
|
|
|
#### Add a zin file through its URL
|
|
|
|
- Click on the "Upload content" tab above.
|
|
|
|
|
|
|
|
#### Add a zim file by hand
|
2022-06-29 10:05:09 +02:00
|
|
|
- Download one or more ZIM files, e.g. from [https://download.kiwix.org/zim/](https://download.kiwix.org/zim/)
|
2023-05-01 12:44:37 +02:00
|
|
|
- Put the ZIM files into `__DATA_DIR__`
|
2022-06-29 10:05:09 +02:00
|
|
|
- Add them to the library with the following command:
|
|
|
|
```
|
2023-05-01 12:44:37 +02:00
|
|
|
__INSTALL_DIR__/kiwix-manage __DATA_DIR__/library.xml add __DATA_DIR__/*.zim
|
2022-06-29 10:05:09 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
- Restart the service:
|
|
|
|
|
|
|
|
`yunohost service restart kiwix`
|