e0a5f57793
Vendor the rebranded BoosAPI Desktop client (Tauri + Vue) into metapi as a monorepo subdirectory under desktop/. Source only — node_modules, dist, Cargo target and the upstream .git history are excluded. desktop/ keeps its own independent Cargo workspace (desktop/src-tauri with crates/*); it is not part of the backend boosapi crate, so a `cargo check` at the metapi root still compiles only the backend. Build the desktop app from desktop/src-tauri per desktop/README.md. Note: app icons are still placeholder assets pending the final BoosAPI logo. The updater signing keys live outside the repo and are not included.
1.4 KiB
1.4 KiB
Angular Installation
Install markstream-angular into your Angular 20+ project.
pnpm add markstream-angular @angular/core @angular/common
Required CSS
Import the renderer stylesheet once in your app entry:
import 'markstream-angular/index.css'
If you enable math rendering, also import:
import 'katex/dist/katex.min.css'
Optional Peer Dependencies
Install only the heavy features you need:
| Feature | Package |
|---|---|
| Monaco code blocks | stream-monaco |
| Mermaid diagrams | mermaid |
| KaTeX math | katex |
| D2 diagrams | @terrastruct/d2 |
| AntV infographic blocks | @antv/infographic |
Quick install:
pnpm add stream-monaco mermaid katex @terrastruct/d2 @antv/infographic
Optional Workers
markstream-angular exports the same worker entry points used by the React / Vue integrations:
import { setKaTeXWorker, setMermaidWorker } from 'markstream-angular'
import KatexWorker from 'markstream-angular/workers/katexRenderer.worker?worker'
import MermaidWorker from 'markstream-angular/workers/mermaidParser.worker?worker'
setKaTeXWorker(new KatexWorker())
setMermaidWorker(new MermaidWorker())
Local Playground
Inside this monorepo, the Angular playground routes are:
/for the main streaming demo/testfor the regression lab/test-sandboxfor isolated framework/version rendering
Run it locally with:
pnpm play:angular