历史记录
Hister: A private search engine for the pages you visit and the files you keep

原始链接: https://github.com/asciimoo/hister

Hister 是一款注重隐私的个人搜索引擎,它能够索引你所访问的网页全内容及存储的文件。与传统搜索引擎不同,它将数据完全置于你的掌控之下——通过本地运行或部署在个人基础设施上,且没有任何遥测技术或强制性的云服务。 主要功能包括: * **全面索引:** 通过浏览器扩展(Chrome/Firefox)、本地目录或导入的浏览器历史记录,抓取网站的全文内容。 * **多途径访问:** 可通过网页界面、终端、命令行或由 MCP 驱动的 AI 助手来检索信息。 * **高级搜索:** 支持带有过滤器、通配符的复杂查询,并可通过自定义嵌入(embeddings)实现可选的语义搜索。 * **自托管:** 专为个人使用或多用户环境设计,确保你的搜索历史和文档始终保持私密。 安装简便,支持二进制文件、Homebrew、Docker 和 Nix。Hister 是开源(AGPLv3)的,对于那些希望在不依赖第三方追踪或云服务商的前提下,重掌个人数字档案控制权的用户来说,它是理想的工具。

**Hister** 是一个私有、自托管的搜索引擎,能够为您个人的网页浏览历史、书签和本地文件建立索引。与传统的爬虫不同,它通过浏览器扩展程序在您访问页面时直接抓取内容,因此能够索引通常会拦截机器人的网站,例如 Instagram 或 Discord。 **主要功能包括:** * **可搜索性:** 支持对浏览器历史记录和本地文件进行全文搜索及语义搜索。 * **存档:** 保存结果预览,即使原始页面被删除或修改,内容依然可搜索。 * **灵活性:** 可完全在本地机器上运行,支持多用户设置,并包含命令行工具以及用于人工智能集成的 MCP 端点。 * **提取:** 支持使用 `yt-dlp` 来索引视频转录文本。 由于与一家美国实体存在商标冲突,该项目目前正在征集新名称。尽管它在自托管社区中广受好评,但用户指出,诸如“基于时间”的索引(以避免抓取短暂且无关的访问)以及为非技术用户提供更好的用户界面等进阶功能是目前迫切需要的。作者鼓励社区为重命名和后续开发提供反馈。
相关文章

原文

Your own search engine

Hister is a private search engine for the pages you visit and the files you keep. It indexes their full contents so you can find information again from the web interface, terminal, or an AI assistant connected through MCP.

Try the demo · Download Hister · Read the quickstart · Documentation

Hister web interface

  1. Download the binary for your platform from the latest release, then rename it to hister (hister.exe on Windows).

  2. On Linux or macOS, make it executable:

  3. Start Hister on Linux or macOS:

    On Windows, run .\hister.exe listen in PowerShell.

    Keep this terminal open while using Hister. The server must be running to index pages and search them.

  4. Open http://127.0.0.1:4433 and install the browser extension for Firefox or Chrome.

  5. Visit a web page with the extension enabled, then return to Hister and search for a phrase from that page to find your first indexed result.

No configuration is required for a local personal setup. See the complete quickstart to choose what Hister indexes.

To search existing content, import browser history, index local directories, or import files.

Alternative installation methods include Homebrew (brew install hister), Docker, and Nix. See the installation guide for instructions.

  • Privacy focused: No telemetry or mandatory cloud service. Run Hister locally or on infrastructure you control.
  • Full text indexing: Search the actual contents of visited pages and local files, not only titles and URLs.
  • Automatic browser indexing: Save newly visited pages with the Firefox or Chrome extension.
  • Powerful queries: Use field filters, phrases, wildcards, negation, aliases, and result priorities.
  • Optional semantic search: Find documents by meaning through an embeddings endpoint you configure.
  • Crawler and browser import: Index websites or bring in existing browser history.
  • Web, terminal, and MCP clients: Search from the browser, TUI, command line, or an AI assistant.
  • Multi user support: Keep each user's documents and search results separate on a shared server.

Hister terminal interface

By default, Hister has no telemetry and no cloud sync. The browser extension sends indexed page content only to the Hister server you configure, apart from downloading page favicons. The server stores documents and search indexes on that server.

Optional semantic search sends document text to the embeddings endpoint you choose. Review the privacy overview and semantic search configuration before enabling remote integrations.

Unlike traditional search engines, Hister builds a personal search index from the web pages and files you choose to keep. Your content stays on your Hister server, making it useful for finding information you've already encountered without relying on a third-party search provider.

Requirements are Go 1.26, npm, and a C compiler for CGO dependencies.

git clone https://github.com/asciimoo/hister.git
cd hister
./manage.sh build

To work on the web app with hot reload and automatic Go rebuilds:

This starts a Vite development server and the Go backend with automatic rebuilds through air.

Community and contributing

Join us on IRCNet in #hister or on Discord.

Read CONTRIBUTING.md before submitting a change. Bugs and suggestions belong in the issue tracker. For security reports, see SECURITY.md.

Uruky

AGPLv3 or any later version

联系我们 contact @ memedata.com