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.
- Host: GitHub
- URL: https://github.com/dysbulic/xml-to-ipld
- Owner: dysbulic
- Created: 2021-03-26T17:22:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-29T10:28:19.000Z (almost 4 years ago)
- Last Synced: 2025-02-03T23:57:29.010Z (4 months ago)
- Topics: ipld, muxing, xml
- Language: JavaScript
- Homepage: https://dysbulic.github.io/xml-to-ipld
- Size: 84.8 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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`