Claude Code session
Alexeyprompts
A viewer for Claude Code history with ClickHouse backend
Install
git clone https://github.com/ClickHouse/alexeyprompts.gitFrom the README
Read the blog: https://clickhouse.com/blog/agentic-coding Alexey Prompts A viewer of Claude Code sessions with ClickHouse backend. How to use Create the database and tables. The raw table uses JSON type hints plus a few materialized columns and a text index so the UI's queries stay fast (see schema.sql for the full definition and the reasoning): Upload your sessions: This is likely optional: Uploading only new data (incremental updates) After the first upload, you don't need to re-send everything. Re-running the commands above is always *safe* (the raw table is a ReplacingMergeTree, so duplicates collapse), but it re-reads and re-sends every session each time. Use upload_incremental.sh to upload only new sessions and new entries appended to existing sessions: On each run it uploads the union of two sets: 1. Sessions ClickHouse doesn't have yet — it asks the raw table which paths are already loaded and uploads any local .jsonl that's missing. This does *not* rely on file mtimes, so it works when you collect from several machines, at different times: copy the .jsonl files over (rsync, scp, …) and upload later. (Plain mtime checks miss these, because copying preserves the original, older mtime.) 2. Sessions that grew — files modified since the previous successful run *on this machine* (tracked by the marker file ~/.claude/.ch_last_upload) are re-uploaded so appended entries get in. Any overlap is deduplicated by the table's ORDER BY (sessionId, timestamp, uuid), so nothing is duplicated. It's idempotent, so it's a good fit for cron, e.g. hourly: Options (environment variables): - CH_SECURE=1 / CH_SECURE=0 — force TLS on/off (defaults to on for any non-localhost host, which ClickHouse Cloud requires). - PROJECTS=/path/to/projects —…
Details
- Repository
- ClickHouse/alexeyprompts
- Language
- HTML
- Last updated
- 1 October 2026
- Topics
- ai
FAQ
What is Alexeyprompts?
A viewer for Claude Code history with ClickHouse backend It is a session for Claude Code, from ClickHouse/alexeyprompts on GitHub.
How do I install Alexeyprompts?
Clone ClickHouse/alexeyprompts from GitHub and follow the setup steps in its README.
Is Alexeyprompts popular?
ClickHouse/alexeyprompts has 30 GitHub stars and 4 forks. It was last updated on 1 October 2026.
More sessions & history
Memory Loop
32yucai0302/memory-loop
Persistent project-scoped memory for Claude Code. Auto-loads on session start, structured by schema, hot/cold layered.
Claco
34kaichen/claco
claco is a CLI tool for boosting Claude Code productivity - manage hooks, slash commands, and inspect session history
Claude Code Viewer
30esc5221/claude-code-viewer
desktop application for viewing and analyzing Claude Code CLI session logs.
CC Conversation Search
28akatz-ai/cc-conversation-search
Find and resume Claude Code conversations using semantic search. Returns session IDs and project paths for easy resumption via 'claude --resume'.
claude-code-chats
18Piebald-AI/claude-code-chats
Simple, fast local viewer for Claude Code sessions.
Frieren Agent Monitor Pet
27Eskeeet/frieren-agent-monitor-pet
Animated macOS desktop pet and AI coding agent monitor for Claude Code, Codex, Cursor, and Pi, with local and remote SSH session tracking.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.