Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
/ cbor-tool Public archive

Tool to inspect and validate CBOR via CDDL

License

Notifications You must be signed in to change notification settings

p2panda/cbor-tool

Repository files navigation

cbor-tool

Tool to inspect hex-encoded CBOR data and validate it against CDDL schemata.

Usage

You can use it online here: https://wasser.liebechaos.org or follow the installation instructions below.

Install

Requirements

  • NodeJS 16
  • Ruby 2.7.5
  • cddl gem

Install manually

Make sure you have the cddl ruby gem installed, run npm install and npm start and go to http://localhost:3000.

Install via docker

docker build . -t cbor-tool
docker run -p "3000:3000" cbor-tool:latest

Install via docker-compose

The image is published on DockerHub. You can use it to install cbor-tool via docker-compose for example:

version: '3'

services:
  app:
    image: p2panda/cbor-tool:v0.1.1
    container_name: cbor-tool
    restart: always

License

MIT