Generate PDFs in browser using Quarto, Typst and OJS #7633
-
DescriptionNot sure if this is feasible, but I am trying to take user input and generate PDFs in the browser using Quarto, Typst and OJS without R or Python. For a dummy example, see this repo. I have a directory structure that looks like this.
The Now, I don't want the Is this going to work?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Quarto is a command line tool. Short answer it is not going to work and web assembly compilation will not happen anytime soon. |
Beta Was this translation helpful? Give feedback.
-
I would look into making a webapp for what you want to do. You can easily make one using Shiny with R or Python - this web app would take your user input, and trigger the rendering on Quarto on the server where it is hosted, and then show the preview of the rendered document. As shared in other answer, you need a server to run quarto. |
Beta Was this translation helpful? Give feedback.
Quarto is a command line tool.
It is not compiled in web assembly thus cannot work in the browser.
You need a server to run Quarto with or without computations via Jupyter or knitr.
Short answer it is not going to work and web assembly compilation will not happen anytime soon.