Skip to main content

Voice journaling CLI with Whisper transcription and Claude follow-ups

Project description

Healthyself Journal

Speak your thoughts. Get good questions. Build healthier patterns.

A voice-based journaling tool that makes self-reflection as easy as thinking out loud. Just ramble for a while about what's on your mind, and receive thoughtful, evidence-based questions that help you think things through without getting stuck in unhelpful thought loops.

What makes this different

🎙️ Voice-first: Start journaling instantly by speaking – no typing, no friction. 🧠 Wise, helpful questions: Evidence-based prompts adapted from cognitive behavioral therapy, psychology research, mindfulness practice, and famous coaches. 🔄 Keeps you moving: Gentle redirection when you're spiraling; deeper exploration when you're onto something. 📊 Builds on your history: Each session connects to previous ones for continuity and growth. 🔒 Privacy choice: Use Anthropic + OpenAI OR private/local LLM+transcription (in beta), as you prefer. Healthyself doesn't have any backend, storage, or analytics of its own outside your machine at all). 🛡️ Aims to be safe: Anti-sycophancy, rumination pivots, and clear boundaries; see docs/reference/SAFEGUARDING.md.

  • Open source. So you can see & modify the prompts and research for yourself.
  • This is assisted reflection. It's not trying to be or replace human conversation or therapy.

Quick start

# Recommended: run without installing (uvx)
uvx healthyselfjournal -- init
uvx healthyselfjournal -- journal cli

That's it. Recording starts immediately. Press any key to stop and get your next question.

Tip for first‑time users: if uvx isn’t found, install uv (which provides uvx) and try again:

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Who this is for

If you've tried journaling but found it hard to maintain, or if you appreciate good questions to help you reflect more deeply, this tool is designed for you. It combines the ease of voice recording with the structure of guided reflection, using techniques validated by research to help you develop healthier thinking patterns.

How it works

  1. Start speaking – Recording begins immediately when you launch
  2. Press any key to stop – Your audio is transcribed automatically
  3. Get a thoughtful question – Based on what you shared and your patterns
  4. Keep going or wrap up – Continue as long as helpful, or press Q to end with a summary

Example session

🧑 You: "I'm torn between applying for the new role and doubling down on my current project. I'm worried I'll disappoint people either way."

🤖 AI: "I hear the pull between gratitude for people who believed in you and the desire for the growth you've been wanting. When you say these are 'real relationships, not just work' — what would honoring those relationships look like as you make this decision?"

[conversation continues...]

You can see the full questioning prompt, and the research on which it's based below.

For example, the question above draws on the following approaches: [Values exploration, Clean Language (preserving "real relationships"), Socratic questioning, autonomy-supportive framing].

Installation & Setup

Requirements

  • Python 3.10+
  • Microphone access (grant permission to your terminal/app)
  • Optional cloud keys:
    • OPENAI_API_KEY (speech-to-text when using --stt-backend cloud-openai)
    • ANTHROPIC_API_KEY (LLM questions/summaries; default cloud provider)
  • Optional local/offline (in beta):
    • Ollama running (for local LLM via --llm-model ollama:<model>)
    • One STT backend installed: mlx-whisper (Apple Silicon), faster-whisper, or whispercpp + .gguf model
  • Optional: ffmpeg on PATH for background MP3 conversion
  • Linux only: install audio libs (e.g., sudo apt install portaudio19-dev libsndfile1)

See docs/reference/AUDIO_VOICE_RECOGNITION_WHISPER.md and docs/reference/PRIVACY.md for details.

Install

# Option 1: Run without installing (recommended)
uvx healthyselfjournal -- init

# Option 2: Install with pip
pip install healthyselfjournal

First-time setup

The setup wizard will help you:

  • Add your API keys securely
  • Choose between Cloud mode (recommended) or Privacy mode (fully offline)
  • Pick where to save your journal sessions
# Recommended
uvx healthyselfjournal -- init

# Or if installed via pip
healthyselfjournal init

Daily use

# Start a new session
healthyselfjournal journal cli

# Continue your last session
healthyselfjournal journal cli --resume

Insights (v1)

Generate reflective insights based on your past summaries and recent transcripts, saved under sessions/insights/:

# List existing insights
healthyselfjournal insight list --sessions-dir ./sessions

# Generate multiple insights in a single file
healthyselfjournal insight generate --sessions-dir ./sessions --count 3

Controls

  • Any key: Stop recording and get your next question
  • ESC: Cancel the current recording (discard it)
  • Q: Save and quit after this response

Privacy options

Cloud mode (default): Uses OpenAI for transcription and Anthropic Claude for questions. Best accuracy and response quality.

Privacy mode: Everything stays on your device. Requires Ollama for local AI and choosing a local transcription option. See docs/reference/PRIVACY.md for details.

Where your journal lives

Your sessions are saved as markdown files with audio recordings:

sessions/
├── 250919_143022.md          # Today's afternoon session
├── 250919_143022/
│   ├── 250919_143022_01.wav  # Your voice recordings
│   └── 250919_143022_02.wav
└── events.log                 # Activity log

You own all your data. Export it, back it up, or delete it anytime.

The research behind it

This tool is built on decades of evidence-based psychological research, integrating over 30 documented therapeutic and coaching frameworks:

Core Therapeutic Foundations

  • Cognitive Behavioral Therapy (CBT): Socratic questioning to identify and reframe thought patterns (meta-analyses show d=0.73 effect size)
  • Motivational Interviewing: Amplifying "change talk" and intrinsic motivation (70+ RCTs supporting effectiveness)
  • Clean Language (David Grove): Using your exact words and metaphors to maintain authenticity and avoid therapist contamination
  • Explanatory Style (Seligman's 3 P's): Challenging permanence, pervasiveness, and personalization in negative thinking

Anti-Rumination & Safety Features

  • Structured vs. Destructive Rumination: Evidence-based detection of maladaptive thought loops
  • Self-Distancing Techniques: Third-person perspective and temporal distancing (strong neurological evidence)
  • Concrete vs. Abstract Processing: Redirecting to specific, actionable thoughts when stuck
  • Session Timing Optimization: 15-20 minute sweet spot to prevent rumination (based on expressive writing research)

Narrative & Meaning-Making

  • Redemptive Narrative Construction (McAdams): Guiding from contamination to growth narratives
  • Implementation Intentions: "When-then" planning for 2-3x better habit formation
  • Cognitive-Emotional Integration: Balanced processing outperforms emotion-only expression

Mindfulness & Contemplative Practices

  • Plum Village Tradition: Mindful reflection and present-moment awareness
  • Beginning Anew Practice: Four-part framework for relationship and self-compassion
  • Body Awareness Integration: Somatic grounding when caught in mental loops

Coaching Methodologies

  • GROW Model: Goal-Reality-Options-Will framework with strong evidence base
  • Solution-Focused Brief Therapy: Future-oriented questions emphasizing strengths
  • Values Clarification (ACT): Connecting actions to core personal values

Expert Practitioner Wisdom

Questions inspired by renowned coaches and researchers:

  • Tim Ferriss' fear-setting and simplification frameworks
  • Jerry Colonna's radical self-inquiry
  • Martha Beck's body compass methodology
  • Tony Robbins' reframing techniques
  • Arthur Brooks' failure integration

Cultural & Individual Adaptation

  • Cultural Sensitivity: Avoiding Western-centric assumptions about gratitude and individual achievement
  • Personalization: Adapting to user patterns, chronotype, and emotional states
  • Developmental Considerations: Age-appropriate approaches based on psychological development

The system continuously analyzes your responses for emotional intensity, thought patterns, topic persistence, exhaustion signals, and readiness for change, adapting its questioning strategy based on session phase and your current needs.

For an overview of all 30+ research areas and methodologies, see docs/research/RESEARCH_TOPICS.md and docs/reference/SCIENTIFIC_RESEARCH_EVIDENCE_PRINCIPLES.md.

Advanced options

Desktop app (in alpha)

healthyselfjournal journal desktop --voice-mode

Different AI models

# Use a local model (requires Ollama)
healthyselfjournal journal cli --llm-model ollama:gemma3:27b-instruct-q4_K_M

Custom session location

healthyselfjournal journal cli --sessions-dir ~/Documents/journal

Support & Documentation

  • Issues or questions: GitHub Issues
  • Full documentation: See the docs/ folder
  • Contributing: Contributions welcome! See CONTRIBUTING.md

Technical details

For developers and technical users:

  • Built with Python, using Typer for the CLI.
  • OPTIONAL/ALPHA FastHTML for the web interface and PyWebView for desktop
  • Transcription via OpenAI Whisper API (or local alternatives)
  • Questions generated by Anthropic Claude (or local Ollama models)
  • Either everything runs locally (your data never leaves your device), or choose cloud services
  • See docs/reference/ARCHITECTURE.md for system design
  • See AGENTS.md for development setup

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

healthyselfjournal-0.2.7.tar.gz (763.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

healthyselfjournal-0.2.7-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

Details for the file healthyselfjournal-0.2.7.tar.gz.

File metadata

  • Download URL: healthyselfjournal-0.2.7.tar.gz
  • Upload date:
  • Size: 763.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for healthyselfjournal-0.2.7.tar.gz
Algorithm Hash digest
SHA256 7b4706edb4bde01b6240a98356fa4ec9ee116d02f35c0b6c7329d91e599f3664
MD5 0e17d7ec5bdfab5b3f359fc0874ff742
BLAKE2b-256 28cd33efac7ee98c28e68dd7998575d77ab8ee2fa8d86d627924b59063ce3bdd

See more details on using hashes here.

File details

Details for the file healthyselfjournal-0.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for healthyselfjournal-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2d7a8074165672383e1fe6e31bbfc88c357838c59f7cfb9fcf0c894198faa9b5
MD5 c61815a597203d74032d2b5c7decfa4c
BLAKE2b-256 1acef81571d35931583a2e1c477e9863f148e5a179508df4d190e85b1d7f4c83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page