Skip to content

Tember is an AI mental health companion mobile app designed to be an empathetic and supportive friend to talk to.

Notifications You must be signed in to change notification settings

nathaesn/tember-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 Tember

Your AI Mental Health Companion

Flutter Dart Supabase DeepSeek AI

πŸ“– About Tember

Tember is an AI mental health companion mobile app designed to be an empathetic and supportive friend to talk to. This application helps users with:

  • πŸ€– Chat with an AI Companion - Talk with Tember, an empathetic and attentive AI.
  • πŸ“Š Mood Tracking - Track and analyze daily mood changes.
  • πŸ“ Digital Journaling - Write and store daily notes securely.
  • 🧠 Self-Assessment - Evaluate yourself to understand your mental state.
  • πŸ“ˆ Analytics & Insights - Visualize mood data and personal progress.
  • πŸŽ™οΈ Voice Integration - Features speech-to-text and text-to-speech capabilities.

✨ Key Features

πŸ€– AI Chat Companion

  • Natural conversations with an emotion-aware AI.
  • 24/7 emotional support.
  • Responses tailored to the user's mood.
  • Securely saved conversation history.

πŸ“Š Mood Tracking

  • Daily mood input with emojis and descriptions.
  • Analysis of factors influencing your mood.
  • Mood graphs and statistics over time.
  • Filter by date and time period.

πŸ“ Digital Journal

  • A user-friendly interface for writing.
  • Local storage with cloud backup.
  • Search and categorization of entries.
  • Guaranteed data privacy and security.

🧠 Self-Assessment

  • Validated psychological questionnaires.
  • Assessment results with actionable insights.
  • Track your progress over time.
  • Recommendations based on your results.

πŸ› οΈ Tech Stack

Frontend

  • Flutter 3.8.1+ - Cross-platform mobile framework
  • Dart - Programming language
  • Material Design 3 - Modern UI components
  • BLoC Pattern - State management
  • Go Router - Navigation management

Backend & Services

  • Supabase - Backend-as-a-Service (Authentication, Database, Storage)
  • DeepSeek AI - Large Language Model for the AI chat
  • SQLite - Local database storage
  • Shared Preferences - Local data persistence

Core Packages

dependencies:
  flutter_bloc: ^8.1.6        # State management
  go_router: ^14.2.7         # Navigation
  supabase_flutter: ^2.6.0   # Backend services
  sqflite: ^2.3.3+1          # Local database
  dio: ^5.7.0                # HTTP client
  speech_to_text: ^7.0.0     # Voice input
  flutter_tts: ^4.1.0        # Text-to-speech
  fl_chart: ^0.69.0          # Data visualization
  shimmer: ^3.0.0            # Loading animations

πŸš€ Installation and Setup

Prerequisites

  • Flutter SDK 3.8.1 or newer
  • Dart SDK 3.8.1 or newer
  • Android Studio / VS Code
  • Git

1. Clone the Repository

git clone [https://github.com/yourusername/tember-application.git](https://github.com/yourusername/tember-application.git)
cd tember-application

2. Install Dependencies

flutter pub get

3. Setup API Keys

DeepSeek AI Setup

  1. Visit the DeepSeek Platform
  2. Create an account and get your API key.
  3. Edit lib/src/core/constants/app_constants.dart:
static const String deepSeekApiKey = 'your-deepseek-api-key-here';

Supabase Setup

  1. Create a project on Supabase
  2. Get your project URL and anon key.
  3. Update the configuration in app_constants.dart:
static const String supabaseUrl = 'your-supabase-url';
static const String supabaseAnonKey = 'your-supabase-anon-key';

4. Run the Application

flutter run

πŸ“± Platform Support

  • βœ… Android (API 21+)
  • βœ… iOS (iOS 12.0+)
  • βœ… Web (Progressive Web App)
  • βœ… Windows (Desktop)
  • βœ… macOS (Desktop)
  • βœ… Linux (Desktop)

πŸ—οΈ Application Architecture

lib/
β”œβ”€β”€ main.dart                 # Entry point
└── src/
    β”œβ”€β”€ app.dart              # Main app configuration
    β”œβ”€β”€ core/                 # Core utilities
    β”‚   β”œβ”€β”€ constants/        # App constants
    β”‚   β”œβ”€β”€ router/           # Navigation setup
    β”‚   └── providers/        # Global providers
    β”œβ”€β”€ features/             # Feature modules
    β”‚   β”œβ”€β”€ auth/             # Authentication
    β”‚   β”œβ”€β”€ chat/             # AI Chat functionality
    β”‚   β”œβ”€β”€ mood/             # Mood tracking
    β”‚   β”œβ”€β”€ journal/          # Digital journaling
    β”‚   β”œβ”€β”€ self_assessment/  # Self assessment tools
    β”‚   β”œβ”€β”€ home/             # Home dashboard
    β”‚   β”œβ”€β”€ onboarding/       # User onboarding
    β”‚   └── navigation/       # Bottom navigation
    └── shared/               # Shared components
        β”œβ”€β”€ services/         # Business logic services
        β”œβ”€β”€ widgets/          # Reusable UI components
        └── models/           # Data models
assets/                       # Static assets
β”œβ”€β”€ images/
β”œβ”€β”€ animations/
└── fonts/

πŸ”’ Security & Privacy

  • End-to-end encryption for sensitive data.
  • Local-first storage for personal data.
  • Secure API communication with HTTPS.
  • No data sharing with third parties without user consent.
  • GDPR compliant data handling.

πŸ§ͺ Testing

# Run unit tests
flutter test

# Run integration tests
flutter test integration_test/

# Generate coverage report
flutter test --coverage

πŸ“¦ Build for Production

Android (APK)

flutter build apk --release

Android (App Bundle)

flutter build appbundle --release

iOS

flutter build ios --release

Web

flutter build web --release

🀝 Contributing

  1. Fork this repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m 'Add amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


<div align="center"> <p><strong>Made with ❀️ for better mental health</strong></p> <p>© 2025 Tember. All rights reserved.</p> </div>

About

Tember is an AI mental health companion mobile app designed to be an empathetic and supportive friend to talk to.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published