c0ced47ecaf4426f47e5c2e4868677f7144b951a
Release translation function
CIC Baltic Metaverse
Turborepo for a browser-based collaborative metaverse platform built with WebXR, Three.js, and real-time communication. Supports multi-user interaction, avatars, spatial audio, and modular components for extensible 3D environments.
What's inside?
This Turborepo includes the following packages/apps:
Apps
constellationis the central knowledge hub for our monorepo universe. Powered by Docusaurus, it maps out architecture, guides, decisions, and best practices — like a star map for navigating the project’s galaxies (build, github pages output./docs).nebulais the vibrant frontend layer of our monorepo, crafted with Vite/React to deliver lightning-fast development and optimized production builds. It creates immersive user experiences with modern tooling and smooth interactivity.singularityis the backend powerhouse of our monorepo, built with Fastify for blazing-fast, lightweight, and scalable server-side APIs. It handles core business logic, data processing, and integrations with performance and developer experience in mind.horizonis the quality assurance frontier of our monorepo, powered by Playwright to ensure seamless end-to-end testing across all applications. It stands at the edge of deployment, validating user journeys and system integrity with automated precision and comprehensive coverage.
Packages
@metaverse/stardustis the shimmering design system of our monorepo universe — a shared React component library that powers bothnebula(frontend) andconstellation(documentation). Like cosmic dust forming stars, stardust brings consistency, beauty, and reusability to every interface across our galaxy of apps.@metaverse/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)@metaverse/typescript-config:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
Local setup
- Install Devbox shell and Nix Package manager:
curl -fsSL https://get.jetify.com/devbox | bash
- Initialize Devbox shell
cd metaverse && devbox shell, this will create a working environment and install all necessary runtimes as well as pnpm packages. - Create
.envfile by runningcp .env.example .env.
Develop
To develop all apps and packages, run the following commands:
pnpm dev
Chrome/WebGL note: If the metaverse UI is blank or WebXR/WebGL features don’t appear, your browser may be running without GPU acceleration. In Chrome go to Settings -> System -> “Use hardware acceleration when available” -> Relaunch
Build
To build all apps and packages, run the following commands:
pnpm build
Build Docs
To build documentation, run the following commands:
pnpm build:docs
Useful Links
Languages
TypeScript
76.3%
MDX
12.7%
CSS
8.3%
Dockerfile
1.2%
Shell
0.4%
Other
1%