Typst in the Web Browser with ExaequOS

2 points by baudaux 8 hours ago

Thanks to https://github.com/Myriad-Dreamin/typst.ts, I have added a Typst compiler in https://exaequos.com.

You can edit a typst file using Monaco (mc) or vim or nano or ed. Then, in the command line, you type:

typst <input file name> -o < pdf file name>

For viewing the pdf, you can open a window with the following command:

win <pdf file name>

You can also export the pdf file using the ‘exio’ command line tool:

exio -o <pdf file name>

When the WASI runtime of exaequOS wills be ready, it will be interesting to build Typst for WASI as it is developped in Rust that supports WASI target