Skip to content

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

Comments

Nice! Yea it should be easy to use the internal layerManager.import and .encodeAll

This might break state for the online version, but I can do some tweaks and get it merged if you open the PR.

to be clear, the short url feature is useful in that other people can easily edit / update diagrams they see referenced in code comments. If privacy is a concern and you're not distributing the diagram, then indeed exporting JSON is a good way to go.

Having an AI engine understand ascii diagrams and output the JSON would be ideal. Till then here is the PR (1) for a simple import and export.

(1) https://github.com/casparwylie/cascii-core/pull/5

AboutSource Built by g1lg1l

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