This is a monorepo containing code for the U3 project. U3 is a social app that integrates with multiple platforms like Lens and Farcaster.
apps/u3- The main U3 React application π₯packages/ui- Shared React UI components π¨packages/config- Configuration and environment variables βοΈpackages/utils- Shared utility functions πpackages/social- Social platform integrations π€
To install dependencies:
yarn install --ignore-engines
-
The main U3 app code lives in apps/u3. This contains React components, hooks, utils, services etc.
-
Shared code is organized into packages under packages/*. The main app imports these packages.
-
Key folders in apps/u3/src:
- components - React components πΌ
- hooks - Custom hooks for logic β»οΈ
- utils - Utility functions π
- services - API clients π‘
- types - TypeScript types and interfaces π
- services contains API clients that call backend APIs. π‘
- React - UI library π¦
- TypeScript - For static typing β¨οΈ
- React Query - Data fetching and caching π‘
- React Router - Routing and navigation πΊ
- Tailwind CSS - Styling π¨
- Lens Protocol/Farcaster
The app integrates deeply with various social platforms:
-
Lens Protocol - See src/hooks/social/lens and src/utils/social/lens. π
-
Farcaster - See src/components/social/farcaster and src/hooks/social/farcaster. π¬
These integrate via the platforms' JavaScript SDKs and custom React hooks. β»οΈ
This project is licensed under the MIT license - see LICENSE for more details.
See CONTRIBUTING.md to learn how to contribute to this project.