-
Notifications
You must be signed in to change notification settings - Fork 75
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-js + IPFS = unstoppable wikipedia mirror #49
Conversation
License: MIT Signed-off-by: Marcin Rataj <[email protected]>
Hi, thanks for sharing this draft. At the beginning is written :
It looks wrong to me. Wrapping kiwix-js in a browser extension makes no difference on its ability to read huge files. In any case, it's true that the IPFS implementation will need to be tested with big ZIM files, because there are common pitfalls with them. Regarding the permalinks, there's already an unperfect and incomplete kind of similar implementation in kiwix-js, that adds the article title to the current URL. But it currently only works in jQuery mode, and there is no code to be able to read back this title and fetch the article if you copy/paste the URL. There's at least one good reason for that : in a standard browser context, we can not open a local file without user interaction (no API for that in a browser, for security reasons), which is a blocker for this kind of feature. In ServiceWorker mode, updating the window URL can probably be achieved by adding an event listener on the iframe. Regarding, the different milestones, I'd suggest to keep us informed during each milestone. i.e not wait for milestone 4 to discover what has been implemented. |
I have an experimental prototype for client-side loading of ZIM files using the replayweb.page system Here's a comment with more details about it: In theory, this should also support loading from IPFS as long as range requests are supported. This is not wikipedia specific though and is thus far designed to be generic replay of any web page(s).. It seems like it may be possible with this approach, though it is not using kiwix-js at the moment.. |
closing this in favor of an alternate implementation |
Quick notes on next steps:
|
Project Description
In this devgrant we are looking at adding permalink and IPFS support to kiwix-js project, making it a viable option for browsing distributed Wikipedia mirror from a static, regular web page.
Version for Reading
TODO