Marcin Rataj

Results 1311 comments of Marcin Rataj

## Potential path to using ZIM directly ### Publishing ZIM on IPFS Something we could start doing today, is publishing `.zim` files on IPFS. IPFS CID could be listed along...

Hi friends, I've published a draft of a devgrant for adding IPFS support to kiwix-js: https://github.com/ipfs/devgrants/pull/49 Readable version: https://github.com/ipfs/devgrants/blob/devgrant/kiwix-js/targeted-grants/kiwix-js.md It tries to define steps to have kiwix-js reading Wikipedia .zim...

_(quick update on the state of things for drive-by reader)_ The current process of unpacking ZIM and tweaking HTML on per-case basis is a very, very wasteful, impossible to automate...

Related: low-hanging optimization for future builds may be adding ZIM file to IPFS using trickle-dag (`ipfs add --trickle`) which is optimized for random seeking (default is optimized for reduction of...

We have some prior art in #44 Code is 4 year old but could be a good starting point if someone has bandwidth to help with this.

In case somoneone wants to pick this up before I have spare bandwidth: simply re-use existing UI from mobile Wikipedia: https://en.m.wikipedia.org/, which already has subtle branding + search box: >...

@KiwixUser how are you downloading the ZIM? (https://download.kiwix.org/zim/wikipedia/ or IPFS mirrors?)

@BigLep ideally, yes, but I'd say it is not feasible at this stage: - [badgerv1](https://github.com/ipfs/go-ds-badger) datastore is not the default in go-ipfs ([flatfs](https://github.com/ipfs/go-ds-flatfs) is) - there is [badgerv2](https://github.com/ipfs/go-ds-badger2) - in...

For the record, I switched to `flatfs` with `sync` set to `false` and `ipfs add` in offline mode finished under 5h, which is still acceptable given no memory issues, no...

Another badger issue: https://github.com/ipfs/go-ds-badger/issues/111 (panic: slice bounds out of range)