peer-base / peer-pad

📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
https://peerpad.net
MIT License
678 stars 58 forks source link

Add quick utility to dump CRDT state to base64 string #268

Closed jimpick closed 5 years ago

jimpick commented 5 years ago

(and tool to print contents)

To dump, in devtools console:

peerPadDevTools.dumpState()

To print dump:

echo '' | peerpad-print-dump

I made this so I could capture the state for #267. I'm going to merge it right away so I can grab some dumps.