Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose /routing/v1 HTTP APIs for proxying DHT+IPNI #12

Closed
2 of 3 tasks
lidel opened this issue Jan 16, 2023 · 0 comments · Fixed by #17
Closed
2 of 3 tasks

Expose /routing/v1 HTTP APIs for proxying DHT+IPNI #12

lidel opened this issue Jan 16, 2023 · 0 comments · Fixed by #17

Comments

@lidel
Copy link
Member

lidel commented Jan 16, 2023

part of #13

The idea behind someguy is to be a simple app that people can run to have delegated routing endpoint that performs DHT+IPNI lookups in parallel.

I believe our ecosystem still needs this: delegated DHT via a HTTP endpoint is something that will benefit JS implementations running in browser (cc @achingbrain @tinytb), mobile browsers and low-power IoT devices (cc @autonome).

Proposed next steps

Since Reframe was abandoned, someguy should be refactored to provide an endpoint compatible with GET /routing/v1/providers/{CID} from IPIP-337. This allows users to self-host and use it in their web apps.

TODO

TBD if we want to do this work without streaming support, or wait until we have it. Thoughts @aschmahmann ?

  • (MVP) implement GET /routing/v1/providers/{CID} as-is?
  • Create IPIP that extends API introduced in IPIP-337 to support streaming responses (so someguy can start responding with providers as it crawls the DHT, and does not block request for multiple seconds)
@lidel lidel changed the title Support Delegated Routing API from IPIP-337 Support DHT-based Content Routing API from IPIP-337 Jan 26, 2023
@lidel lidel changed the title Support DHT-based Content Routing API from IPIP-337 Expose /routing/v1 HTTP APIs for proxying DHT+IPNI Jun 15, 2023
@hacdias hacdias mentioned this issue Oct 10, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant