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
- Host: GitHub
- URL: https://github.com/chancehudson/cidbadged
- Owner: chancehudson
- Created: 2018-11-12T11:02:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-03T19:53:48.000Z (over 7 years ago)
- Last Synced: 2024-07-21T00:41:10.664Z (about 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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): [](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.