Re:Show HN: Cascii – A portable ASCII diagram builder writte...
by ftr1200 on Tuesday March 18, 2025 @09:20AM
(#43399133)
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.
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?