A gentle snapshot
How things feel right now
Illustrative values, not measured brain data or a health assessment.
A check-in with yourself
Notice the moment. Find a small next step.
A gentle snapshot
Illustrative values, not measured brain data or a health assessment.
Signal lab
Your words matter most
Your note stays out of AI summaries.
Save check-inA few recent moments
Your next check-in will appear here.
Small moments add up
A private record of what you choose to notice.
Example moments are clearly marked and can be deleted. Only your own check-ins are used for optional AI trend context.
A thoughtful conversation
Reflect, find patterns, and choose one small next step.
Start with a prompt
Private, on-demand AI
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 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
Choose what MoodChroma remembers and what you share.
Your experience
AI, only when you ask
MoodChroma uses the Miniapps AI connection. Do not paste an Anthropic API key here; no secret key is stored in this page.
Hardware & signal
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 noteNative app reference
A setup guide and Gradle template for a separate Android Studio project. This web miniapp cannot compile an APK.
Open the Android build guideYour records
Export a portable copy or remove your saved check-ins and conversation.
Saved records use private Miniapps storage. If storage is unavailable, this visit still works but changes may not persist.
A clear note about hardware
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.
Native Android project
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.
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.
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.
This is the configuration you supplied, preserved as a copyable template. It depends on matching root Gradle plugin versions, wrapper, sources, and resources.
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
===============================================
"""
}
}
This can’t be undone
This removes every journal entry, including the sample moments. Your journal will stay empty until you add a new check-in.