ipfs / ipfs/ipfs-webui

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

Open
#1,936 2 comments 0 reactions 0 assignees View on GitHub
help wanted P3
Dominant language
JavaScript
Stars
1.6k
Forks
534
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

```bash
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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.