COSMOS

An Interactive Atlas of the Cosmos — TypeScript / Next.js 16.2.4 (App Router, static export)

COSMOS is a fully client-rendered Next.js App Router site presenting an interactive atlas of 52 celestial objects, with all catalog content and locale strings bundled at build time and no backend service. It tracks user discovery progress in a persisted Zustand store backed by localStorage.

Generated 4 Jun 2026 · 60 files · 13 components · 5 flows

File Architecture

The full source tree as a layered graph — every file with its role, imports, exports and reverse dependencies.

System Design

Runtime topology across the five zones — client, edge, application, data and external services.

Flow Graph

The five most significant application flows, step by step — startup, auth, write, read and error recovery.

Technology

ComponentTechnologyVersionSource of Detection
FrameworkNext.js (App Router)16.2.4package.json · next.config.mjs
LanguageTypeScript5.7.3tsconfig.json (strict)
UI RuntimeReact / React DOM19.2.4package.json
StylingTailwind CSS v4^4.2.0postcss.config.mjs · app/globals.css
UI PrimitivesRadix UI + shadcn (new-york)variouscomponents.json · components/ui/
Client StateZustand (persist)^5.0.13store/cosmos.store.ts
AnimationMotion (motion/react)^12.38.0lib/motion.ts · *.tsx
i18ni18next + react-i18next^26.3.0 / ^17.0.8lib/i18n/ · locales/en/common.json
Forms / Validationreact-hook-form + Zod^7.54.1 / ^3.24.1package.json (deps; UI form wrappers)
Iconslucide-react^0.564.0components/**.tsx
ChartsRecharts2.15.0components/ui/chart.tsx
Utilitiesclsx + tailwind-merge^2.1.1 / ^3.3.1lib/utils.ts (cn)
Datesdate-fns4.1.0package.json
Analytics@vercel/analytics1.6.1app/layout.tsx (production only)
Image CDNVercel Blob Storagenext.config.mjs remotePatterns