This is superb. Will you consider adding support for pgfplots[1]? When I was a student I was long considering writing a native application for real-time TikZing.

[1]: https://ctan.org/pkg/pgfplots?lang=en

I think pgfplots should in principle be possible. I've postponed it thus far because pgfplots is GPL licensed, while the editor is MIT licensed, so I would need to distribute pgfplots support as a separate add-on. But in due course, putting in add-on infrastructure could make sense, because it would also allow adding support for stuff like tikzcd and CircuiTikZ (or tikzpingus!).

I don't think generating pgfplots graphics counts as a derived work, as long as you are not distributing parts of the pgfplots source code. Otherwise every document that uses pgfplots would automatically be GPL-3.0-or-later, which is probably not what the author intended.

Source: I have a tiny bit of copyright on pgfplots, https://github.com/pgf-tikz/pgfplots/commits?author=hmenke

Hi Henri, thanks for all your work on pgf, and congrats on the recent push on CI etc. The reason I think that GPL-3 would bite is that adding support would require more or less translating the pgfplots source to javascript, so that the app can parse and then correctly render the code, and that would definitely be a derived work. But I think the add-on route should be okay.