MCPcopy Index your code
hub / github.com/Jackychen-12/AI-Search

github.com/Jackychen-12/AI-Search @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
283 symbols 678 edges 95 files 9 documented · 3% updated 2d agov1.0.0 · 2026-06-02★ 109
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AI Search

每天自动聚合全网 AI 资讯 · AI 解读 · 个性化 · 开放 API

Fork 换掉数据源 → 5 分钟变成金融 / 医疗 / 任意领域的资讯站

在线访问  ·  Agent 接入  ·  换源指南  ·  快速开始

Deploy License


这是什么

一个零服务器、零数据库的 AI 行业资讯聚合站。GitHub Actions 每天自动从 20+ 公开来源抓取最新资讯,AI 生成点评,静态部署到 GitHub Pages。

所有筛选、搜索、个性化都在浏览器本地完成——访客不需要登录、不需要 API Key、没有任何成本。

能做什么

能力 说明
每日自动更新 20+ 源并行抓取,去重分类,失败隔离,每天自动重建部署
AI 解读 每条资讯一句话 AI 点评 + 每日必读精选 + 周报 AI 总结(DeepSeek,可选)
多维度浏览 首页瀑布流 / 日报 / 周报 / 趋势图 / 话题聚合 / 时间线,6 种视角看资讯
交互式趋势 纯 SVG 折线图,hover 看数值,自定义日期范围,分类/话题可筛选
个性化 关注/屏蔽来源 · 关注话题 · 收藏 · 已读 · 导出,全存浏览器本地
全文搜索 MiniSearch 模糊搜索 + ⌘K 命令面板 + 搜索历史
暗色模式 跟随 macOS / Windows / iOS / Android 系统偏好自动切换
中英文切换 全站 UI 一键切换语言
移动端 底部导航栏 + 响应式 + PWA 可安装到手机
开放 API 静态 JSON 端点 + SKILL.md,Agent 自然语言即可获取数据
一键换源 改一个数组,变成金融 / 医疗 / Web3 / 芯片的资讯站

🚀 快速开始

方式一:Fork 部署(5 分钟)

  1. 点右上角 Fork
  2. Settings → Pages → Source 选 GitHub Actions 3.(可选)添加 Secret DEEPSEEK_API_KEY 启用 AI 能力
  3. Actions 里跑一次 Build & Deploy
  4. 访问 https://<你的用户名>.github.io/AI-Search/

之后每天自动抓取重建,无需维护。

方式二:本地开发

git clone https://github.com/keyuchen-del/AI-Search.git
cd AI-Search && npm install
npm run crawl          # 抓取真实数据
npm run dev            # http://localhost:3000
npm test               # 运行测试

🤖 Agent 接入

一行命令安装 Skill,让 Claude Code / Cursor / Codex 等 Agent 直接用自然语言获取 AI 资讯:

curl -fsSL https://keyuchen-del.github.io/AI-Search/install.sh | bash

安装后直接问:

"今天 AI 圈有什么新东西"
"最近 OpenAI 有什么发布"
"看下 AI 论文"
"Qwen 最新动态"

也可以直接调用静态 JSON API(无需 Key):

curl https://keyuchen-del.github.io/AI-Search/api/v1/daily/latest.json   # 最新日报
curl https://keyuchen-del.github.io/AI-Search/api/v1/items.json          # 全量资讯
curl https://keyuchen-del.github.io/AI-Search/api/v1/category/ai-models.json  # 按分类

完整端点见 SKILL.md


🔄 换源 — 变成任何领域的资讯站

本项目是通用资讯聚合模板。只需修改一个文件,即可换成任何领域:

示例:换成金融科技站

编辑 scripts/sources/rss.ts,把 FEEDS 数组替换:

const FEEDS: FeedDef[] = [
  { id: "rss:ft", label: "Financial Times", url: "https://www.ft.com/rss/home",
    source: "FT", category: "market" },
  { id: "rss:bloomberg", label: "Bloomberg",
    url: "https://feeds.bloomberg.com/markets/news.rss",
    source: "Bloomberg", category: "market" },
  { id: "rss:wsj", label: "WSJ",
    url: "https://feeds.a.dj.com/rss/RSSMarketsMain.xml",
    source: "WSJ", category: "market" },
];

编辑 lib/categories.ts,换分类:

export const CATEGORIES = [
  { key: "market", label: "市场行情", desc: "全球市场动态" },
  { key: "fintech", label: "金融科技", desc: "Fintech 创新" },
  { key: "policy", label: "政策监管", desc: "央行与监管" },
  { key: "crypto", label: "加密货币", desc: "区块链与数字资产" },
];

然后 npm run crawl && npm run dev,你的金融资讯站就跑起来了。

同时修改 lib/types.ts 中的 CategoryKey 类型以匹配新分类。


📡 数据来源

当前覆盖 20+ 公开 RSS / API:

模型实验室 OpenAI · Google AI · DeepMind · HuggingFace · NVIDIA 学术 arXiv · Lil'Log · Ahead of AI · The Gradient · BAIR · Microsoft Research 科技媒体 The Verge · TechCrunch · VentureBeat · Ars Technica · MIT Tech Review 社区 Hacker News · GitHub · Simon Willison 中文 量子位 · 36氪 · IT之家 · 少数派 · InfoQ

加一个源只需在 scripts/sources/rss.ts 加一行。


环境变量

变量 说明
DEEPSEEK_API_KEY AI 点评 / 必读(不设则跳过,其余功能不受影响)
NEXT_PUBLIC_ASK_AI_URL AI 问答代理地址(见 worker/ 目录)
NEXT_PUBLIC_BASE_PATH Pages 子路径(CI 自动设置)

贡献

最常见的贡献是加一个数据源——在 scripts/sources/rss.tsFEEDS 数组加一行:

{ id: "rss:example", label: "Example", url: "https://example.com/feed.xml", source: "Example", category: "industry" },

验证:npm run crawl -- --only=rss:example && npm run dev,确认能抓到后提 PR。

License

MIT © keyuchen-del


Follow me on GitHub @keyuchen-del for all project updates

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 238
Interface 44
Method 1

Languages

TypeScript100%

Modules by API surface

lib/dailyData.ts15 symbols
scripts/sources/rss.ts11 symbols
lib/aihot.ts11 symbols
scripts/lib/persist.ts9 symbols
scripts/lib/digest.ts8 symbols
lib/types.ts8 symbols
lib/timeFormat.ts8 symbols
scripts/lib/fetchUtil.ts7 symbols
lib/userStore.ts7 symbols
components/LineChart.tsx7 symbols
components/CommandPalette.tsx7 symbols
lib/weekly.ts6 symbols

For agents

$ claude mcp add AI-Search \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page