Skip to content

Allow to serve a full directory of ZIM files #739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kelson42 opened this issue Apr 20, 2025 · 0 comments · May be fixed by #743
Open

Allow to serve a full directory of ZIM files #739

kelson42 opened this issue Apr 20, 2025 · 0 comments · May be fixed by #743
Assignees
Milestone

Comments

@kelson42
Copy link
Contributor

kelson42 commented Apr 20, 2025

Today kiwix-serve can serve:

  • A list of ZIM files
  • An XML library

There is no way to just give a directory and kiwix-serve will explore the library and load all the ZIM files.

To some extend, we can do that with globbing, but this is a kind of a workaround to the problem.

We should just allow to give a directory as argument and then kiwix-serve would visit the whole directory arborescence for ZIM files and load them. Any ZIM file which is not loadable (for example because not readable) should generate an error (like we already do today).

This issue is pretty much connected to #740

This issue is a follow-up of #735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants