web/frontend/README.md
A Next.js web application for the Omi wearable device by Based Hardware. This frontend provides interfaces for managing memories, apps, and interacting with the Omi ecosystem.
Clone the repository and navigate to the frontend directory
git clone <repository-url>
cd omi/web/frontend
Install dependencies
npm install
# or
yarn install
# or
pnpm install
Set up environment variables
cp .env.template .env.local
# Edit .env.local with your actual values
Start the development server
npm run dev
# or
yarn dev
# or
pnpm dev
Open your browser Navigate to http://localhost:3000
See .env.template for all required environment variables. Key variables include:
npm run dev - Start development server with Turbonpm run build - Build for productionnpm run start - Start production servernpm run lint - Run ESLintnpm run lint:fix - Fix ESLint issues automaticallynpm run lint:format - Format code with Prettier# Build the image
docker build -t omi-frontend .
# Run the container
docker run -p 3000:3000 omi-frontend
docker-compose up --build
src/
├── app/ # Next.js App Router pages
│ ├── apps/ # Apps management
│ ├── memories/ # Memory management
│ ├── my-apps/ # User apps
│ └── components/ # Page-specific components
├── components/ # Reusable UI components
│ ├── shared/ # Shared components
│ └── ui/ # UI component library
├── constants/ # App constants and configuration
├── hooks/ # Custom React hooks
├── lib/ # Utility libraries (Firebase, etc.)
├── types/ # TypeScript type definitions
├── utils/ # Utility functions
└── actions/ # Server actions
The frontend connects to the Omi backend API for:
npm run build
npm run start
Ensure all environment variables are properly configured for your deployment environment. The app supports multiple deployment targets:
For issues related to the Omi frontend application, please check the documentation or contact the development team.
This project is part of the Omi ecosystem by Based Hardware.