AI-powered smart mirror with gesture control, voice commands, and real-time information display.
# Copy environment file
cp env.example .env
# Start all services
docker-compose up --build
# Open browser
open http://localhostdocker-compose up --build
# Run gesture-worker natively
cd gesture-worker
./run_native_pi.shSee gesture-worker/NATIVE_PI_SETUP.md for detailed instructions.
- Backend: FastAPI server with REST APIs and WebSocket support
- Frontend: React + TypeScript with real-time updates
- Control Plane: State management and command routing
- Gesture Worker: Hand gesture detection via MediaPipe
- Redis: Pub/sub messaging for real-time data
- Gesture Worker Setup - Native Pi deployment
- Project Roadmap - Feature roadmap
# Build backend locally
./build.sh backend
# Build frontend locally
./build.sh frontend
# Build all services locally
./build.sh all
# Build and publish backend with version
./build.sh --publish v1.0.0 backend
# Build and publish all services with custom registry
./build.sh --publish v1.0.0 --registry myregistry.io allcd backend
pip install -r requirements.txt
./run.shcd frontend
npm install
npm run devcd control-plane
pip install -r requirements.txt
./run.shcd gesture-worker
make setup
make runSee env.example for all configuration options. Key variables:
MIRA_ENV:macorpi- Controls camera initializationREDIS_URL: Redis connection URLCONTROL_PLANE_URL: Control Plane service URLJWT_SECRET: Secret for JWT authenticationMIRA_PIN: PIN for authentication
- Follow existing code style
- Write tests for new features
- Update documentation
- Test on both Mac and Raspberry Pi if possible