Organize your data in a folder structure. The system will recursively scan all subdirectories.
# Activate environment
source venv/bin/activate # or source ../venv/bin/activate
# Dry run - see what will be processed
python ingest_my_data.py /path/to/your/data --dry-run
# Full ingestion
python ingest_my_data.py /path/to/your/data
# Faster ingestion without encryption
python ingest_my_data.py /path/to/your/data --no-encryption- Text:
.txt,.md,.markdown,.rst,.log - Code:
.py,.js,.java,.cpp,.html,.css - Data:
.json,.xml,.yaml,.yml - Email:
.eml,.mbox - Chat exports: WhatsApp
.txt, Discord.json
- Documents:
.pdf,.doc,.docx(need to install:pip install PyPDF2 python-docx) - Images:
.jpg,.png(need:pip install pillow pytesseractfor OCR) - Audio:
.mp3,.wav(need:pip install whisperfor transcription) - Video:
.mp4,.avi(frame extraction + OCR)
python ingest_my_data.py ~/Documents --consent fullExport your emails as .mbox or .eml files:
- Gmail: Takeout → Download as MBOX
- Outlook: Export → Save as EML
python ingest_my_data.py ~/EmailArchive- WhatsApp: Export chat (without media) →
.txtfile - Discord: Use DiscordChatExporter →
.jsonfile - Telegram: Export as JSON
python ingest_my_data.py ~/ChatExportspython ingest_my_data.py ~/Projects --no-encryption# First pass - text only
python ingest_my_data.py ~/PersonalArchive
# Later - when image support is ready
python ingest_my_data.py ~/PersonalArchive --process-imagesChoose your comfort level:
# Full capture (default)
python ingest_my_data.py /data --consent full
# Only metadata, no content
python ingest_my_data.py /data --consent metadata_only
# Anonymized content
python ingest_my_data.py /data --consent anonymized
# No capture (test run)
python ingest_my_data.py /data --consent none- Start with a subset:
python ingest_my_data.py ~/Archive/2024 --batch-size 100- Disable encryption for speed:
python ingest_my_data.py ~/Archive --no-encryption- Process in batches:
# Year by year
for year in 2020 2021 2022 2023 2024; do
python ingest_my_data.py ~/Archive/$year
doneTo enable PDF processing:
pip install PyPDF2 pdfplumber
# Then in parsers.py, add:
import PyPDF2
import pdfplumberTo extract text from images:
# Install Tesseract OCR
sudo apt-get install tesseract-ocr # Linux
brew install tesseract # Mac
# Install Python packages
pip install pytesseract pillow
# Then the system can extract text from imagesTo transcribe audio files:
pip install openai-whisper
# Or for faster, local transcription:
pip install faster-whisperThe ingestion script shows progress every 10 files (configurable):
[156/1847] Processing: Documents/notes/consciousness.txt
✅ Ingested as a4f3e8b2...
📈 Progress: 160/1847 files processed
✅ Success: 145
⏭️ Skipped: 10
❌ Errors: 5
Once your data is ingested:
python cli.py query
> "memories from childhood"
> "thoughts about AI"
> "project ideas from 2023"python cli.py chat
> "What did I think about consciousness in my journal entries?"
> "Summarize my email conversations about the project"python web_app.py
# Open http://localhost:8000python demo_rag.py
# AI-powered answers from your consciousness data- Start Small: Test with a small folder first
- Organize: Group similar content in folders
- Clean: Remove duplicates and junk files
- Privacy: Use appropriate consent levels
- Backup: Keep original files - ingestion is non-destructive
- Process in smaller batches
- Increase system limits:
ulimit -n 4096
- Use
--batch-size 1for very large files - Disable encryption:
--no-encryption
- Check file permissions
- Run as user who owns the files
- Disable encryption for speed
- Skip images/videos initially
- Use SSD storage for database
Coming soon:
- 🖼️ Image memory extraction (photos → memories)
- 🎵 Audio transcription (voice notes → text)
- 🎥 Video processing (videos → key frames + transcripts)
- 📧 Email threading and conversation reconstruction
- 💬 Chat sentiment and relationship analysis
- 🧠 Dream journal analysis
- 📊 Temporal pattern detection
- 🔗 Knowledge graph generation
- Original files are NEVER modified
- All data is stored encrypted (unless disabled)
- Database can be backed up/exported
- You maintain full control
Ready to capture your consciousness? Start with:
python ingest_my_data.py ~/YourDataFolder --dry-run