Skip to content

Commit 84a0e7a

Browse files
fix: update PAGES_URL to reflect new repository domain
1 parent bb9c0ab commit 84a0e7a

File tree

7 files changed

+64
-20
lines changed

7 files changed

+64
-20
lines changed

.github/workflows/daily-digest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ jobs:
7575
env:
7676
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
7777
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID || '@agents_radar' }}
78-
PAGES_URL: https://duanyytop.github.io/agents-radar
78+
PAGES_URL: https://compasify.github.io/agents-radar
7979
run: pnpm notify
8080

.github/workflows/monthly-digest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ jobs:
7373
env:
7474
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
7575
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID || '@agents_radar' }}
76-
PAGES_URL: https://duanyytop.github.io/agents-radar
76+
PAGES_URL: https://compasify.github.io/agents-radar
7777
run: pnpm notify

.github/workflows/weekly-digest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ jobs:
7373
env:
7474
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
7575
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID || '@agents_radar' }}
76-
PAGES_URL: https://duanyytop.github.io/agents-radar
76+
PAGES_URL: https://compasify.github.io/agents-radar
7777
run: pnpm notify

README.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ A GitHub Actions workflow that runs every morning at 08:00 CST. It tracks GitHub
66

77
## Web UI
88

9-
**[https://duanyytop.github.io/agents-radar](https://duanyytop.github.io/agents-radar)**
9+
**[https://compasify.github.io/agents-radar](https://compasify.github.io/agents-radar)**
1010

1111
Browse all historical digests in a clean, dark-themed interface — no login required. Reports are rendered from the Markdown files in this repo via GitHub Pages.
1212

1313
## RSS Feed
1414

15-
**[https://duanyytop.github.io/agents-radar/feed.xml](https://duanyytop.github.io/agents-radar/feed.xml)**
15+
**[https://compasify.github.io/agents-radar/feed.xml](https://compasify.github.io/agents-radar/feed.xml)**
1616

1717
Subscribe in any RSS reader (Feedly, Reeder, NewsBlur, etc.) to receive new digests automatically. The feed includes the latest 30 reports across all report types, updated daily alongside `manifest.json`.
1818

@@ -185,17 +185,30 @@ openclaw_peers:
185185
name: My Agent
186186
```
187187
188-
### 3. Add Secrets
188+
### 3. Add Secrets and Variables
189189
190190
Go to **Settings → Secrets and variables → Actions** and add:
191191
192+
**Secrets** (sensitive values):
193+
192194
| Secret | Required | Description |
193195
|--------|----------|-------------|
194-
| `ANTHROPIC_API_KEY` | | API key — works with both Anthropic and Kimi Code |
196+
| `ANTHROPIC_API_KEY` | one of A/B | API key — works with both Anthropic and Kimi Code |
195197
| `ANTHROPIC_BASE_URL` | optional | API endpoint override. Set to `https://api.kimi.com/coding/` for Kimi Code; leave unset for Anthropic |
198+
| `OPENAI_API_KEY` | one of A/B | OpenAI-compatible API key. When set, takes precedence over Anthropic |
199+
| `OPENAI_BASE_URL` | optional | OpenAI-compatible endpoint override (e.g. `https://gen.pollinations.ai/v1`) |
196200
| `TELEGRAM_BOT_TOKEN` | optional | Telegram bot token from [@BotFather](https://t.me/BotFather). If set, a message is sent after each digest run |
197201
| `TELEGRAM_CHAT_ID` | optional | Telegram chat/channel/group ID to send notifications to |
198202

203+
> Set **either** `ANTHROPIC_API_KEY` (Option A) **or** `OPENAI_API_KEY` (Option B). If both are set, OpenAI takes precedence.
204+
205+
**Variables** (non-sensitive, under the **Variables** tab):
206+
207+
| Variable | Default | Description |
208+
|----------|---------|-------------|
209+
| `OPENAI_MODEL` | `gpt-4o` | Model name for the OpenAI-compatible provider |
210+
| `DIGEST_LANGS` | `vi` | Comma-separated language codes to generate: `vi`, `zh`, `en` (e.g. `zh,en,vi` for all three) |
211+
199212
> `GITHUB_TOKEN` is provided automatically by GitHub Actions.
200213

201214
**Setting up Telegram notifications** (optional):
@@ -220,9 +233,18 @@ To test immediately, go to **Actions → Daily Agents Radar → Run workflow**.
220233
pnpm install
221234
222235
export GITHUB_TOKEN=ghp_xxxxx
223-
export ANTHROPIC_BASE_URL=https://api.kimi.com/coding/
224-
export ANTHROPIC_API_KEY=sk-kimi-xxxxxxxx
236+
237+
# Option A — OpenAI-compatible (takes precedence when OPENAI_API_KEY is set)
238+
export OPENAI_API_KEY=sk-xxxxx
239+
export OPENAI_BASE_URL=https://your-provider/v1 # optional
240+
export OPENAI_MODEL=gpt-4o # optional, default: gpt-4o
241+
242+
# Option B — Anthropic (default when OPENAI_API_KEY is absent)
243+
export ANTHROPIC_API_KEY=sk-ant-xxxxx
244+
export ANTHROPIC_BASE_URL=https://api.kimi.com/coding/ # optional
245+
225246
export DIGEST_REPO=your-username/agents-radar # optional; omit to only write files
247+
export DIGEST_LANGS=vi # optional; default: vi
226248
227249
pnpm start
228250
```
@@ -365,4 +387,4 @@ To change the schedule, edit the cron expressions in the corresponding workflow
365387

366388
## Star History
367389

368-
[![Star History Chart](https://api.star-history.com/svg?repos=duanyytop/agents-radar&type=Date)](https://star-history.com/#duanyytop/agents-radar&Date)
390+
[![Star History Chart](https://api.star-history.com/svg?repos=compasify/agents-radar&type=Date)](https://star-history.com/#compasify/agents-radar&Date)

README.zh.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
## Web UI
88

9-
**[https://duanyytop.github.io/agents-radar](https://duanyytop.github.io/agents-radar)**
9+
**[https://compasify.github.io/agents-radar](https://compasify.github.io/agents-radar)**
1010

1111
在线浏览所有历史简报,深色主题,无需登录。报告直接由本仓库的 Markdown 文件通过 GitHub Pages 渲染。每份报告支持中文 / 英文切换。
1212

1313
## RSS 订阅
1414

15-
**[https://duanyytop.github.io/agents-radar/feed.xml](https://duanyytop.github.io/agents-radar/feed.xml)**
15+
**[https://compasify.github.io/agents-radar/feed.xml](https://compasify.github.io/agents-radar/feed.xml)**
1616

1717
在任意 RSS 阅读器(Feedly、Reeder、NewsBlur 等)中订阅,每日自动推送新简报。Feed 包含最新 30 条报告(覆盖所有报告类型),与 `manifest.json` 同步更新。
1818

@@ -185,17 +185,30 @@ openclaw_peers:
185185
name: My Agent
186186
```
187187
188-
### 3. 添加 Secrets
188+
### 3. 添加 Secrets 和 Variables
189189
190-
进入 **Settings → Secrets and variables → Actions**,添加以下密钥:
190+
进入 **Settings → Secrets and variables → Actions**。
191+
192+
**Secrets**(敏感信息,在 Secrets 标签页):
191193
192194
| Secret | 必填 | 说明 |
193195
|--------|------|------|
194-
| `ANTHROPIC_API_KEY` | | API 密钥,兼容 Anthropic 和 Kimi Code |
196+
| `ANTHROPIC_API_KEY` | A/B 二选一 | API 密钥,兼容 Anthropic 和 Kimi Code |
195197
| `ANTHROPIC_BASE_URL` | 可选 | API 地址覆盖。使用 Kimi Code 时设置为 `https://api.kimi.com/coding/`,使用 Anthropic 时留空 |
198+
| `OPENAI_API_KEY` | A/B 二选一 | OpenAI 兼容 API 密钥。设置后优先于 Anthropic |
199+
| `OPENAI_BASE_URL` | 可选 | OpenAI 兼容端点地址覆盖(如 `https://gen.pollinations.ai/v1`) |
196200
| `TELEGRAM_BOT_TOKEN` | 可选 | Telegram bot token,从 [@BotFather](https://t.me/BotFather) 获取。设置后每次 digest 完成自动推送通知 |
197201
| `TELEGRAM_CHAT_ID` | 可选 | 接收通知的 Telegram 频道 / 群组 / 用户 ID |
198202

203+
> 设置 `ANTHROPIC_API_KEY`(方案 A)**或** `OPENAI_API_KEY`(方案 B)即可。两者都设置时,OpenAI 优先。
204+
205+
**Variables**(非敏感信息,在 Variables 标签页):
206+
207+
| Variable | 默认值 | 说明 |
208+
|----------|--------|------|
209+
| `OPENAI_MODEL` | `gpt-4o` | OpenAI 兼容提供商的模型名称 |
210+
| `DIGEST_LANGS` | `vi` | 逗号分隔的语言代码:`vi`、`zh`、`en`(如 `zh,en,vi` 生成三种语言) |
211+
199212
> `GITHUB_TOKEN` 由 GitHub Actions 自动提供,无需手动添加。
200213

201214
**配置 Telegram 推送**(可选):
@@ -220,9 +233,18 @@ openclaw_peers:
220233
pnpm install
221234
222235
export GITHUB_TOKEN=ghp_xxxxx
223-
export ANTHROPIC_BASE_URL=https://api.kimi.com/coding/
224-
export ANTHROPIC_API_KEY=sk-kimi-xxxxxxxx
236+
237+
# 方案 A — OpenAI 兼容(设置 OPENAI_API_KEY 后优先使用)
238+
export OPENAI_API_KEY=sk-xxxxx
239+
export OPENAI_BASE_URL=https://your-provider/v1 # 可选
240+
export OPENAI_MODEL=gpt-4o # 可选,默认 gpt-4o
241+
242+
# 方案 B — Anthropic(OPENAI_API_KEY 未设置时使用)
243+
export ANTHROPIC_API_KEY=sk-ant-xxxxx
244+
export ANTHROPIC_BASE_URL=https://api.kimi.com/coding/ # 可选
245+
225246
export DIGEST_REPO=your-username/agents-radar # 可选,留空则仅写入本地文件
247+
export DIGEST_LANGS=vi # 可选,默认 vi
226248
227249
pnpm start
228250
```
@@ -342,4 +364,4 @@ OpenAI 内容精选 (research / release / company / safety / ...)
342364
343365
## Star History
344366
345-
[![Star History Chart](https://api.star-history.com/svg?repos=duanyytop/agents-radar&type=Date)](https://star-history.com/#duanyytop/agents-radar&Date)
367+
[![Star History Chart](https://api.star-history.com/svg?repos=compasify/agents-radar&type=Date)](https://star-history.com/#compasify/agents-radar&Date)

src/generate-manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path from "path";
44
const DIGESTS_DIR = "digests";
55
const MANIFEST_PATH = "manifest.json";
66
const FEED_PATH = "feed.xml";
7-
const SITE_URL = "https://duanyytop.github.io/agents-radar";
7+
const SITE_URL = "https://compasify.github.io/agents-radar";
88
const DATE_RE = /^\d{4}-\d{2}-\d{2}$/;
99
const REPORT_FILES = [
1010
"ai-cli",

src/notify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import fs from "node:fs";
1313

1414
const BOT_TOKEN = process.env["TELEGRAM_BOT_TOKEN"] ?? "";
1515
const CHAT_ID = process.env["TELEGRAM_CHAT_ID"] || "@agents_radar";
16-
const PAGES_URL = (process.env["PAGES_URL"] ?? "https://duanyytop.github.io/agents-radar").replace(/\/$/, "");
16+
const PAGES_URL = (process.env["PAGES_URL"] ?? "https://compasify.github.io/agents-radar").replace(/\/$/, "");
1717

1818
const ZH_LABELS: Record<string, string> = {
1919
"ai-cli": "AI CLI 工具",

0 commit comments

Comments
 (0)