Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
docs: update readme with api info (#11)
Browse files Browse the repository at this point in the history
Updates the readme to link to the ipni spec and also http routing v1.

Fixes #3

---------

Co-authored-by: Steve Loeppky <[email protected]>
  • Loading branch information
achingbrain and BigLep authored Aug 5, 2023
1 parent 251be23 commit 07eeff4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@
## Table of contents <!-- omit in toc -->

- [About](#about)
- [Install](#install)
- [Browser `<script>` tag](#browser-script-tag)
- [Example](#example)
- [API Docs](#api-docs)
- [License](#license)
- [Contribution](#contribution)

## About

This is an implementation of the libp2p [content routing interface](https://libp2p.github.io/js-libp2p-interfaces/interfaces/_libp2p_interface_content_routing.ContentRouting.html) that uses an [IPNI](https://github.com/ipni/specs) HTTP endpoint.

An alternative is [HTTP Routing V1](https://github.com/libp2p/js-reframe-content-routing) (previously known as Reframe) but the advantage of IPNI at least as of 2023-05-19 is that it returns results in a streaming fashion which can be faster. Note that this will change with the rollout of [IPIP-410](https://github.com/ipfs/specs/pull/410), at which point one can use the HTTP Routing V1 interface/implementation directly.

## Install

```console
Expand Down

0 comments on commit 07eeff4

Please sign in to comment.