Skip to content

vizansh/Journal

Repository files navigation

📓 AI Journal: Contextual Sentiment Pipeline

A cross-platform mobile journaling application built with React Native, TypeScript, and Expo. The engine intercepts user journal entries, fuses them with contextual device metadata, and executes sentiment analysis via the OpenAI API to construct long-term emotional intelligence profiles.


🧠 System Architecture & Data Pipeline

The core engine transforms raw, unstructured text into structured, visual intelligence reports through a multi-stage fusion pipeline:

  1. Contextual Ingestion: Captures raw journal text alongside active telemetry data including typing behavior metrics (speed, cadence) and real-time environmental weather data.
  2. LLM Sentiment Extraction: Pipes the consolidated text payload to the OpenAI API, leveraging highly structured system prompting to return granular, tokenized emotional patterns and multi-dimensional sentiment scoring.
  3. Temporal Aggregation: Persists and serializes historical data points over distinct temporal brackets (Weekly and Monthly).
  4. Data Visualization Layer: Consumes aggregated time-series vectors to render interactive mood trend charts and predictive analytical reflections.

🛠️ Tech Stack

  • Cross-Platform Framework: React Native / Expo (File-based Routing, TypeScript)
  • AI & Analytics Orchestration: OpenAI API (Structured Text Analytics)
  • Data Visualization: React Native SVG Charts / Victory Native
  • Networking & Environment Sync: Axios / OpenWeather API

Demo

Screenshot_2026-06-17-22-47-44-480_host exp exponent
Screenshot_2026-06-17-22-50-54-940_host exp exponent

Android

Android: download the .apk to launch on the android.


🚀 Quick Start

1. Install Dependencies

npm install

2. Configure Environment

Create a .env file in the root directory and add your API tokens:

OPENAI_API_KEY=your_openai_key_here
WEATHER_API_KEY=your_weather_key_here

3. Initialize Dev Server

npx expo start

About

Personal mood journal app built with Expo and React Native.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors