Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Prune

Manav Rathi1c1b7e48fa85
diff --git a/web/CLAUDE.md b/web/CLAUDE.md
index 5650c07a69..d73cd29714 100644
--- a/web/CLAUDE.md
+++ b/web/CLAUDE.md
@@ -19,8 +19,6 @@ Format markdown files with Prettier for consistent styling
## Commands
-### Development
-
```bash
# Install dependencies from the committed lockfile (uses Yarn classic 1.22.22)
yarn install --frozen-lockfile
@@ -51,46 +49,15 @@ yarn lint-fix # Auto-fix linting and formatting issues
Use plain `yarn install` only when intentionally updating dependencies and
reviewing the resulting `yarn.lock` changes.
-## Architecture
-
-This is a **monorepo** containing multiple Ente web applications using **Yarn workspaces**.
-
-### Technology Stack
+## Structure
-- **Next.js** for static site generation (all apps except payments)
-- **React** with TypeScript
-- **Material-UI (MUI)** with Emotion for styling
+This is a monorepo containing multiple Ente web applications using Yarn workspaces.
-### Repository Structure
-
-```
-web/
-β”œβ”€β”€ apps/ # Individual applications
-β”‚ β”œβ”€β”€ photos/ # Main photo management app
-β”‚ β”œβ”€β”€ albums/ # Public albums app for shared album and file links
-β”‚ β”œβ”€β”€ auth/ # 2FA authentication app
-β”‚ β”œβ”€β”€ embed/ # Embeddable photo viewer (iframe-friendly)
-β”‚ β”œβ”€β”€ accounts/ # Passkey support
-β”‚ β”œβ”€β”€ cast/ # Chromecast/browser casting
-β”‚ β”œβ”€β”€ share/ # Document storage
-β”‚ └── payments/ # Subscription management
-β”‚
-β”œβ”€β”€ packages/ # Shared code between apps
-β”‚ β”œβ”€β”€ base/ # Core UI components, crypto, i18n
-β”‚ β”œβ”€β”€ gallery/ # Photo gallery components
-β”‚ β”œβ”€β”€ accounts/ # Account management
-β”‚ β”œβ”€β”€ media/ # Media processing (FFmpeg, image conversion)
-β”‚ β”œβ”€β”€ utils/ # General utilities
-β”‚ β”œβ”€β”€ new/ # A temporary place for code shared by photos and albums
-β”‚ └── build-config/ # Shared build configuration
-β”‚
-└── docs/ # Development documentation
-```
+Shared code goes in `packages/`. All apps use Next.js for static export except `payments`. Run `ls apps/` and `ls packages/` to see the full list.
## Important Notes
- Always run `yarn lint` when explicitly requested or before committing (but not after file modifications)
- Use Yarn (not npm) for package management
-- Respect the monorepo structure - shared code goes in packages/
- Follow existing Material-UI theming patterns
- Maintain TypeScript strict mode compliance