Provide a webui + geoip CID (a folder linking to the webui and geoip CIDs directly), making it easy to pin the geoip data

オープン
#1,936 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

webui.ipfs.io の CID の動作から始め、ipfs-geoip の src/lookup.js の 11 行目を確認してください。この行では、分離された geoip CID が特定されています。webui を解決してピン留めすると geoip データもピン留めされ、別の CID を手動で見つけなくても webui がオフラインですばやく動作すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

help wanted P3

Describe the bug

ipfs pin add $(ipfs name resolve webui.ipfs.io)

doesn't pin the geoip data.

Expected behavior
Pinning the webui should in an offline first manner, download the application fully.
To do so the CIDs published at webui.ipfs.io should embed a link to the geoip data.

Additional context
Loading the webui from IPFS can be slow, I expect that pinning the webui would cache it locally and make that fast.
It mostly works, however it doesn't fully, the geoip data is not pinned and just as slow.

You actually have find out by some dark magic that https://github.com/ipfs-shipyard/ipfs-geoip/blob/5b85b6d94d3ae40d20392ba40e156760d7d61886/src/lookup.js#L11 is the other thing you need to pin.

Pinning this CID substantially increase the peer tab speed. (like from ~>30s to resolve everything to ~<3s).

主要言語
JavaScript
スター
1.6k
フォーク
539
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ipfs/ipfs-webui のほかの issue

ipfs/ipfs-webui の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。