Announcing TyX - A LyX-like experience rewritten for Typst and the modern era

Hi everyone!

I’m excited to announce TyX - an open-source LyX alternative based on Typst. It’s similar in spirit to some of the editors that people are working on like typstudio, but it has a simple goal - create a UI that’s easy to use for most people that is similar to LyX in terms of features and user experience, but is:

  • based on typst, which as you well know has many improvements over LaTeX (for one, with typst.ts it can be used online)
  • automatically updatable (via Tauri)
  • easy to install and configure (no need for a separate installation of LaTeX for instance)


The source code of TyX is on GitHub (tyx-editor/TyX) and you can check out the website to install TyX or use the web editor shown above.

TyX is currently missing a lot of features but I believe it can be a viable alternative soon and a great editor in the future!

TyX works using:

  • TipTap for the WYSIWYG editor.
  • A very simple compiler from TipTap JSON to Typst.
  • CortexJS MathLive and Compute Engine for the WYSIWYG math editor.
  • A very simple compiler from MathJSON to Typst (still needs major improvement, would switch to tex2typst - but that required a license change).
  • Typst.ts for the web editor.
  • Vite, React and Mantine for the front-end (both the app and the web editor).
  • Tauri for using as an application.

Currently on the roadmap:

  • Adding more and more LyX-like features, like keyboard shortcut customization, font customization, etc.
  • Signing the macOS application (I’m missing an Apple Developer account).
  • Perhaps creating an Android/iOS application as well.
  • a lot more tasks!

Looking forward to feedback, suggestions, thoughts and contributions!

13 Likes

It’s important to note TyX is in early alpha. With typst “not reaching v1” yet it makes sense, but there are still major issues in the editor which need to be improved and fixed.

I would be grateful for any issues and contributions and to hear your thoughts.

Great job thanks a lot for your work!