quarto in the browser
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- deno, javascript, lua, r, sass, wasm
研究方向
No specific file, test, or entry point is named. Start by mapping the quarto-cli dependencies discussed here—Deno, Pandoc, esbuild, Sass, Lua, and R—and assess which browser-compatible implementations exist; done would be a documented decision about whether browser execution is a project goal and what work it requires.
由索引模型根據 Issue 內容生成。
描述
It'd be neat to run Quarto in the browser, I'm wondering if this is a design goal or perhaps if it's explicitly not. I just found some notes I wrote up a few months ago about various quarto-cli deps:
Deno
It's a goal of Deno to be browser-compatible.
- any reference to the global Deno namespace would need not to be used?
- maybe something like denopack is supposed to be used?
esbuild is probably the way to go here? And factoring stuff out?
Pandoc
There's an Asterius-built pandoc executable available at https://asterius.netlify.app/demo/pandoc/pandoc.html but I haven't found the code that builds it.
There's an old GHCJS-compiled pandoc too.
It's not clear that either of these keep the lua functionality intact? There's been lots of back and forth trying to get the C bits out of pandoc, but currently there are C dependencies. The lua filters seem to be integral to Quarto. There are definitely Emscripten builds of Lua out there, but the integration might be tricky.
ESBuild
Is this maybe a runtime dependency? there's a wasm version available at esbuild-wasm on npm, see https://esbuild.github.io/getting-started/#wasm
SASS
There's a version of SASS compiled to JavaScript on npm.
R
I heard from Pyodide folks that discussions of compiling R to the browser petered out because there was so much Fortran involved. It seems like R isn't required to run to run Quarto at all, but I want to check because when commands like edit: I misunderstood what quarto serve error on my if I don't have Shiny R library installed, suggesting there's some R in there somewhere.quarto serve does, it's explicitly for Shiny apps.
- 主要語言
- JavaScript
- 星號
- 6k
- 分支
- 458
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 41
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
quarto-dev/quarto-cli 的其他 Issue
-
binder bug
難度 1/5 1 小時以內 新手友好度 92/100
quarto-dev/quarto-cli#14907 · 3 則留言 ·
-
brand bug
難度 2/5 1-3 小時 新手友好度 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
難度 2/5 1-3 小時 新手友好度 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
難度 2/5 1-3 小時 新手友好度 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them 未關閉engines-jupyter enhancement
難度 2/5 1-3 小時 新手友好度 84/100
quarto-dev/quarto-cli#14850 · 2 則留言 ·
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
code-quality refactoring
難度 2/5 1-3 小時 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難度 2/5 1-3 小時 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
難度 2/5 1-3 小時 新手友好度 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 88/100