Web UI

ブラウザで lint / scan / render / chat を操作する

概要

quarto-dsh web は、依存ゼロの Node HTTP サーバーで単一 HTML の UI を配信します。ブラウザから lint / scan / render / preview / chat を操作できます。

起動

quarto-dsh web

http://127.0.0.1:3080 で開きます。ポートは --port で変更できます。

quarto-dsh web --port 4200

画面

  • 対象ファイル / 作業ディレクトリ — 検査対象を指定
  • lint(検証)_quarto.yml と front matter を実在キーで検証
  • scan(検査).qmd の記法を検査
  • render / preview — レンダリング実行
  • エディタ.qmd の内容を貼り付けて scan 対象に
  • chat(LLM) — タスクを記述してエージェントに遂行させる

API

Web UI は以下の JSON API を提供します。

エンドポイント 内容
POST /api/lint 設定検証
POST /api/scan 記法検査
POST /api/render レンダリング
POST /api/preview プレビュー
POST /api/chat LLM エージェント
curl -X POST http://127.0.0.1:3080/api/lint \
  -H 'Content-Type: application/json' \
  -d '{"cwd": "/path/to/project"}'

関連