An intelligent personal diary that talks back to you!
JARVIS AI Diary is a smart diary application that understands your voice, responds intelligently, and helps you analyze your thoughts and emotions. Just like Tony Stark's AI assistant JARVIS from the movies, this system can have conversations with you, remember what you say, and provide insights about your mental state and daily experiences.
Perfect for:
- π Daily journaling with voice input
- π§ Self-reflection and emotional analysis
- π¬ Having intelligent conversations about your day
- π Tracking mood patterns and personal growth
- π Searching through your diary history
- Talk to Your Diary: Simply speak and JARVIS will listen, understand, and respond
- Auto-Stop Recording: Automatically stops when you pause, restarts when you speak again
- Voice Conversations: Have actual conversations with your AI assistant
- Multiple Voice Options: Choose between male and female voices
- Customizable Speech: Adjust voice speed and volume to your preference
- Session Greetings: JARVIS greets you when you start but won't repeat greetings unnecessarily
- Smart Responses: JARVIS understands context and responds meaningfully to your entries
- Emotional Analysis: Analyzes your mood and emotional patterns from your diary entries
- Personal Insights: Provides psychological insights and identifies key themes in your thoughts
- Conversation Memory: Remembers your previous conversations for continuity
- Multiple AI Brains: Uses advanced AI models like GPT-3.5, Google Gemini, and Claude for best responses
- Customizable Personality: You can adjust how JARVIS talks and behaves
- Voice Recording - Talk naturally and JARVIS will transcribe and respond
- Text Writing - Type your entries directly with optional voice input
- Memory Analysis - Deep psychological analysis of your thoughts and patterns
- Quick Notes - Fast entry system for brief thoughts
- Gender Selection: Choose between male and female AI voices
- Speed Control: Adjust how fast JARVIS speaks (80-250 words per minute)
- Volume Control: Set voice output level (0-100%)
- Test Voice: Preview your settings before saving
- Real-time Updates: Changes apply immediately to all voice feedback
- Automatic Saving: Every entry is automatically saved with timestamp
- Intelligent Search: Find entries by content, date, or type
- Entry Organization: Filter by voice records, text entries, or analysis sessions
- Edit Anytime: Modify or delete any entry
- Daily Files: Entries organized by date for easy browsing
- PDF Reports: Beautiful formatted documents of your diary entries
- JSON Data: Complete data backup with all metadata
- Plain Text: Simple text files for easy sharing
- Date Filtering: Export specific time periods
- Custom Selection: Choose which types of entries to include
The JARVIS interface uses a futuristic design inspired by sci-fi movies, but don't worry - it's easy to use! Here's what each section does:
- Central Hub: Your starting point with access to all features
- Status Indicators: Shows if your microphone and voice systems are working
- Quick Navigation: Buttons to jump to any feature
- System Greeting: JARVIS will greet you when you first visit
- Voice Recording: Click "Start Recording" to begin talking to JARVIS
- Auto-Detection: Automatically starts/stops recording based on your speech
- Live Conversation: JARVIS responds immediately to what you say
- Session Management: Maintains conversation context during your session
- One-Time Greeting: JARVIS greets you once per session, then focuses on responses
- Text Editor: Write your thoughts directly
- Voice Input Button: Add voice recordings to text entries
- AI Analysis: Get instant feedback on your writing
- Save & Continue: Entries automatically saved with analysis
- Entry Browser: See all your diary entries organized by date
- Search Function: Find specific entries by typing keywords
- Filter Options: Show only voice recordings, text entries, or analysis sessions
- Edit/Delete: Modify or remove entries with simple buttons
- Pagination: Navigate through multiple pages of entries
- Format Selection: Choose PDF (formatted), JSON (data), or TXT (simple text)
- Date Range: Select specific time periods to export
- Entry Types: Include only the types of entries you want
- Download: Get your diary data as a file on your computer
- Personal Profile: Tell JARVIS about yourself for better responses
- Voice Settings: Choose voice gender, speed, and volume
- AI Personality: Customize how JARVIS talks and behaves
- Test Features: Try voice settings before saving
- A Computer: Windows, Mac, or Linux
- Internet Connection: For AI features and initial setup
- Microphone: Any microphone or headset for voice features
- Web Browser: Chrome, Firefox, Safari, or Edge
Python is the programming language that runs JARVIS.
Windows Users:
- Go to python.org
- Download Python 3.8 or newer
- Run the installer and CHECK "Add Python to PATH"
- Click "Install Now"
Mac Users:
- Go to python.org
- Download Python 3.8 or newer
- Run the installer
Linux Users:
sudo apt update
sudo apt install python3 python3-pip
- Download the JARVIS AI Diary files to your computer
- Extract them to a folder (like
Documents/jarvis-ai-diary
) - Remember where you put this folder!
JARVIS needs access to AI services to be intelligent. You'll need an OpenRouter API key:
- Visit OpenRouter.ai
- Create a free account
- Go to "Keys" section
- Generate a new API key
- Copy the key (it looks like:
sk-or-v1-abc123...
)
Cost: OpenRouter offers free credits to start, then very low costs (usually under $1 for months of diary use)
Open Command Prompt/Terminal:
- Windows: Press
Win + R
, typecmd
, press Enter - Mac: Press
Cmd + Space
, typeTerminal
, press Enter - Linux: Press
Ctrl + Alt + T
Navigate to your JARVIS folder:
cd Documents/jarvis-ai-diary
# (replace with wherever you put the files)
Install Python packages:
pip install -r requirements.txt
If that doesn't work, try:
pip3 install -r requirements.txt
- In your JARVIS folder, create a file called
.env
- Open it with Notepad (Windows) or TextEdit (Mac)
- Add these lines:
SECRET_KEY=your-secret-key-12345
OPENROUTER_API_KEY=sk-or-v1-your-actual-api-key-here
- Replace
your-actual-api-key-here
with your real OpenRouter key - Save the file
FFmpeg helps with audio processing for better voice quality.
Windows (Easy Method):
winget install FFmpeg
Windows (Manual Method):
- Go to ffmpeg.org/download.html
- Download FFmpeg for Windows
- Extract to
C:\ffmpeg
- Add
C:\ffmpeg\bin
to your system PATH
Mac:
brew install ffmpeg
Linux:
sudo apt install ffmpeg
In your command prompt/terminal (still in the JARVIS folder):
python app.py
You should see:
* Running on http://127.0.0.1:5000
* Debug mode: off
- Open your web browser
- Go to:
http://localhost:5000
- You should see the JARVIS interface!
Create a .env
file in your JARVIS folder with these settings:
# Required API Key
OPENROUTER_API_KEY=sk-or-v1-your-key-here
# Security Key (can be any random string)
SECRET_KEY=your-random-secret-key-123
# Optional Settings
DEBUG=False
FLASK_ENV=production
Where to get your API key:
- OpenRouter API: openrouter.ai - Sign up, go to "Keys", create new key
- Cost: Free tier available, then pay-per-use (very affordable for personal diary use)
When you run pip install -r requirements.txt
, these programs are installed:
flask
- The web server that runs JARVISpython-dotenv
- Reads your API key from the .env fileWerkzeug
- Helps Flask run smoothly
requests
- Connects to AI services for intelligent responsesopenai
- Backup AI service
SpeechRecognition
- Converts your voice to textpyttsx3
- Converts text to speech (JARVIS's voice)pydub
- Processes audio files
reportlab
- Creates PDF exports of your diary
Don't worry about these technical details - the installation handles everything automatically!
- Visit the Bio & Settings page (click "Bio & Prompts" from main menu)
- Tell JARVIS about yourself - Add your name, interests, background
- Set your voice preferences - Choose male/female voice, adjust speed and volume
- Test your voice settings - Click "Test Voice" to hear how JARVIS will sound
- Customize JARVIS's personality - Tell it how you want it to respond to you
- Go to "Neural Record" page
- Click "Start Recording" - JARVIS will greet you (only once per session)
- Speak naturally - Talk about your day, thoughts, feelings, or ask questions
- JARVIS responds intelligently - It will analyze what you said and respond
- Continue the conversation - Keep talking, JARVIS maintains context
- Auto-save - Everything is automatically saved with timestamps
Tips for better voice interaction:
- Speak clearly in a quiet environment
- Pause briefly between thoughts for auto-detection
- You can have full conversations - ask JARVIS questions!
- JARVIS remembers your conversation context during the session
- Go to "Compose" page
- Type your thoughts - Write about anything on your mind
- Optional voice input - Click microphone to add voice recordings
- Submit for analysis - JARVIS analyzes your writing and provides insights
- Review AI feedback - Read JARVIS's psychological analysis and suggestions
- Visit "Archive" page
- Browse by date - See entries organized chronologically
- Search for specific content - Type keywords to find relevant entries
- Filter by type - Show only voice recordings, text entries, or analyses
- Edit or delete - Modify entries or remove ones you don't want
- Navigate pages - Use pagination for large diary collections
- Go to "Memory Scan" page
- Describe something you want analyzed - Past events, recurring thoughts, patterns
- Get deep psychological insights - JARVIS provides detailed analysis
- Save insights - Analysis becomes part of your diary record
- Visit "Export" page
- Choose date range - Select specific time periods
- Pick format:
- PDF - Beautiful formatted document for printing/sharing
- JSON - Complete data backup with all metadata
- TXT - Simple text file for easy reading
- Select entry types - Include voice, text, or analysis entries
- Download your file - Save to your computer
Access through "Bio & Prompts" page:
-
Gender Selection:
- Choose male or female voice for JARVIS
- Click the radio button for your preference
-
Speed Control:
- Drag slider from 80-250 words per minute
- Slower = more natural, Faster = more efficient
-
Volume Control:
- Adjust from 0-100% volume level
- Set comfortable listening level
-
Test Voice:
- Click "Test Voice Settings" to preview
- Hears sample with your current settings
- Adjust settings and test again until perfect
Don't be intimidated by the sci-fi terminology! Here's what everything means:
- Neural Record = Voice diary recording
- Quantum Input = Quick note entry system
- Memory Scan = Deep thought analysis
- Bio Matrix = Your personal profile settings
- Neural Archive = Your diary history browser
- Consciousness Export = Save your diary data
- Data Sync = Backup and synchronization tools
- Neural Interface = The main system dashboard
All the fancy names just mean: record voice, write text, analyze thoughts, save data, and customize settings!
Main Dashboard (http://localhost:5000/)
- Central navigation hub
- System status indicators
- Quick access to all features
- JARVIS greeting and introduction
- Neural Record (
/neural-record
) - Voice conversation interface - Speech Settings - Configure voice gender, speed, volume in Bio page
- Auto-recording - Smart start/stop based on speech detection
- Session greetings - JARVIS greets once per session, then provides status updates
- Compose (
/compose
) - Text diary entry with optional voice input - Auto-save - Entries saved automatically with timestamps
- AI Analysis - Intelligent feedback on all entries
- Archive (
/archive
) - Browse, search, edit, and delete entries - Export (
/export
) - Download diary data in PDF, JSON, or TXT format - Bio & Settings (
/bio
) - Personal profile and voice configuration
- Memory Scan (
/memory-scan
) - Deep psychological analysis of thoughts - Quantum Input (
/quantum-input
) - Quick structured note entry - Data Sync (
/sync
) - Backup and synchronization tools
POST /transcribe_and_analyze_audio
- Process voice recordingsPOST /chat
- Interactive conversation with JARVISPOST /speak-greeting
- Generate personalized greetingsPOST /speak-status
- Voice status updatesPOST /test-voice
- Test voice settingsPOST /save-voice-settings
- Save voice preferencesGET /system-status
- Check audio capabilitiesPOST /update-profile
- Save profile changesDELETE /delete-entry/<id>
- Remove diary entries
JARVIS uses a futuristic interface inspired by sci-fi movies, but it's designed to be intuitive:
- Cyan Blue Colors - Main buttons and important text
- Animated Backgrounds - Moving grid patterns for visual appeal
- Glowing Effects - Highlights on interactive elements
- Smooth Transitions - Animations when clicking buttons or typing
- Clear Buttons - Each button clearly labeled with icons and text
- Consistent Layout - Similar design across all pages
- Status Indicators - Green for working, red for errors, orange for processing
- Responsive Design - Works on computers, tablets, and phones
- Auto-resize Text Areas - Text boxes grow as you type
- Character Counters - Shows how much you've written
- Loading Indicators - Shows when JARVIS is thinking/processing
- Error Messages - Clear explanations if something goes wrong
- Success Confirmations - Visual feedback when actions complete
Problem: Error when running python app.py
Solutions:
- Make sure you're in the correct folder:
cd path/to/jarvis-ai-diary
- Check Python is installed:
python --version
(should show 3.8+) - Install requirements again:
pip install -r requirements.txt
- Check your
.env
file exists and has your API key
Problem: Microphone not working or poor transcription Solutions:
- Browser permissions: Allow microphone access when prompted
- Check microphone: Test in other apps (like Voice Recorder)
- Quiet environment: Reduce background noise
- Speak clearly: Pause briefly between sentences
- Check audio settings: Ensure correct microphone is selected in system settings
Problem: No AI responses or generic responses Solutions:
- Check API key: Verify your OpenRouter key in
.env
file - Internet connection: Ensure stable internet for AI services
- API credits: Check your OpenRouter account has available credits
- Wait a moment: AI responses can take 2-10 seconds
Problem: Can't change voice or voice settings don't apply Solutions:
- Test voice button: Use the test feature to verify settings
- Browser audio: Check browser isn't muted
- System audio: Verify system speakers/headphones work
- Save settings: Make sure to save changes in Bio & Settings page
Problem: Can't export diary or entries not saving Solutions:
- File permissions: Ensure JARVIS folder isn't read-only
- Disk space: Check you have sufficient storage space
- Antivirus: Some antivirus may block file creation
- Admin rights: Try running command prompt as administrator
Problem: Blank pages or "Can't connect" errors Solutions:
- Check server: Ensure you see "Running on http://127.0.0.1:5000" in terminal
- Correct URL: Use
http://localhost:5000
nothttps://
- Firewall: Allow Python through Windows firewall if prompted
- Port conflict: If port 5000 is busy, stop other applications
Problem: pip install fails or packages won't install Solutions:
- Update pip: Run
python -m pip install --upgrade pip
- Try pip3: Use
pip3 install -r requirements.txt
- Admin rights: Run command prompt as administrator
- Python PATH: Ensure Python was installed with "Add to PATH" checked
Problem: Audio conversion errors Solutions:
- Install FFmpeg: Follow the FFmpeg installation steps above
- PATH setup: Ensure FFmpeg is added to system PATH
- Restart terminal: Close and reopen command prompt after FFmpeg install
- Alternative: JARVIS works without FFmpeg, just with reduced audio quality
If problems persist:
- Check terminal output: Look for error messages when running JARVIS
- Restart everything: Close browser, stop JARVIS, restart both
- Update software: Ensure Python and pip are up to date
- Clean install: Delete and reinstall requirements if needed
JARVIS stores your diary entries locally on your computer in an organized structure:
jarvis-ai-diary/ # Main folder
βββ π± app.py # The main program file
βββ π requirements.txt # List of needed programs
βββ π§ .env # Your API key and settings
βββ π README.md # This instruction file
βββ π modules/ # Program components (don't modify)
βββ π templates/ # Web page designs (don't modify)
βββ π daily_diary/ # π YOUR DIARY ENTRIES ARE HERE
β βββ οΏ½ 18-06-2025.txt # Today's entries
β βββ οΏ½ 17-06-2025.txt # Yesterday's entries
β βββ π ... # Other daily files
βββ π uploads/ # Temporary audio files (auto-cleaned)
- Location:
daily_diary/
folder - File Format: One file per day named
DD-MM-YYYY.txt
- Content: JSON format with all your entries, timestamps, and AI analysis
- Backup: You can copy the
daily_diary
folder to backup all your entries
Each diary entry contains:
{
"timestamp": "14:30:25", # When you made the entry
"type": "voice_record", # Type: voice, text, analysis, etc.
"content": "Your diary content...", # What you wrote or said
"analysis": "AI insights...", # JARVIS's analysis
"date": "2025-06-18" # Entry date
}
- Local Storage Only: All diary entries stored on YOUR computer only
- No Cloud Upload: JARVIS doesn't send your diary to any cloud service
- You Control Everything: Edit, delete, or export your data anytime
- Only for Analysis: When you ask for AI feedback, that specific text is sent for analysis
- No Permanent Storage: AI services don't keep copies of your diary entries
- Anonymized: Your personal identity isn't sent with the text
- Encrypted Connection: All AI communication uses secure HTTPS
- API Key Protection: Your key is stored locally in the .env file
- No Account Linking: AI services don't know your identity
- Backup Regularly: Copy the
daily_diary
folder to backup your entries - Secure Your Computer: Use password protection and keep your computer secure
- Consider Encryption: For extra security, you can encrypt the JARVIS folder
- Control Access: Only run JARVIS when you want to use it
- β Smart Voice Recording: Automatically starts/stops based on speech detection
- β Session-Based Greetings: JARVIS greets you once per session, then provides status updates
- β Voice Configuration Panel: Choose voice gender, adjust speed and volume
- β Test Voice Feature: Preview voice settings before saving
- β Improved Voice Feedback: JARVIS speaks for all major operations (export, save, analysis)
- β Multiple AI Models: Uses GPT-3.5, Google Gemini, and Claude for best responses
- β Conversation Context: Maintains context during voice conversations
- β Improved Analysis: Better psychological insights and emotional pattern detection
- β Personalized Responses: Customizable AI personality based on your preferences
- β Responsive Design: Works perfectly on all device sizes
- β Better Error Handling: Clear messages when something goes wrong
- β Auto-Save Indicators: Visual feedback when entries are being saved
- β Loading States: Shows when JARVIS is processing your requests
- β Smooth Animations: Polished transitions and visual effects
- β Enhanced Export Options: Better formatted PDF, JSON, and TXT exports
- β Improved Search: Find entries faster with better search functionality
- β Entry Management: Easy edit and delete operations for all entries
- β Date Filtering: Filter entries by specific date ranges
- β Stable Voice Processing: Fixed all audio-related bugs and errors
- β Better API Integration: More reliable AI service connections
- β Optimized Performance: Faster loading and response times
- β Code Quality: Cleaner, more maintainable codebase
- Check this README: Most solutions are covered above
- Look at terminal output: Error messages help identify issues
- Restart JARVIS: Stop the program and run
python app.py
again - Check your setup: Verify API key and Python installation
- Can't access microphone: Allow permissions in browser
- No AI responses: Check internet connection and API key
- Pages won't load: Ensure using
http://localhost:5000
- Voice not working: Test system audio and check browser settings
- Check Flask server logs in terminal
- Verify all dependencies installed correctly
- Ensure Python PATH is configured properly
- Test individual components if needed
JARVIS AI Diary transforms the way you journal by:
- π£οΈ Talking with you instead of just recording
- π§ Understanding your emotions and providing insights
- π± Making journaling effortless with voice and auto-save
- π Helping you grow through AI-powered analysis
- π Keeping everything private on your own computer
Follow the installation guide above, and within 10 minutes you'll have your own AI diary companion ready to listen, understand, and help you reflect on your thoughts and experiences.
Built with β€οΈ for intelligent diary management and AI-powered self-reflection.