openzim / openzim/cms

Publish ZIM files to IPFS

Open
#128 14 comments 0 reactions 2 assignees View on GitHub

@kelson42 is already working on this.

Since Feb 13, 2021.

enhancement question
Dominant language
Python
Stars
7
Forks
1
Avg merge
15h 20m
Merged PRs (30d)
18

Description

We are moving forward to use IPFS as (part of) distribution strategy.

Therefore we need to publish (part of) all of our ZIM files on IPFS.

The uploading of ZIM files is usually the duty of Zimfarm, the "CMS" been then in charge to decide if we put them in the official published library (or not).

The point here is that there is a difficulty because:

  • To avoid storage duplication (or large transfers), the IPFS node has to run on download.kiwix.org
  • The IPFS node will take a bit of time to read the whole file and compute the IPFS hash/URL

Therefore I believe the zimfarm-receiver Docker container which runs on download.kiwix.org should somehow require the IPFS-node Docker container to read/share the new ZIM file and then give back the IPFS URL.

Maybe we could achieve to get the ZIM file hashed at zimfarm-receiver demand and then been put online (sharing within the DHT network) one time the CMS decided to publish the file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.