Skip to content

Comment on Show HN: Cascii – A portable ASCII diagram builder written in vanilla JavaScriptparent

Comments

Exactly. Make it importable and i am sold.

Maybe base64 encoded metadata under the diagram? Maybe encode in non-printable characters?

Maybe just use non-printable characters to hint where the corners of objects are?

I have thought about this a lot. I was going to do some stuff with gzip, but fundementally, I came to the conclusion that the most elegant solution (no hidden chars / extra encoded data coupled with export) might actually be training a neural net to do it. Also, this would mean being able to import diagrams that weren't even made on Cascii. Training data can be self-generated too.

Perhaps a good middle ground would just be offering the gzip dump.

v1.0.1 now has offline import/export

https://github.com/casparwylie/cascii-core

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.