dnslink:// URIs
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 領域
- networking
調査の方向性
まず #544 の ipfs:// および ipns:// 仕様を読み、その後、@helia/verified-fetch における dnslink:// の処理を、独立した @helia/ipns モジュールおよび @helia/dnslink モジュールと比較します。Issue の未解決の設計上の問いが解決され、dnslink:// がサポートされるかどうか、およびその authority がどのように解釈されるかが仕様で明確に定義されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Since #544 we have specs for ipfs:// and ipns:// URIs.
ipfs:// is quite straightforward but ipns:// has always had a weird wrinkle in that the authority could be something you can resolve using a routing query for the IPNS namespace, or a DNS query for a TXT record as defined by https://dnslink.dev/
These are not the same thing, you cannot resolve an IPNS Record using DNSLink, nor can you resolve a TXT record via a routing query for the IPNS namespace.
We can't even parse the authority in the same way leading to janky looking constructs like:
let authority
try {
authority = parseAsPublicKeyHash(url.hostname)
// hooray, it's probably an IPNS name
} catch {
// what is it? lol I don't know, maybe it's a domain name?
authority = parseAsDomainName(url.hostname)
}
Internally @helia/verified-fetch introduces a dnslink:// URL protocol which simplifies handling and Helia has long separated resolution into the comparatively heavyweight (in terms of dependencies) @helia/ipns and lightweight @helia/dnslink modules.
Perhaps DNSLink should be promoted to a first class citizen in the ecosystem and we should allow dnslink:// URIs alongside ipns:// and ipfs://?
- 主要言語
- HTML
- スター
- 1.2k
- フォーク
- 250
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipfs/specs のほかの issue
-
need/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
need/triage
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
need/triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
Readme cleanup再び着手できるかも @darobin が 129 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンneed/triage P1
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
webtorrent/webtorrent#3131 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100