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

https://github.com/dysbulic/xml-to-ipld

React app to convert an XML document into an IPFS DAG.
https://github.com/dysbulic/xml-to-ipld

ipld muxing xml

Last synced: 2 months ago
JSON representation

React app to convert an XML document into an IPFS DAG.

Awesome Lists containing this project

README

        

# XML-to-IPLD

*Ceramic is undergoing significant refactoring as it nears mainnet release, and the Ceramic examples are broken for the time being.*

A simple React app to take a DOM tree and serialize it to IPFS's IPLD data structure or the Ceramic Network's "tile" documents.

Each level in the tree be a separate document with references to its children.

In this situation, updates will only replace those levels that changed, making for for efficient storage and cache invalidation.

## Generating Ceramic Document IDs

A copy of the document definition IDs is checked into the repo, but should you need to generate a new set, the method is:

* `RANDBYTES=$(node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")`
* `SEED=$RANDBYTES yarn bootstrap`