A local-first archive, search, and intelligence engine for your LLM conversation history.
Project description
ricoeur
A local-first archive, search, and intelligence engine for your LLM conversation history.
Named after Paul Ricoeur, whose work on narrative identity argued that we understand ourselves through the stories we construct from our lived experience. ricoeur reconstructs the narrative of your intellectual life from thousands of AI conversations.
Quickstart
# Install with uv
uv sync
# Initialize the database
uv run ricoeur init
# Import your ChatGPT export
uv run ricoeur import chatgpt ~/Downloads/chatgpt-export/conversations.json
# Import your Claude export
uv run ricoeur import claude ~/Downloads/claude-export/conversations.json
# See what you've got
uv run ricoeur stats
# Search your history
uv run ricoeur search "thermal simulation"
Commands
| Command | Description |
|---|---|
ricoeur init |
Initialize database and config at ~/.ricoeur/ |
ricoeur import chatgpt <path> |
Import from ChatGPT export (.json or .zip) |
ricoeur import claude <path> |
Import from Claude export (.json or .zip) |
ricoeur search <query> |
Full-text search across all conversations |
ricoeur show <id> |
Display a conversation with formatting |
ricoeur stats |
Analytics dashboard |
ricoeur config show |
Print current configuration |
ricoeur config set <key> <value> |
Update a config value |
Search
# Basic full-text search
ricoeur search "streamlit dashboard"
# Filter by platform, language, date
ricoeur search "error fix" --platform chatgpt --lang en
ricoeur search "strategie marketing" --lang fr --since 2025-01-01
# Search only in code blocks
ricoeur search "import pandas" --code
# Output formats: table (default), json, full, ids
ricoeur search "MCP" --format json
Import options
# Re-import safely (updates existing, adds new, never deletes)
ricoeur import chatgpt conversations.json --update
# Dry run — parse and validate without writing
ricoeur import chatgpt conversations.json --dry-run
# Only import recent conversations
ricoeur import claude conversations.json --since 2025-01-01
Optional extras
Install additional capabilities as needed:
# Semantic search with sentence-transformers
uv sync --extra embeddings
# Topic modeling with BERTopic
uv sync --extra topics
# Analytics with DuckDB + Parquet
uv sync --extra analytics
# Terminal UI
uv sync --extra tui
# MCP server for Claude Desktop
uv sync --extra mcp
# Web API server
uv sync --extra serve
# Everything
uv sync --extra all
Configuration
Config lives at ~/.ricoeur/config.toml:
[general]
home = "~/.ricoeur"
default_language = "en"
[embeddings]
model = "st:paraphrase-multilingual-mpnet-base-v2"
batch_size = 64
device = "auto"
[topics]
min_cluster_size = 15
n_topics = "auto"
[summarize]
enabled = false
model = "ollama:llama3.2"
Override the data directory with the RICOEUR_HOME environment variable.
Architecture
~/.ricoeur/
├── config.toml # Configuration
├── ricoeur.db # SQLite database (FTS5 search)
├── analytics/ # Parquet files for DuckDB
├── embeddings/ # Sentence-transformer vectors
├── models/ # Saved BERTopic models
└── attachments/ # Extracted files
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ricoeur-0.1.1.tar.gz.
File metadata
- Download URL: ricoeur-0.1.1.tar.gz
- Upload date:
- Size: 175.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8286400f89ead4979dfd0f93eb3ac24d84d89675fc3a97b755a1493f8ff24fe4
|
|
| MD5 |
0b58baa61ce059ea1d5a543eb051997c
|
|
| BLAKE2b-256 |
da25ae308719f42dba293f0a814ee97c874c2c14c7a7126560ff431625fac78e
|
File details
Details for the file ricoeur-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ricoeur-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1def92900aa83d831976a53bf260ea53e771c16c22fc74ead1055d61589a708
|
|
| MD5 |
44cdbe8813ad197289222431c6fe471e
|
|
| BLAKE2b-256 |
6cc41a91c5c58deb441b7c944e630cccc6c8d1933cd19ddbcb757e3c6314753b
|