kenn-io/msgvault
kenn-io/msgvault has 2,186 GitHub stars and 178 forks. GitHot measured +1 stars in 24 hours and +10 in 7 days. Last checked 2026-11-11 11:43 UTC. Last push 2026-11-02.
归档一生的电子邮件和聊天记录。可离线搜索和分析全部消息历史记录,并通过 AI 查询。由 SQLite 和 DuckDB 提供支持。
可以做什么
- Bring your history together. Sync mail, chat, calendars, meeting notes, and contacts, or import local exports. See the source guide.
- Find the message or file you need. Search by sender, date, mailing list, or words. Optionally enable search by meaning, document text extraction, and image search with a provider you choose.
- Keep track of people. Connect identities, curate profiles and relationships, browse contact activity, and sync contacts with CardDAV. Optional profile automation and conversation briefs require separate consent.
- Explore the archive. Group messages by people, domains, time, source, and type in the Web UI or TUI. Save useful views and monitor background work.
实测星标增长
- 24小时
- +1
- 7天
- +10
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
msgvault
Documentation · Setup Guide · Interactive TUI
Keep your communications and relationships in an archive you own.
msgvault is a local-first, open-source archive for email, chat, meetings, calendars, and contacts. Keep your history on your own hardware, find messages and files, and connect the addresses and handles that belong to the same person. Use the browser, terminal, CLI, HTTP API, or an AI assistant through MCP.
Alpha software. APIs, storage format, and CLI flags may change. Back up your data. This README follows current
main; see the 0.23.0 changelog for features and upgrade steps.
What you can do
- Bring your history together. Sync mail, chat, calendars, meeting notes, and contacts, or import local exports. See the source guide.
- Find the message or file you need. Search by sender, date, mailing list, or words. Optionally enable search by meaning, document text extraction, and image search with a provider you choose.
- Keep track of people. Connect identities, curate profiles and relationships, browse contact activity, and sync contacts with CardDAV. Optional profile automation and conversation briefs require separate consent.
- Explore the archive. Group messages by people, domains, time, source, and type in the Web UI or TUI. Save useful views and monitor background work.
- Use your own tools. Query with SQL, export messages and attachments, or connect an agent to the MCP server.
- Preserve and maintain it. Deduplicate copies, back up the archive, and review staged mail deletions before explicitly removing messages upstream. Remote deletion preserves archived messages and attachments.
Keyword search and analytics read your archive without contacting its source services. Sync needs access to those services. Optional model and enrichment features send selected data to the endpoints you configure; local embedding servers are also supported. See recommended configuration for the choices and consent steps.
The daemon also sends anonymous usage telemetry, a daily ping and web, command-line and terminal UI usage carrying the version, platform and a random install ID, never archive content. See telemetry for the full list and how to turn it off.
Installation
macOS / Linux:
curl -fsSL https://msgvault.io/install.sh | bash
macOS via Homebrew
brew install msgvault
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://msgvault.io/install.ps1 | iex"
The installer detects your OS and architecture, downloads the latest release from GitHub Releases, verifies the SHA-256 checksum, and installs the binary. You can review the script (bash, PowerShell) before running, or download a release binary directly from GitHub.
To build from source on macOS or Linux instead (requires Go 1.27+, Bun
1.3.14+, Node.js 20.19+ on 20.x, 22.13+ on 22.x, or 24+, and a C/C++
compiler for CGO and to statically link DuckDB; on Debian/Ubuntu also install
libsqlite3-dev for the sqlite3.h header used by the default sqlite_vec
build):
git clone https://github.com/kenn-io/msgvault.git
cd msgvault
make install
Conda-Forge:
You can install msgvault from conda-forge using Pixi or Conda:
pixi global install msgvault
conda install -c conda-forge msgvault
Quick Start
For Gmail, first create an OAuth credential with the OAuth setup guide. Then archive a small first batch:
msgvault init-db
msgvault add-account [email protected]
msgvault sync-full [email protected] --limit 100
msgvault serve
Open the API server URL printed by msgvault serve. The release binary
includes the browser application; it needs no separate Node or Bun installation
at runtime. Use msgvault tui for the terminal interface.
For another provider or a local export, start with choosing a source. Google credentials are needed only for Google-backed sources. The setup guide covers installation, first sync, and running on your own server.
Find your next step
| I want to… | Read |
|---|---|
| Understand the product | Product overview and archive lifecycle |
| Upgrade an existing archive | Changelog and upgrade notes |
| Find messages by words or meaning, read threads, and locate attachments | Searching and document indexing |
| Maintain contacts and relationships | People and profiles |
| Import local text-message history | Text message imports |
| Configure optional AI features | Recommended configuration |
| Run msgvault on a server | Remote deployment |
| Back up or free mailbox space | Backup and deleting email |
| Look up a command or setting | CLI reference and configuration |
| Build or contribute | Development and agent guide |
Community
Join the msgvault Discord, report an issue, or read the full documentation.
License
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,830 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,395 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,473 星标