telegram-search

🔍 一个功能强大的 Telegram 聊天记录搜索工具,支持向量搜索和语义匹配。A powerful Telegram chat search tool with vector search and semantic matching capabilities.

2,618
176

preview

<h1 align="center">Telegram Search</h1> <p align="center"> [<a href="https://discord.gg/NzYsmJSgCT">Join Discord Server</a>] [<a href="./docs/README_EN.md">English</a>] </p> <p align="center"> <a href="https://deepwiki.com/GramSearch/telegram-search"><img src="https://deepwiki.com/badge.svg"></a> <a href="https://github.com/GramSearch/telegram-search/blob/main/LICENSE"><img src="https://img.shields.io/github/license/GramSearch/telegram-search.svg?style=flat&colorA=080f12&colorB=1fa669"></a> <a href="https://discord.gg/NzYsmJSgCT"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fdiscord.com%2Fapi%2Finvites%2FNzYsmJSgCT%3Fwith_counts%3Dtrue&query=%24.approximate_member_count&suffix=%20members&logo=discord&logoColor=white&label=%20&color=7389D8&labelColor=6A7EC2"></a> <a href="https://t.me/+Gs3SH2qAPeFhYmU9"><img src="https://img.shields.io/badge/Telegram-%235AA9E6?logo=telegram&labelColor=FFFFFF"></a> </p>

唯一官方网站为 intentchat.app,其他网站均为诈骗。

我们未发行任何虚拟货币,请勿上当受骗。

本软件仅可导出您自己的聊天记录以便搜索,请勿用于非法用途。

<a href="https://trendshift.io/repositories/13868" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13868" alt="groupultra%2Ftelegram-search | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

一个功能强大的 Telegram 聊天记录搜索工具,支持向量搜索和语义匹配。基于 OpenAI 的语义向量技术,让你的 Telegram 消息检索更智能、更精准。

  • 欢迎 PR 贡献!
  • 由于项目处于快速迭代阶段,可能会出现数据库不兼容的情况,建议定期备份数据。

💖 赞助者

Sponsors

🚀 快速开始

这是启动 Telegram Search 的最简便的方式,它会通过 Docker 启动所有必需的服务(包括数据库和应用服务器)。

  1. 克隆仓库:
git clone https://github.com/GramSearch/telegram-search.git
cd telegram-search
  1. 设定配置:
    根据需要,修改 config/config.yaml 中的设置。
    务必修改配置中的 database.host 的值为数据库容器的服务名称 "pgvector"。
cp config/config.example.yaml config/config.yaml
  1. 启动服务:
docker compose up -d

访问 http://localhost:3333 即可打开搜索界面。

💻 本地运行

  1. 克隆仓库
git clone https://github.com/GramSearch/telegram-search.git
cd telegram-search
  1. 安装依赖:
pnpm install
  1. 配置环境:
cp config/config.example.yaml config/config.yaml
  1. 启动数据库容器:
    在本地开发模式下, Docker 只用来启动数据库容器。
docker compose up -d pgvector
  1. 同步数据库表结构:
pnpm run db:migrate
  1. 启动服务:
# 启动后端服务
pnpm run dev:server

# 启动前端界面
pnpm run dev:frontend

访问 http://localhost:3333 即可打开搜索界面。

🚀 Activity

Star History Chart

Repository

GR
groupultra

groupultra/telegram-search

Created

February 8, 2025

Updated

July 7, 2025

Language

TypeScript

Category

Communication