Skip to content

durenzidu/rss-daily-report

Repository files navigation

RSS 智能日报系统

基于 AI 的 RSS 智能日报系统,自动抓取、智能摘要、分类聚合,让信息获取更高效。

功能特性

核心功能

  • 智能日报:AI 驱动的日报生成,自动摘要和分类
  • RSS 源管理:支持添加、删除、监控 RSS 源健康度
  • 知识库:收藏有价值的内容,支持标签和笔记
  • 用户认证:完整的用户注册和登录系统

响应式设计

  • 桌面端:完整功能体验,侧边栏导航
  • 平板端:适配触摸操作,优化布局
  • 移动端:底部导航栏,优化交互体验

技术栈

  • 前端框架:Next.js 16 (App Router)
  • UI 组件:shadcn/ui
  • 样式方案:Tailwind CSS 4
  • 数据库:PostgreSQL (Drizzle ORM)
  • AI 服务:DeepSeek (豆包)
  • 语言:TypeScript

页面结构

/                    - 日报首页
/sources             - RSS 源管理
/knowledge           - 知识库
/login               - 登录
/register            - 注册

开发指南

启动开发服务器

coze dev

服务将在 http://localhost:5000 启动。

构建生产版本

coze build

启动生产服务

coze start

数据库

同步模型

coze-coding-ai db generate-models

更新数据库

coze-coding-ai db upgrade

数据库表结构

  • users - 用户表
  • rss_sources - RSS 源表
  • articles - 文章表
  • daily_reports - 日报表
  • tags - 标签表
  • knowledge_items - 知识库项目表
  • knowledge_item_tags - 知识库项目标签关联表

AI 服务

使用 src/storage/database/aiManager.ts 中的 AIManager 类:

import { aiManager } from './storage/database/aiManager';

// 生成分类摘要
const summary = await aiManager.generateCategorySummary(category, articles);

// 生成分类评论
const comment = await aiManager.generateCategoryComment(summary, category);

// 流式生成摘要
for await (const chunk of aiManager.generateCategorySummaryStream(category, articles)) {
  console.log(chunk);
}

响应式断点

  • 移动端:< 768px (底部导航栏)
  • 平板:768px - 1024px
  • 桌面:> 1024px (侧边栏导航)

性能优化

  • 使用 Next.js 16 的 Server Components
  • 图片懒加载
  • 虚拟滚动(大数据列表)
  • 代码分割和按需加载

浏览器支持

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

许可证

MIT

About

AI 驱动的 RSS 智能日报系统,管理我的网络注意力

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages