A collaborative workspace for architecture diagrams, interface design, requirements, and notes. Built with React, TypeScript, and Express, with SQLite for single-process hosting and Postgres for shared deployments.
Try the account-free demo · Open Aril · Engineering case study · Changelog
The public home introduces the studio, with a playable tour and direct access to the editable demo. Sign in at /app to create your own workspace without a code, or use an invitation link to join an existing team. Self-hosted installations go straight to the studio, without the product landing page.
The recording uses editable demo fixtures and simulated teammates. Aril is a planning studio; it does not execute deployments. Watch with playback controls.
| Architecture and collaboration | Interface design |
|---|---|
![]() |
![]() |
Open Notifications to accept or decline invitations. Workspace owners can invite by email or username in Settings → File and choose Editor or Viewer. Join workspace opens an invite-link dialog. After your first sign-in, keep the suggested username or write your own. Change it later in Your account → Account settings, or Settings → User → Account inside a workspace.
Email delivery is optional and requires a verified Resend sender. Set up invitation emails.
- Canvas and Design: connected architecture and network diagrams, universal blocks with selectable device/network icons, editable interface layers, nested frames, and dockable inspectors.
- Library: reusable components and variables with dependency/usage inspection.
- Scope and Notes: requirements, decisions, Markdown documents, and saved comments. Notes support concurrent text editing with Yjs.
- Collaboration: live cursors, selections, following, and previews; persistent edits use revision checks and recoverable conflict handling.
- Access and recovery: owner/editor/viewer permissions, expiring guest links, scoped agent credentials, personal undo, JSON export, and bounded saved revision history.
See the studio guide for controls and recovery behavior.
| Problem | Approach | Evidence |
|---|---|---|
| Concurrent edits must not silently overwrite work | Revision-checked operations, field preconditions, atomic saves, and preserved recovery drafts | Collaboration tests, freshness tests |
| Multiple API instances share one document | Postgres row locking, atomic history/receipts, and revision conflict handling | Two-instance integration test |
| Cursor traffic should not become durable writes | Transient presence, separated from authoritative document saves | Architecture, hosting |
| Browser and automation edits need the same access rules | Account or file-scoped agent credentials and shared validation/save paths | Agent integration, access tests |
Case study: preserving edits across collaborators and storage backends explains the trade-offs, verification, and remaining limits. Operations covers health checks, backups, restore drills, and rollback.
Requires Node.js 24+ and the pnpm version pinned in package.json.
pnpm install --frozen-lockfile
pnpm devOpen http://127.0.0.1:5173; the API runs on port 4317. A fresh checkout without cloud configuration uses SQLite. See hosting and accounts for Google, Yandex ID, corporate OIDC sign-in and Postgres configuration, and self-hosting to run the studio, Postgres and backups on one server with Docker Compose.
pnpm build
pnpm startThe built application is served at http://127.0.0.1:4317. Run commands from the repository root.
Copy .env.example to .env, set the public ARIL_ORIGIN and the desired sign-in providers, then run:
docker compose up --build -dOpen the studio, sign in with a configured provider and choose New workspace; no invitation is needed to create your own. With ARIL_STORAGE=sqlite (the default), containers use a persistent studio-data SQLite volume; your local SQLite file is not imported. Set ARIL_STORAGE=postgres in .env to use your configured Postgres backend. The service listens on 127.0.0.1:4317; put an HTTPS reverse proxy in front for remote access and preserve streaming responses. Root .env and local data are excluded from the image. Rebuilds preserve the volume; docker compose down -v deletes it. See hosting and SSO setup.
Self-hosted installations open the studio sign-in directly by default. The public product site is enabled automatically only when the configured ARIL_ORIGIN is https://aril.studio or https://www.aril.studio; set ARIL_PRODUCT_SITE_ENABLED=true to preview it elsewhere, or false to disable it. The public home lives at /, sign-in and the workspace list at /app, and editors at /w/.... Source-code links remain available in both modes. Set ARIL_PRODUCT_NAME and ARIL_PRODUCT_LOGO_URL in the same .env to customize its branding. Restart the server to apply; no frontend rebuild is needed. Company mode.
pnpm lint
pnpm test
pnpm build
pnpm benchmark:collaboration
pnpm verify:recoveryCI runs lint, fixture-based tests, and all package builds on Node 24. A separate job runs the two-instance Postgres integration test against a disposable PostgreSQL service. The local default test run skips that test unless POSTGRES_TEST_URL is provided. See verification for commands and the distinction between automated checks and historical manual observations.
apps/studio— React editor and HTTP API.packages/domain— schemas and collaboration operations.packages/mcp— stdio MCP bridge.packages/studio-skill— companion integration skill.docs— architecture, operation, and contributor documentation.
Contributing · Architecture · Code conventions · Monorepo
Aril is the planning deliverable for a future deployment platform. Container execution, infrastructure reconciliation, SAML SSO, and resource-level deployment permissions remain future work. The installable app provides an offline reconnect screen, not offline workspace editing. History is bounded and does not replace database backups. Performance experiments use local fixtures, not production traffic or an availability guarantee.
Packages now use @aril/*, the MCP connection is aril, and the companion skill is aril-studio. One account credential can access your files without reconnecting; file-only credentials remain available. New configuration uses ARIL_*; legacy environment aliases and saved MCP configuration remain readable. Existing database schemas, browser storage keys, and user documents are preserved. See the agent setup and upgrade guide.
An open-source license has not yet been selected. Installed design skills and their attribution are documented in skills and provenance.









