Skip to content
Back to search

aigc-weekly

Agili 的 AIGC 周刊 - 一个由 Agentic AI Agent 驱动的 AIGC(人工智能生成内容)精选周刊。

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/miantiao-me-aigc-weekly/badge.svg)](/listings/miantiao-me-aigc-weekly)

HTML

<a href="/listings/miantiao-me-aigc-weekly"><img src="/api/listings/miantiao-me-aigc-weekly/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. 克隆仓库:

   git clone https://github.com/miantiao-me/aigc-weekly.git
   cd aigc-weekly

2. 安装依赖:

   pnpm install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 133 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Agili 的 AIGC 周刊
  2. 一个由 Agentic AI Agent 驱动的 AIGC(人工智能生成内容)精选周刊。本项目利用最新的 AI 和 Serverless 技术,为您提供最新的资讯、工具和资源。
  3. ---
  4. **在线阅读**: <https://aigc-weekly.agi.li>
  5. **RSS订阅**: <https://aigc-weekly.agi.li/rss.xml>
  6. ![aigc-weekly](https://socialify.git.ci/miantiao-me/aigc-weekly/image?description=1&forks=1&name=1&owner=1&pattern=Circuit+Board&stargazers=1&theme=Auto)
  7. ## 🚀 特性
  8. - **AI 智能策展**:利用 Agentic AI Agent 自动发现和筛选内容。
  9. - **现代技术栈**:基于 Next.js 15、Payload CMS 3.0 和 Cloudflare 边缘基础设施构建。
  10. - **Serverless 架构**:完全部署在 Cloudflare (Workers, D1, R2, Containers) 上,实现高性能和低延迟。
  11. - **Agent MCP 集成**:使用模型上下文协议 (MCP) 允许 AI Agent 直接与 CMS 交互。
  12. ## 🛠 技术栈
  13. - **框架**:[Next.js](https://nextjs.org/) (App Router) & [OpenNext](https://opennext.js.org/)
  14. - **CMS**:[Payload CMS](https://payloadcms.com/) (Headless)
  15. - **数据库**:[Cloudflare D1](https://developers.cloudflare.com/d1/) (SQLite)
  16. - **存储**:[Cloudflare R2](https://developers.cloudflare.com/r2/) (对象存储)
  17. - **Agent 框架**:[OpenCode](https://opencode.ai/)
  18. - **Agent 运行时**:[Cloudflare Containers](https://developers.cloudflare.com/containers/) (需要付费套餐,或者在本地运行)
  19. - **边缘运行时**:[Cloudflare Workers](https://workers.cloudflare.com/)
  20. ## 🏗 架构
  21. 本项目包含三个主要组件:
  22. 1. **Next.js 应用 (`app/`)**:负责面向读者的前端页面以及 Payload CMS 管理界面。
  23. 2. **OpenCode Agent (`agent/`)**:一个独立的 Agent 服务,运行在 **Cloudflare Containers** 上,负责收集信息并通过 MCP 更新 CMS。
  24. 3. **Cloudflare Worker (`worker/`)**:转发请求到 Container 并控制其生命周期。
  25. ## 🏁 快速开始
  26. ### 前置要求
  27. - **Node.js**:v22 或更高版本
  28. - **pnpm**:v10 或更高版本
  29. - **Cloudflare 账号**:用于 D1、R2 和 Workers 部署。
  30. ### 安装
  31. 1. 克隆仓库:
  32. ```bash
  33. git clone https://github.com/miantiao-me/aigc-weekly.git
  34. cd aigc-weekly
  35. ```
  36. 2. 安装依赖:
  37. ```bash
  38. pnpm install
  39. ```
  40. ### 配置
  41. 1. **环境变量**:
  42. 配置必要的环境变量:
  43. - 复制 `.env.example` 为 `.env.local` 并填写相应值。
  44. - 复制 `worker/.env.example` 为 `worker/.env.local` 并填写相应值。
  45. 确保你已经配置了必要的 Cloudflare 绑定, 你需要在 `wrangler.jsonc` 中配置以下绑定:
  46. - `D1`:数据库
  47. - `R2`:对象存储
  48. - `PAYLOAD_SECRET`:一个安全的随机字符串。
  49. 2. **生成类型**:
  50. ```bash
  51. pnpm generate:types
  52. ```
  53. 3. **配置 MCP 和 Agent**:
  54. 你可以在 `agent/opencode.json` 配置 MCP Server 和模型,在 `agent/.opencode/` 目录修改 Agent 的技能、子 Agent 和命令等配置。
  55. 项目使用 [**Firecrawl**](https://firecrawl.link/playground) 进行网页爬取和信息提取, 你需要在 Firecrawl 注册账号并获取 API Key,然后在 `worker/.env.local` 中配置 `FIRECRAWL_API_KEY`。
  56. ### 本地运行
  57. - **Next.js 应用**:
  58. ```bash
  59. pnpm dev
  60. ```
  61. 访问应用:`http://localhost:3000` 和 `http://localhost:3000/admin`。
  62. - **Cloudflare Worker(包含 Agent)**:
  63. ```bash
  64. pnpm dev:worker
  65. ```
  66. 需要安装 Docker 以运行本地沙箱。Worker 会自动启动 OpenCode Agent 容器。
  67. ## 🚀 部署
  68. 本项目设计为部署在 Cloudflare 上。
  69. 1. **部署数据库和应用**:
  70. ```bash
  71. pnpm deploy
  72. ```
  73. 此命令会运行 `deploy:database`(迁移)和 `deploy:app`(OpenNext 构建与上传)。
  74. 2. **部署 Worker**:
  75. ```bash
  76. pnpm deploy:worker
  77. ```
  78. ## 📂 项目结构
  79. - `app/`:Next.js 应用源代码。
  80. - `agent/`:OpenCode Agent 配置和技能定义。
  81. - `worker/`:Cloudflare Worker 源代码。
  82. - `collections/`:Payload CMS 数据模型。
  83. - `migrations/`:数据库迁移文件。
  84. - `public/`:静态资源。
  85. ## 🤖 AI 代码助手
  86. 本项目包含 [AGENTS.md](AGENTS.md) 文件,为 AI 代码助手(如 Claude Code、Cursor、Copilot 等)提供开发指南,包括命令、代码风格和架构信息。
  87. ## 📄 许可证
  88. 本项目采用 [GNU Affero General Public License v3.0](LICENSE) 许可证。

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.