Skip to content
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

Support Kiwix User library folder as input #7

Open
rgaudin opened this issue Jan 28, 2025 · 3 comments
Open

Support Kiwix User library folder as input #7

rgaudin opened this issue Jan 28, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@rgaudin
Copy link
Member

rgaudin commented Jan 28, 2025

Current design revolves around a careful queries to add torrents.

One very handy useful use case might be for an existing kiwix-serve or kiwix desktop/apple user to simply seed his ZIM folder.
The main difference would be that the user doesn't query on the seeder but instead uses Kiwix normally and the seeder would look for ZIMs in the specified folder to match books or titles and then torrents.

The only issue with this would be that ZIMs would get added/removed outside of the lifecycle of Kiwix.

  • there's a feature on kiwix-desktop to watch a folder I believe, we'll have to promote that in the seeder/doc
  • macOS version does not have such feature. We'll have to open a ticket for it.
@rgaudin rgaudin added the enhancement New feature or request label Jan 28, 2025
@kelson42
Copy link

One very handy useful use case might be for an existing kiwix-serve or kiwix desktop/apple user to simply seed his ZIM folder.

This should be the role of Kiwix - to share the content - if the initiative to download ZIM file comes from Kiwix itself, see kiwix/kiwix-desktop#532.

The main difference would be that the user doesn't query on the seeder but instead uses Kiwix normally and the seeder would look for ZIMs in the specified folder to match books or titles and then torrents.

If the seeder should follow on the ZIM downloaded on Kiwix, then I believe this is not a use case for the seeder.

The only issue with this would be that ZIMs would get added/removed outside of the lifecycle of Kiwix.

* there's a feature on kiwix-desktop to watch a folder I believe, we'll have to promote that in the seeder/doc

* macOS version does not have such feature. We'll have to open a ticket for it.

If Kiwix will follow the decision (of download) of the seeder, then indeed the directory monitoring feature is there and indeed Kiwix for macOS should have it (but we are not there yet, see kiwix/kiwix-apple#627 for example).

@rgaudin
Copy link
Member Author

rgaudin commented Jan 28, 2025

I share your opinion completely and hope that we ultimately get there but what's in this ticket is just a couple hours of python 😉

@benoit74
Copy link

Having multiple tools capable of doing more or less the same thing is not particularly a problem from my perspective, more a significant advantage:

  • more robustness, should one tool stop to work we still have a solution available
  • more opportunities, some users might prefer one solution, others might prefer another one

Of course we should take care of our limited development resources, but being able to seed ZIMs which have been downloaded by "anything external to the kiwix-seeder" is definitely a big feature IMHO, and price to pay is indeed very low.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants