MoodChroma AI Ruh Hali Takipçisi
Loading...
MoodChromaA little more in tune

A check-in with yourself

Your mood, in color.

Notice the moment. Find a small next step.

A gentle snapshot

How things feel right now

Sample signal

Explore this snapshot
Mood tone—
Energy—
Focus—
Stress—

Illustrative values, not measured brain data or a health assessment.

Signal lab

Brainwave preview

Simulated
Alpha
—
Beta
—
Theta
—
Gamma
—

About device support

Your words matter most

Take a moment to check in

No perfect answer
Calm Focused Uplifted Stressed Low energy Anxious
Anything you want to remember?Optional

Your note stays out of AI summaries.

Save check-in

A few recent moments

Recent check-ins

See journal

Your next check-in will appear here.

Small moments add up

Your mood journal

A private record of what you choose to notice.

Export my data
Saved moments0including sample entries
Most common mood—from your saved moments
This week0check-ins in the last 7 days
Filter by mood
Clear history

Add a check-in

Example moments are clearly marked and can be deleted. Only your own check-ins are used for optional AI trend context.

A thoughtful conversation

Your AI wellness coach

Reflect, find patterns, and choose one small next step.

Claude 5.5 Haiku

Start with a prompt

What would help right now?

Reflect on my latest check-in Summarize my week Summarize today’s check-ins Compare check-in patterns Suggest a grounding idea Personalized recommendations

Private, on-demand AI

Talk it through

Clear chat
M
A calm place to begin

Ask about a check-in, a pattern you notice, or a small way to care for yourself. This is reflection support, not a diagnosis.

Your message

Your message and recent chat go to Claude when you send. If enabled, two weeks of mood totals may also be shared; notes and demo signal are excluded.

Make this space yours

Settings & privacy

Choose what MoodChroma remembers and what you share.

Your experience

Personal preferences

Adapt colors to my check-insLet your saved mood guide the accent palette. Show simulated signalA visual demo only; it does not read a headset.

AI, only when you ask

Claude sharing choices

Include check-in totalsShare anonymous counts from your own saved moods from the last two weeks with AI. Remember chat on this accountTurn off to keep conversation history only for this visit.
i

MoodChroma uses the Miniapps AI connection. Do not paste an Anthropic API key here; no secret key is stored in this page.

Hardware & signal

About headset support

This browser miniapp cannot keep an Android foreground service running or decode Muse, Emotiv, NeuroSky, or OpenBCI packets. The signal preview is simulated. Real EEG needs a native app with a device-specific Bluetooth driver.

Read the connection note

Native app reference

Android APK setup

A setup guide and Gradle template for a separate Android Studio project. This web miniapp cannot compile an APK.

Open the Android build guide

Your records

Manage your data

Export a portable copy or remove your saved check-ins and conversation.

Export dataClear check-insClear chat

Saved records use private Miniapps storage. If storage is unavailable, this visit still works but changes may not persist.

A clear note about hardware

What this preview can—and cannot—do

MoodChroma here is a browser wellness companion. It includes an honest simulated EEG visualization, a private check-in journal, color themes, and on-demand Claude reflections. It does not access your camera, microphone, Bluetooth EEG packets, or run after the page closes.

  • The Android code you shared needs a real project, manifest permissions, tested sensor classes, and model files before it can build.
  • Muse, Emotiv, NeuroSky, and OpenBCI use different protocols; a generic browser connection cannot safely decode them.
  • For health or research use, validate the sensor pipeline and never treat mood estimates as a diagnosis.
Got it

Native Android project

Build and install an APK

This page is a browser miniapp, not an Android project. Use this guide as a handoff to a separate Android Studio project; no APK is produced here.

Important before you build

The supplied snippets are a starting point, not a verified complete project. They reference additional Kotlin classes, resources, and model assets that are not present in this workspace. Android cannot guarantee 24/7 background operation or auto-start; modern versions limit camera and microphone use in background services.

What you need

  • Android Studio, JDK 17, Android SDK 34, and the project's Gradle wrapper.
  • A complete native repo with root Gradle settings, manifest, source files, resources, and any trained .tflite model files.
  • A real device and device-specific, tested Bluetooth drivers for EEG hardware; the web preview's signal is simulated.

Build the native app

  1. Open the native project root in Android Studio and sync Gradle. Confirm the app module uses namespace com.moodchroma.portable.
  2. Review the app/build.gradle template below and align minSdk, targetSdk, product flavors, dependencies, and signing with the actual source.
  3. From the project root, run ./gradlew buildPortableApk (or ./gradlew assembleFullRelease if the custom task is not present). Use gradlew.bat on Windows.
  4. Find the generated APK under app/build/outputs/apk/ and verify the exact variant before sharing.

Install on a test device

Enable USB debugging, connect the device, then run adb install -r path/to/app.apk. For sideloading, transfer the APK and allow installs from that file manager.

Review before distribution

  • The sample signing configuration points to the Android debug key; use a private release keystore and never commit its password.
  • A foreground service needs a visible notification and runtime permissions. Android OEMs can still stop background work; remove promises of guaranteed 24/7/autostart.
  • Do not embed a personal Anthropic API key in an APK; client-side keys can be extracted. Use the platform AI connection or a secured backend.
  • The provided native snippets include APIs and classes not in this web workspace; validate, test, and measure before making health or accuracy claims.
Show the supplied app/build.gradle

This is the configuration you supplied, preserved as a copyable template. It depends on matching root Gradle plugin versions, wrapper, sources, and resources.

Copy Gradle templateDownload template
plugins {
    id 'com.android.application'
    id 'org.jetbrains.kotlin.android'
}

android {
    namespace 'com.moodchroma.portable'
    compileSdk 34

    defaultConfig {
        applicationId "com.moodchroma.portable"
        minSdk 24  // Android 7.0 for wider compatibility
        targetSdk 34
        versionCode 1
        versionName "1.0.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

        vectorDrawables {
            useSupportLibrary true
        }

        // Enable multidex for large app
        multiDexEnabled true

        // Native libraries - include all ABIs for portability
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
        }
    }

    signingConfigs {
        release {
            // For portable APK, use debug signing or create your own keystore
            // Replace with your keystore details for production
            storeFile file("debug.keystore")
            storePassword "android"
            keyAlias "androiddebugkey"
            keyPassword "android"
        }
    }

    buildTypes {
        release {
            minifyEnabled true  // Enable code shrinking
            shrinkResources true  // Remove unused resources

            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

            signingConfig signingConfigs.release

            // Optimize APK size
            ndk {
                debugSymbolLevel 'NONE'
            }
        }

        debug {
            applicationIdSuffix ".debug"
            debuggable true
            minifyEnabled false
        }
    }

    // Build variants for different devices
    flavorDimensions = ["version"]
    productFlavors {
        full {
            dimension "version"
            // Full version with all features
        }

        lite {
            dimension "version"
            // Lightweight version for older devices
            minSdk 21
            versionNameSuffix "-lite"
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_17
        targetCompatibility JavaVersion.VERSION_17
    }

    kotlinOptions {
        jvmTarget = '17'
    }

    buildFeatures {
        compose true
        buildConfig true
    }

    composeOptions {
        kotlinCompilerExtensionVersion '1.5.3'
    }

    packaging {
        resources {
            excludes += '/META-INF/{AL2.0,LGPL2.1}'
            excludes += '/META-INF/DEPENDENCIES'
            excludes += '/META-INF/LICENSE'
            excludes += '/META-INF/LICENSE.txt'
            excludes += '/META-INF/license.txt'
            excludes += '/META-INF/NOTICE'
            excludes += '/META-INF/NOTICE.txt'
            excludes += '/META-INF/notice.txt'
            excludes += '/META-INF/ASL2.0'
            excludes += '/META-INF/*.kotlin_module'
        }
    }

    // Split APKs by ABI for smaller downloads (optional)
    splits {
        abi {
            enable true
            reset()
            include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
            universalApk true  // Generate universal APK too
        }
    }
}

dependencies {
    // Core Android
    implementation 'androidx.core:core-ktx:1.12.0'
    implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
    implementation 'androidx.activity:activity-compose:1.8.1'
    implementation 'androidx.work:work-runtime-ktx:2.9.0'

    // Compose
    implementation platform('androidx.compose:compose-bom:2023.10.01')
    implementation 'androidx.compose.ui:ui'
    implementation 'androidx.compose.ui:ui-graphics'
    implementation 'androidx.compose.ui:ui-tooling-preview'
    implementation 'androidx.compose.material3:material3'

    // Coroutines
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'

    // CameraX for camera access
    def camerax_version = "1.3.0"
    implementation "androidx.camera:camera-core:$camerax_version"
    implementation "androidx.camera:camera-camera2:$camerax_version"
    implementation "androidx.camera:camera-lifecycle:$camerax_version"
    implementation "androidx.camera:camera-view:$camerax_version"

    // TensorFlow Lite for ML inference
    implementation 'org.tensorflow:tensorflow-lite:2.14.0'
    implementation 'org.tensorflow:tensorflow-lite-gpu:2.14.0'
    implementation 'org.tensorflow:tensorflow-lite-support:0.4.4'

    // ML Kit for face detection
    implementation 'com.google.mlkit:face-detection:16.1.5'

    // Permissions handling
    implementation 'com.google.accompanist:accompanist-permissions:0.32.0'

    // Preferences DataStore
    implementation 'androidx.datastore:datastore-preferences:1.0.0'

    // JSON serialization
    implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0'

    // Encryption
    implementation 'androidx.security:security-crypto:1.1.0-alpha06'

    // Multidex
    implementation 'androidx.multidex:multidex:2.0.1'

    // Testing
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.5'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
    androidTestImplementation platform('androidx.compose:compose-bom:2023.10.01')
    androidTestImplementation 'androidx.compose.ui:ui-test-junit4'

    // Debug
    debugImplementation 'androidx.compose.ui:ui-tooling'
    debugImplementation 'androidx.compose.ui:ui-test-manifest'
}

// Task to generate universal APK
android.applicationVariants.all { variant ->
    if (variant.name == "fullRelease") {
        variant.outputs.all { output ->
            outputFileName = "MoodChroma-${variant.versionName}-${variant.buildType.name}.apk"
        }
    }
}

// Build instructions task
tasks.register('buildPortableApk') {
    group = 'build'
    description = 'Build portable APK for sideloading'

    dependsOn 'assembleFullRelease'

    doLast {
        println """
        ===============================================
        MoodChroma Portable APK Built Successfully!
        ===============================================

        APK Location:
        app/build/outputs/apk/full/release/

        Installation Instructions:
        1. Enable "Install from Unknown Sources" on your Android device
        2. Transfer the APK to your device
        3. Tap the APK file to install
        4. Grant requested permissions
        5. The app will auto-start on device boot

        Features:
        ✓ Self-launching on boot
        ✓ Runs in background
        ✓ Persistent foreground service
        ✓ Auto-restarts if killed
        ✓ Works without Google Play Services

        ===============================================
        """
    }
}
Got it

This can’t be undone

Clear saved check-ins?

This removes every journal entry, including the sample moments. Your journal will stay empty until you add a new check-in.

Keep themClear history