Python app for recording and LLM-based recall of computer activity
Top 53.2% on sourcepulse
Memento is a Python application designed for personal data recall, enabling users to record their computer activity, search through it, and interact with a Large Language Model (LLM) to find past information. It targets users who need to retrieve details about their digital history, offering a "time travel" experience for their computer usage.
How It Works
Memento captures screenshots every two seconds, compiling them into efficient h264 video segments. It then employs Optical Character Recognition (OCR) via Tesseract to extract text from these images. This extracted text is indexed in a SQLite3 database and a vector database, utilizing FTS5 for text searching. For conversational recall, it integrates with OpenAI's GPT API.
Quick Start & Requirements
pip install -e .
tesseract-ocr-eng
).TESSDATA_PREFIX
must be set to the Tesseract data path.OPENAI_API_KEY
.memento-bg
memento-timeline
Highlighted Details
Maintenance & Community
dev
branch.Licensing & Compatibility
Limitations & Caveats
The project is still under active development, with ongoing work to reduce disk space usage and optimize CPU performance. The TESSDATA_PREFIX
environment variable setup might require system-specific path adjustments.
1 year ago
1 day