An open API service indexing awesome lists of open source software.

https://github.com/chancehudson/cidbadged

http server for svg content identifier badges
https://github.com/chancehudson/cidbadged

Last synced: over 1 year ago
JSON representation

http server for svg content identifier badges

Awesome Lists containing this project

README

          

# cidbadged

A zeit lambda for accessing content identifier badges. See [cidbadge](https://github.com/jchancehud/cidbadge) for examples of badges.

## Example

Example cid for [commontheory.io](https://commontheory.io): [![cid](https://cidbadged.ctheory.io/commontheory.io)](https://cidbadged.ctheory.io/commontheory.io?redirect=true)

## API

`/:cid` - Returns a badge for the supplied cid

`/:domain` - Resolves for a dnslinked cid record

## Redirecting

The http server will `301` redirect to the ipfs gateway when passed the query parameter `redirect=true`.

## Note

This package is not maintained by, or affiliated with IPFS or Protocol Labs.