-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
kiwix-serve - replace all options with directory listing like a normal web server and phase away kiwix-manage #735
Comments
@evrial To me globbing is good enough to loads tons of ZIM easily. What is your exact use case? |
I want a location tree structure, globbing hundreds of devdocs*.zim isn't ideal approach. |
Just to be sure: what is the problem doing so? |
The problem is I need to restart the server each time a file is removed or updated to newer version. I wish to use folders to organize the library. |
@evrial We call this function "folder monitoring". It has been implemented once in Kiwix For Windows and Linux. It might be indeed an idea to implement it for Kiwix Server as well... but this is for sure not a replacement to kiwix-manage. |
The server simply need to scan the location tree every request/refresh of the page and show it's content to user, that's how servers operate for 50 years. |
We won't to that for sure as it would be extremly inefficient. But I keep the idea and will rephrase the whole issue as wee need to articulate the feature with other (library) "monitoring" option. |
No, it would be the same as listing a directory and display only *.zim files and folders. You did the similar work with apache plugin, it is exactly the same as mod_php, but for ZIM files. There is no place here for monitoring. |
Currently we have a weird situation that kiwix-serve doesn't accept a location, but only library.xml or individual zim files. I propose to deprecate kiwix-manage, library approach and serve a location and display only zim files and subdirectories structure like all normal servers when browsing of file tree allowed.
The text was updated successfully, but these errors were encountered: