"Lumina is more than a chatbot—it's a digital confidante. Designed to talk, listen, and remember like a real friend."
Lumina is a premium, cross-platform mobile companion application built with Flutter and powered by a FastAPI backend. Unlike transactional AI assistants, Lumina is specifically designed to simulate real-world texting friendships. It features dynamic personality tailoring based on onboarding assessments, persistent memory via Supabase, Google OAuth integration, text-to-speech (TTS) services, and an atmospheric glassmorphic UI.
- 🎭 Personality-Adaptive Engine: Starts with a psychological onboarding assessment that customizes the companion's tone, empathy level, boundary rules, and speech patterns.
- 💬 Human-Centric Messaging UI: Modern, edge-to-edge chat window featuring dynamic message bubbles, ambient entrance animations, realistic typing indicators, and clean rate-limit warning banners.
- 🔊 Speech-to-Text & Immersive Voice: Built-in speech services allow users to dictate messages and listen to spoken responses with custom soundscapes.
- 💾 Supabase Session Ledger: Secure authentication via Google Sign-In, coupled with PostgreSQL database tables tracking your conversation history permanently.
- 📴 Resilience Features: Connection state observers display glassmorphic offline overlays when network connectivity is lost, synchronizing cache once online.
- ⚙️ Scalable FastAPI Backend: Light, fast backend architecture hosted on Render, containing modular routers for authentication, session handling, onboarding profiles, and rate-limiting.
- Framework: Flutter (Dart UI Lifecycle Engine)
- API Connector: Dio (HTTP client with custom interceptors)
- Local Storage: Path Provider & Package Info Plus
- Web Framework: FastAPI (Python 3.11)
- Server Orchestration: Uvicorn
- Database Driver: Supabase Python SDK (PostgreSQL Integration)
To quickly install Lumina on your Android device:
- Navigate to the Releases tab of this repository.
- Download the latest
Lumina_vX.X.X.apkfile. - Install the APK on your device (ensure "Install from Unknown Sources" is enabled in settings).
- Clone the Repository:
git clone https://github.com/1bitVscoder/Lumina-AI.git cd Lumina-AI/client - Setup Environment Variables:
Create an
.envfile insideclient/assets/and fill in your keys:SUPABASE_URL=https://your-project.supabase.co SUPABASE_ANON_KEY=your-supabase-anonymous-key BACKEND_BASE_URL=http://10.0.2.2:8000 GOOGLE_CLIENT_ID=your-google-oauth-client-id GITHUB_REPO_OWNER=1bitVscoder GITHUB_REPO_NAME=Lumina-AI
- Run Mobile App:
flutter pub get flutter run
- Navigate to Backend Directory:
cd ../backend - Setup virtualenv and install dependencies:
python -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate pip install -r requirements.txt
- Configure Environment Variables:
Create a
.envfile inbackend/:SUPABASE_URL=https://your-project.supabase.co SUPABASE_KEY=your-supabase-service-role-key JWT_SECRET=your_jwt_signing_secret
- Start Web Server:
uvicorn main:app --reload --host 0.0.0.0 --port 8000