Skip to content

Vyasa Studio

Vyasa Studio is at project-vyasa.github.io/vyasa-apps/studio. Locally: cd apps/studio && bun run dev → http://localhost:5376/

It is a small experimental play area for the Vyasa language. Open the Bhagavad Gita showcase, edit a file, hit Run, and preview compiled HTML. Nothing is saved. It is not Sanskrit Studio (Lipi / Pāṭha / Varṇa) and not the Viewer (packed publications).

The compiler is WebAssembly from vyasac. If the engine is missing, a banner says so — rebuild WASM and restart the dev server.

  1. Open Play (the landing screen).
  2. The workspace menu lists the sample workspaces. Import zip loads another workspace from a .zip. Reset restores the open workspace.
  3. The left Source tree is the workspace files. Open one, or edit it. Wrap, above the editor, turns line wrapping on or off. Run, beside it, compiles after the source changes. It stays quiet while the source matches the preview.
  4. The template menu, above the preview, chooses AST (the parse tree), Built-in HTML, or an HTML template from the workspace. Changing it compiles immediately.
  5. Output lists every compiled file. Previous and next, above the preview, step through that list and name the file you are looking at.
  6. The Console records compile timing and errors. Copy or clear it from that strip.

Packing a .vyview still happens with the CLI.

The tree is files. The bar above the preview names the compiled file, such as build/html/mula/1.html. In this Gita showcase each file is one chapter, so the open file and the preview page are the same. Another workspace can put many leaves in one file, or many files in one container. Pick another stream or another file from Output, or with previous and next. Templates and styles are files in the tree, under templates/. Play does not assume a particular command alias.

Language and packing docs stay on vyasa-docs. Sample workspaces: vyasa-samples.