Discussion

Typst in the Web Browser with ExaequOS

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

2 points baudaux 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton