{
  "description": "impossible-task.de can also be read over libp2p. The gateway serves the same files as https://impossible-task.de/, read-only, as HTTP/1.1 over libp2p streams (protocol /http/1.1). Paths, status codes and content types are those of the website. Methods: GET and HEAD.",
  "site": "https://impossible-task.de/",
  "peer_id": "12D3KooWM3bHsHNkgmycFRf7VMmgsoYAyY3stNUpGHDcz1KitavM",
  "multiaddrs": [
    "/dns4/impossible-task.de/tcp/4001/p2p/12D3KooWM3bHsHNkgmycFRf7VMmgsoYAyY3stNUpGHDcz1KitavM",
    "/dns4/impossible-task.de/udp/4001/quic-v1/p2p/12D3KooWM3bHsHNkgmycFRf7VMmgsoYAyY3stNUpGHDcz1KitavM",
    "/dnsaddr/impossible-task.de/p2p/12D3KooWM3bHsHNkgmycFRf7VMmgsoYAyY3stNUpGHDcz1KitavM"
  ],
  "protocol": "/http/1.1",
  "transports": "TCP with Noise or TLS and Yamux; QUIC v1",
  "url": "multiaddr:/dns4/impossible-task.de/tcp/4001/p2p/12D3KooWM3bHsHNkgmycFRf7VMmgsoYAyY3stNUpGHDcz1KitavM/http-path/index.html",
  "url_note": "A multiaddr: URL with /p2p/<id> and /http-path/<path>, and no /http component, is HTTP over /http/1.1 streams; go-libp2p's p2p/http (libp2phttp) accepts it as a request URL. A trailing /http would mean plain HTTP on the TCP port instead, which this server does not offer.",
  "index": {
    "sitemap": "/sitemap.xml",
    "protocols": "/.well-known/libp2p/protocols"
  },
  "limits": "Per IP address: 60 requests per minute, burst 20 (429 with Retry-After beyond that). Connections with no stream and no request for 30 seconds are closed. Daily caps for the whole service; when one is reached the gateway stops until it is restarted by hand.",
  "clients": {
    "go": "go-libp2p with p2p/http: libp2phttp.Host{StreamHost: h} as the http.Client transport, then GET a multiaddr: URL as above. The package github.com/libp2p/go-libp2p/p2p/http is part of the go-libp2p module (tested with v0.50.0), not a module of its own: go get github.com/libp2p/go-libp2p is enough.",
    "python": "py-libp2p 0.8.0 (Noise, Yamux, QUIC) works with a hand-written GET on a /http/1.1 stream. It installs on Python 3.12 but not on 3.14, because it pins coincurve 21.0.0.",
    "javascript": "js-libp2p 3 works over TCP and QUIC. The QUIC transport is the package @chainsafe/libp2p-quic (there is no @libp2p/quic). The server half-closes the stream after the response; in js-libp2p 3 that shows as remoteCloseWrite."
  },
  "peer_data": "GET /_peer/me and /_peer/logs over libp2p return what this service stores about your peer ID (no IP addresses). In a multiaddr: URL, escape the slash: /http-path/_peer%2Fme.",
  "privacy": "https://impossible-task.de/privacy.html",
  "license": "https://creativecommons.org/licenses/by/4.0/"
}
