{"slug": "show-hn-memoriq-open-source-encrypted-vault-for-saving-and-searching-ai-chats", "title": "Show HN: Memoriq – Open-source encrypted vault for saving and searching AI chats", "summary": "Memoriq, an open-source encrypted vault for saving and searching AI chats from ChatGPT, Claude, Gemini, and Grok, launched on Hacker News. The tool encrypts chat content in the browser before upload, ensuring the server never sees plaintext, and offers features like project organization, search, and export. It aims to solve the problem of fragmented, non-portable AI chat histories across different providers.", "body_md": "Memoriq is a private AI memory vault for saving useful conversations from ChatGPT, Claude, Gemini, and Grok.\n\nThe goal is simple: when an AI gives you something worth keeping, you should be able to save it, search it later, organize it into projects, export it, and delete it without handing the plaintext to another SaaS database.\n\nThis repository contains the Memoriq web app.\n\nChrome extension: [Chrome Web Store](https://chromewebstore.google.com/detail/memoriq/jhhjcchhlfodciphfacegemnemmjdmci) · source: [github.com/memoriqme/memoriq-extension](https://github.com/memoriqme/memoriq-extension)\n\nAI chats are becoming personal knowledge work: legal notes, tax research, product ideas, debugging sessions, travel plans, writing drafts, and decisions you may want months later.\n\nThe provider chat history is not a great long-term memory:\n\n- it is split across different AI products\n- search is inconsistent\n- export is awkward\n- chats can be hard to organize after the fact\n- private context often ends up duplicated in yet another service\n\nMemoriq is a small attempt at a better pattern: keep the conversations you care about in one encrypted, portable memory vault.\n\nMemoriq is intentionally boring in the places that matter:\n\n- Your vault should be readable by you, not by the service operator.\n- Saved AI conversations should be portable and deletable.\n- The hosted product should be useful, but self-hosting should remain a real option.\n- The project should be honest about early software and provider capture limits.\n- Privacy claims should be verifiable in source code, not just promised in copy.\n\n- Saves AI conversations from ChatGPT, Claude, Gemini, and Grok through a browser extension.\n- Encrypts chat titles, metadata, projects, source URLs, and message bodies before upload.\n- Lets you organize saved chats into projects.\n- Keeps new chats that are not assigned to a project in an Unsorted view.\n- Supports browser-side search over decrypted conversation data after unlock.\n- Shows original chat URL, source, date, and encrypted payload size.\n- Supports manual \"paste an AI reply\" saves for cases where extension capture is not enough.\n- Can export and import an encrypted vault backup JSON.\n\nMemoriq is designed so the server does not receive plaintext chat content or user-visible metadata.\n\nThe server stores:\n\n- encrypted conversation headers\n- encrypted conversation bodies\n- encrypted key envelope and salt\n- operational fields such as row ID, user ID, timestamps, and byte size\n\nThe server does not store plaintext:\n\n- messages\n- titles\n- providers\n- project names\n- source URLs\n- snippets\n- search text\n\nEncryption happens in the browser with a locally unwrapped master encryption key. If you forget both your encryption password and recovery key, Memoriq cannot recover your chats.\n\nMore detail: `docs/E2EE-and-extension.md`\n\nMemoriq is in beta. The encrypted vault, browser extension, mobile sharing, search, export, and import flows are usable today, with ongoing work focused on capture reliability, media support, and polish.\n\nThe browser extension captures supported AI pages through best-effort DOM extraction. Because provider UIs change often, some captures may miss or misread content; manual paste, mobile sharing, and encrypted import/export provide fallback paths.\n\nOn mobile, Memoriq supports manual saving. A PWA share target exists through the `/share`\n\nroute, but this feature is under development and may currently receive only the shared link instead of full chat content.\n\nMedia files such as images, audio, and video are not preserved in this version. The current focus is reliable private saving for useful text conversations, with fuller media support planned for the roadmap.\n\nPlanned improvements include:\n\n- Better provider-specific extraction tests.\n- More reliable capture for changing AI provider DOMs.\n- Browser-side search improvements.\n- Optional semantic search design that does not break the privacy model.\n- More import paths for existing exported chats.\n- Better handling for media attachments and rich conversation exports.\n\n- Laravel\n- Laravel Sanctum and Fortify\n- Vue\n- Pinia\n- Vite\n- MySQL\n- Browser-side crypto for vault encryption/decryption\n\n```\napp/                 Laravel backend\ndatabase/            migrations and seeders\ndocs/                encryption, extension, and release notes\npublic/              built assets and web app manifest\nresources/css        app styles\nresources/js         Vue app, stores, routes, crypto helpers\nroutes/              web and API routes\n```\n\nRequirements:\n\n- PHP 8.3+\n- Composer\n- Node.js and npm\n- MySQL\n\nClone and install:\n\n```\ngit clone https://github.com/memoriqme/memoriq.git\ncd memoriq\ncomposer install\nnpm install\ncp .env.example .env\nphp artisan key:generate\n```\n\nConfigure `.env`\n\n:\n\n```\nAPP_NAME=Memoriq\nAPP_URL=http://memoriq.local\n\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=memoriq\nDB_USERNAME=root\nDB_PASSWORD=\n```\n\nRun migrations:\n\n```\nphp artisan migrate\n```\n\nBuild or watch frontend assets:\n\n```\nnpm run prod\n# or\nnpm run watch\n```\n\nServe the app with your preferred local web server. For example, on WAMP you can create an Apache virtual host that points to the `public/`\n\ndirectory.\n\nFor quick Laravel-only testing, you can also run:\n\n```\nphp artisan serve\n```\n\nFor the extension, install from the [Chrome Web Store](https://chromewebstore.google.com/detail/memoriq/jhhjcchhlfodciphfacegemnemmjdmci) or, for local development, clone [memoriq-extension](https://github.com/memoriqme/memoriq-extension), load it unpacked in Chrome, and choose the matching environment in the extension popup.\n\n- User logs into Memoriq.\n- Extension connects through\n`/extension/connect`\n\n. - Extension stores a scoped Sanctum token.\n- User unlocks the encrypted vault in the extension.\n- Extension extracts a supported AI chat page.\n- Extension encrypts header and body locally.\n- Extension uploads only ciphertext.\n\nThe extension can save through either:\n\n- a floating button on supported chat pages\n- the extension popup, with a preferred project selector\n\nIssues, bug reports, and small pull requests are welcome, especially around:\n\n- provider capture bugs\n- security review\n- UX simplification\n- documentation\n- local setup friction\n\nIf reporting an extension capture issue, please include:\n\n- provider\n- browser\n- extension version\n- what was missing or duplicated\n- whether title, URL, or message body was wrong\n\nPlease do not open public issues for security vulnerabilities. Use [GitHub private vulnerability reporting](https://github.com/memoriqme/memoriq/security/advisories/new), or the contact details on [memoriq.me](https://memoriq.me). See [ SECURITY.md](/memoriqme/memoriq/blob/main/SECURITY.md).\n\n\"Memoriq\" and the Memoriq logo are used as project trademarks. The AGPL license applies to the source code, but it does not grant permission to use the Memoriq name or logo to publish unofficial apps, extensions, hosted services, or other products in a way that suggests they are official or endorsed.\n\nMemoriq is licensed under the GNU Affero General Public License v3.0 only. See [ LICENSE](/memoriqme/memoriq/blob/main/LICENSE).\n\nIn short: personal use, self-hosting, studying, modifying, and sharing are allowed. If you modify Memoriq and run it as a network service for others, your modified source code must remain available under the same license.", "url": "https://wpnews.pro/news/show-hn-memoriq-open-source-encrypted-vault-for-saving-and-searching-ai-chats", "canonical_source": "https://github.com/memoriqme/memoriq", "published_at": "2026-06-14 08:09:15+00:00", "updated_at": "2026-06-14 08:31:20.830762+00:00", "lang": "en", "topics": ["ai-tools", "ai-products", "ai-safety", "ai-ethics", "developer-tools"], "entities": ["Memoriq", "ChatGPT", "Claude", "Gemini", "Grok", "Chrome Web Store", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/show-hn-memoriq-open-source-encrypted-vault-for-saving-and-searching-ai-chats", "markdown": "https://wpnews.pro/news/show-hn-memoriq-open-source-encrypted-vault-for-saving-and-searching-ai-chats.md", "text": "https://wpnews.pro/news/show-hn-memoriq-open-source-encrypted-vault-for-saving-and-searching-ai-chats.txt", "jsonld": "https://wpnews.pro/news/show-hn-memoriq-open-source-encrypted-vault-for-saving-and-searching-ai-chats.jsonld"}}