Repository avatar
Other Tools
v0.1.0
active

livediagram

io.github.livediagram-app/livediagram

Create, edit, share and render real-time collaborative diagrams and mindmaps on livediagram.app.

Documentation

liveworkspace

The monorepo for the liveworkspace platform and its six products, livediagram, liveplanner, livedocuments, livedesign, livehuddle and liveknowledge, plus what they share.

packages/        shared by every product (@liveworkspace/*)
liveworkspace/   the platform: the liveworkspace.app site, the one help centre every app's /help is (apps/help),
                 its services (accounts, index, drive, export, media, community, subscription, telemetry, status), the migrate
                 tool, and its specs (liveworkspace/docs/specs)
livediagram/     livediagram.app
liveplanner/     liveplanner.app
livedocuments/   livedocuments.app: articles, slides and infographics
livedesign/      livedesign.app: logos, wireframes and photos
livehuddle/      livehuddle.app: meeting in Spaces (avatars, rooms, calls), forked from livediagram in-tree
liveknowledge/   liveknowledge.app: a team knowledgebase, for people and for AI, forked from livedocuments in-tree
docs/            how this repo is laid out, CI and deploys, and the move from the historical livediagram.app
scripts/         the root's git hooks, ts-source-hooks.mjs (Node type stripping for repo scripts), and the parts every product's e2e stack shares (scripts/e2e-stack)

Read docs/structure.md first: it covers what's shared, what each product keeps, and the order the sharing was done in.

Every product and the platform keeps its specs and blueprints in its own docs/specs/ (liveworkspace's are liveworkspace/docs/specs). A change updates the spec first, then the blueprint, then the code.

Working in it

One pnpm workspace and one lockfile, at the root. Node 22+, pnpm via corepack.

corepack pnpm install
corepack pnpm dev:diagram        # livediagram's apps
corepack pnpm dev:planner        # liveplanner's apps
corepack pnpm dev:documents      # livedocuments' apps, on the 33xx ports
corepack pnpm dev:design         # livedesign's apps, on the 34xx ports
corepack pnpm dev:huddle         # livehuddle's apps, on the 35xx ports
corepack pnpm dev:knowledge      # liveknowledge's apps, on the 36xx ports
corepack pnpm dev:workspace      # liveworkspace.app on :3000, with the help centre and its eight services behind it (one process)
corepack pnpm dev:site           # liveworkspace.app's pages alone on :3000
corepack pnpm dev:help           # the one help centre on :3020 (HELP_SCOPE=liveplanner for that app's help)
corepack pnpm dev:accounts       # the accounts API alone on :8787
corepack pnpm dev:telemetry      # the telemetry API alone on :8790
corepack pnpm dev:community      # the Community API alone on :8791
corepack pnpm dev:subscription   # the subscription API alone on :8794
corepack pnpm dev:media          # the media API alone on :8792
corepack pnpm dev:index          # the index API (One Explorer) alone on :8793
corepack pnpm dev:status         # the status Worker alone on :3010
corepack pnpm dev:drive          # the Google Drive mirror alone on :3011
corepack pnpm typecheck          # everything; or inside a product folder, just that product

dev:workspace runs liveworkspace's eight services in one wrangler dev (packages/local-workers), each Worker on its usual port, in less memory than one process per Worker (liveworkspace's services peak at 1.3 GB instead of 3.5 GB). Locally, tests take a quarter of the cores per run and turbo runs two workspaces at a time.

Each product folder keeps its own scripts (cd livediagram && corepack pnpm test runs only livediagram's tests), its own docs, and its own AGENTS.md for product-specific rules. The lint, format, test and Next.js settings are shared (packages/oxlint-config, prettier-config, vitest-config, next-config), so a rule changes once for every product.

Security

Found a vulnerability in liveworkspace.app or any app? Please report it privately through GitHub's advisory form, never in a public issue. SECURITY.md has the policy, and the specs are in Vulnerability disclosure.

Deploys

Every product deploys from here, from the root .github/, to the liveworkspace Cloudflare account each wrangler.toml pins. Staging follows main, and production is a manual gate that ships what staging runs. A deploy builds and ships only the Workers a change reaches. The products have no .github/ folders of their own. docs/ci.md has the details.

No installation packages available.

Remote