A Flutter-based emotion tracking application part of the Second Brain Database ecosystem.
- Cross-platform support (Web, Android, iOS, Linux, macOS, Windows)
- Emotion logging and visualization
- Data persistence with SharedPreferences
- Beautiful charts and analytics
- Responsive UI design
The emotion tracker web application is available as Docker images in two variants:
Uses the CanvasKit renderer with Dart compiled to JavaScript. Best for broad browser compatibility.
Docker Hub:
docker pull rohanbatra/sbd-flutter-emotion_tracker-web:latest
docker run -d -p 8080:80 --name emotion-tracker rohanbatra/sbd-flutter-emotion_tracker-web:latestGitHub Container Registry:
docker pull ghcr.io/rohanbatrain/sbd-flutter-emotion_tracker:latest
docker run -d -p 8080:80 --name emotion-tracker ghcr.io/rohanbatrain/sbd-flutter-emotion_tracker:latestUses the skwasm renderer with Dart compiled to WebAssembly. Best for performance-critical applications.
Docker Hub:
docker pull rohanbatra/sbd-flutter-emotion_tracker-web-wasm:latest
docker run -d -p 8080:80 --name emotion-tracker-wasm rohanbatra/sbd-flutter-emotion_tracker-web-wasm:latestGitHub Container Registry:
docker pull ghcr.io/rohanbatrain/sbd-flutter-emotion_tracker/web-wasm:latest
docker run -d -p 8080:80 --name emotion-tracker-wasm ghcr.io/rohanbatrain/sbd-flutter-emotion_tracker/web-wasm:latestBoth images support:
linux/amd64linux/arm64
Docker will automatically pull the correct architecture for your system.
latest- Latest stable build from main branchmain- Latest build from main branchvX.Y.Z- Specific version releasevX.Y- Latest patch versionsha-<commit>- Specific commit build
The nginx server includes a health check endpoint:
curl http://localhost:8080/health- Flutter SDK 3.19.0 or higher
- Dart SDK 3.3.0 or higher
flutter pub get# Web
flutter run -d chrome
# Android
flutter run -d android
# iOS
flutter run -d ios
# Linux
flutter run -d linux
# macOS
flutter run -d macos
# Windows
flutter run -d windowsWeb:
# Standard build
flutter build web --release
# WASM build
flutter build web --release --wasmAndroid:
flutter build apk --release
flutter build appbundle --releaseLinux:
flutter build linux --releasemacOS DMG:
flutter build macos --release
cd build/macos/Build/Products/Release
hdiutil create -volname Emotion-Tracker -srcfolder Emotion\ Tracker.app -ov -format UDZO Emotion-Tracker.dmgmacOS PKG:
pkgbuild --identifier in.rohanbatra.emotion-tracker --version 1.0 --install-location /Applications --root ./Emotion\ Tracker.app Emotion_Tracker.pkgflutter test# Check formatting
dart format --set-exit-if-changed .
# Analyze code
dart analyze
# Auto-format code
dart format .Part of the Second Brain Database ecosystem.
See CONTRIBUTING.md for details.