FeelGram
FeelGram is a personal health journal for Android. It helps you log what you eat, how you move, how your body feels, and what supplements you take — then correlates those inputs to surface patterns in your wellbeing over time. Designed to make doctor conversations more data-driven.
> Author: Jason Page ·
store.amfile.org
> Version: 4.50
> Package:
org.amfile.feelgram
> License: Private / Personal Use
---
Features
Logging
- Food — Log meals with multi-select food types (e.g. Protein + Vegetable in one entry), cooking method (seed oil, butter, meat fat, veggie fat, raw, steam), multi-select taste tags, and processing tags (Fermented, Processed, Highly Processed, Heated, Raw, Pasteurized, GMO, Organic, Heirloom, Preservatives, Artificial Dyes, Contains HFCS, Contains MSG, Contains Nitrates). Conflict rules prevent selecting contradictory tags (e.g. Raw + Heated). Optional calorie (kcal) intake for chart and doctor-report inclusion. Add free-text notes.
- Activity — Log workouts and movement by type (Walking, Running, Cycling, Strength, Yoga, Swimming, Sports, Chores, Stretching, Stairs, Mental, Rest), intensity (light/moderate/intense), duration, and notes. Mental activities require a sub-type — Play, Work, or Hobby — stored as e.g.
🧠 Mental · Work. Also log stool events — select consistency type (Liquid / Loose / Soft / Formed / Hard) and occurrence count.
- Feeling — Score your overall state (1–5 emoji scale) plus individual sliders for energy, digestive comfort, and mental clarity. Optionally link to your most recent food or activity log.
- Vitals — Record any combination of: heart rate (bpm), blood pressure (systolic/diastolic mmHg), weight (kg or lbs), body temperature (°C or °F), blood oxygen / SpO2 (%), and sleep hours.
- Meds & Supplements — Enter your daily medications and supplement routine once. Each entry is tagged as Medication or Supplement, with dosage, timing, and notes. Medications are visually distinguished from supplements in the list and printed as separate tables in the doctor report.
Back-logging & Editing
- Every log screen has a shared When picker: Today / Yesterday / 2 Days Ago / 3 Days Ago / 📅 Custom (popup calendar for any earlier date), with time-of-day chips (Morning ~8am through Night ~10pm). On Today, a Now chip uses the current time; other slots only appear after their hour has passed so you can back-log earlier today without picking a future time.
- All entries are editable from the History screen — tap EDIT on any card to reopen the pre-populated log screen and save changes in-place.
Charts (8 tabs, 4 time periods)
All charts support 7-day, 30-day, 90-day, and all-time views.
| Tab | What it shows |
|---|
| Overview | Feel trends (daily averages, absolute 1–5 scale — same as print) + optional Food/Activity quality lines + calorie totals when logged |
| Food vs Feel | Average feeling score correlated by food type |
| Activity vs Feel | Average feeling score correlated by activity type |
| Timeline | Chronological line chart of feeling scores |
| Vitals | All 7 vitals normalized to a single comparative line chart |
| Cook Method | Average feeling score correlated by cooking method |
| Stool | Consistency + frequency over time, time-of-day frequency, type distribution (print-aligned) |
| Quality Factors | Processing tags vs avg feeling score (±2h window) + activity intensity×duration buckets vs avg feeling score (±4h window) |
Color coding uses multi-hue series (red / blue / mint / magenta / amber) for colorblind readability. Correlation bars: blue = avg ≥ 4, orange = avg ≤ 2, amber = neutral. Bars with fewer than 3 data points are dimmed (low confidence).
Linking logic: Feeling logs are correlated to food/activity logs either by explicit link (set at log time) or by proximity — the closest feeling entry within 2 hours of a food log or 4 hours of an activity log.
Quality Factors tab: The top bar chart shows each of the 14 processing tags against correlated feeling score; positive-class tags (Organic, Raw, Fermented, Heirloom) are green, concern-class tags are red. The bottom bar chart buckets activity by intensity × duration (Lt<30 / Lt≥30 / Md<30 / Md≥30 / In<30 / In≥30) against correlated feeling score.
Vitals chart: All 7 vitals are min-max normalized independently to [0, 5] so trends across incompatible units (bpm, mmHg, kg, °C, %, h) are visually comparable. Absolute latest values are shown in the info panel below the chart.
History & Export
- Filterable history view (food, activity, feeling, vitals) with edit and delete per entry.
- History reloads automatically when returning from an edit screen.
- CSV export to Downloads folder via MediaStore API (Android 10+), legacy path fallback on older devices.
Print Report for Doctor
- Generates a formatted HTML/PDF summary and sends it to the system print dialog.
- Configurable options:
- Report period: 7 days / 1 month / 3 months / 1 year / all time
- Units: Metric (kg · °C) or Imperial (lbs · °F)
- Include/exclude Activity Log
- Include/exclude Meds & Supplements
- Include/exclude Daily Log Timeline
- Include any combination of 7 embedded charts (each adds ~1 page)
- Report sections:
- Medications table + Supplements / Vitamins table (separate, if enabled)
- Feeling scores overview with distribution table
- Vitals summary (avg and range per metric)
- Dietary patterns: food type frequency, cooking method frequency, top taste tags, processing tag frequency (red = concerns, green = positives)
- Activity sessions and stool log breakdown
- Positive / negative food + activity correlations (avg score ≥ 4.0 / ≤ 2.0)
- Daily log timeline table, most recent 40 entries (optional)
- Optional inline charts (SVG, print-safe; same structure as on-screen Charts): Feel Trends, Food vs Feel, Activity vs Feel, Daily Counts, Vitals Over Time, Cook Method vs Feel, Stool (consistency+frequency, time-of-day, type distribution)
- Optional calorie intake summary when kcal was logged on food entries
---
Requirements
- Android 8.0 (API 26) or higher
- No internet permission required — all data is stored locally on-device
---
Tech Stack
| Component | Library / Version |
|---|
| Language | Kotlin |
| Min SDK | 26 (Android 8.0) |
| Target SDK | 34 (Android 14) |
| Database | Room 2.6.1 (KSP) |
| Charts | MPAndroidChart 3.1.0 |
| UI bindings | ViewBinding |
| Async | Kotlin Coroutines + lifecycleScope |
---
Building from Source
Requires JDK 21 and Android SDK (API 34). KSP requires JDK 21 specifically.
bash
JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 \
ANDROID_HOME=~/Android/Sdk \
bash gradlew assembleDebug --no-daemon
>
Note: local.properties must contain
sdk.dir=/path/to/Android/Sdk. The file is not committed to source control.
> On FUSE-mounted filesystems (e.g. pCloud), use
bash gradlew rather than
./gradlew since execute bits don't persist.
The debug APK will be output to
app/build/outputs/apk/debug/.
---
Database Schema
All data is stored in a local Room (SQLite) database at version 5. No cloud sync or external data transmission occurs.
food_logs —
id,
timestamp,
foodType (CSV — multi-type meals),
cookingMethod,
tasteTags (CSV),
processingTags (CSV),
notes
activity_logs —
id,
timestamp,
activityType,
intensity,
durationMinutes,
stoolType?,
stoolOccurrence?,
notes
feeling_logs —
id,
timestamp,
overallScore (1–5),
energyLevel,
digestiveComfort,
mentalClarity,
mood,
relatedLogId,
relatedLogType,
notes
vitals_logs —
id,
timestamp,
heartRateBpm?,
systolicBp?,
diastolicBp?,
weightKg?,
temperatureC?,
bloodOxygenPct?,
sleepHours?,
notes
supplements —
id,
name,
type ("Medication" | "Supplement"),
dosage,
timing,
notes
> Stool entries use
activityType = "🚽 Stool" in
activity_logs. The
stoolType and
stoolOccurrence columns are
NULL for non-stool entries.
Migration history
| Version | Changes |
|---|
| v1 → v2 | Added stoolType, stoolOccurrence columns to activitylogs; created supplements table |
| v2 → v3 | Added type column to supplements (default 'Supplement') |
| v3 → v4 | Added processingTags column to foodlogs (default '') |
---
Design
FeelGram uses an amber-on-black Tron-inspired theme throughout:
Background: #0A0A0A
Primary amber: #FFA000
Bright accent: #FFD740
Monospace fonts on all data displays
---
Privacy
FeelGram requests no network permissions. All logs remain on your device. CSV exports go to your local Downloads folder only. No analytics, no telemetry, no accounts.