Usage
# 获取某天新闻(默认 JSON 格式)
cyeam news get --date 2026-06-28
# 人类可读表格格式
cyeam news get --date 2026-06-28 --pretty
Data Sources
The CLI has two built-in independent data sources:
| Module | Description |
|---|---|
Tech Trends (news) |
General tech news |
AI Updates (ai_news) |
AI feature news |
CLI Output
The CLI returns structured data, with each news item containing:
| Field | Description |
|---|---|
title |
News title |
link |
Original link |
image |
Header image URL |
create_time |
Publish timestamp |
Guidelines for Subsequent Processing by Large Models
After receiving the data returned by the CLI, you can process it further as follows:
- Secondary crawling of details: Perform deep crawling on important links to obtain the full body text
- AI summarization and refinement: Extract 100-200 Chinese characters of key points for each news item
- Scoring and sorting: Score each news item from 0-100 by importance, sorted in descending order
- Deduplication and filtering: Filter out duplicate and low-value content, keeping 8-15 core news items
Output Format
CLI Return Structure
cyeam news get Returns a standard JSON envelope:
{
"ok": true,
"data": "{...}", // data 是字符串化的 JSON 对象,见下文结构
"_notice": {}
}
JSON structure of the data field
{
"date": "2026-06-27",
"news": {
"create_time": 1719331200,
"summary": "今日科技要闻总结...",
"news": [
{
"title": "新闻标题",
"link": "https://...",
"description": "AI提炼的完整要点",
"image": "https://.../img.jpg",
"create_time": 1719331200
}
]
},
"ai_news": {
"create_time": 1719331200,
"news": [
{
"title": "AI新闻标题",
"link": "https://...",
"description": "要点内容",
"image": "",
"create_time": 1719331200
}
]
}
}
Field Descriptions
| Field | Description |
|---|---|
date |
News date YYYY-MM-DD |
news.summary |
Global summary, a paragraph summarizing the 3-5 most important trends |
news[].title |
News title |
news[].link |
Original link |
news[].description |
Complete key points content extracted by AI |
news[].image |
Header image URL (if any, an empty string means none) |
news[].create_time |
News publish timestamp (Unix seconds) |
Output Format Parameters
Use the global --pretty parameter to control the output format:
cyeam news get --date 2026-06-27 # 默认,结构化 JSON(在 envelope 中)
cyeam news get --date 2026-06-27 --pretty # 人类可读的表格形式
Suitable Scenarios
- "What tech news is there today?"
- "What's happening in the AI world recently?"
- "Help me summarize the latest tech news"
- "Have there been any open-source project releases worth paying attention to recently?"
Notes
- WeChat official account links are not crawled a second time; display the original summary directly
- For links whose secondary crawling fails, use the original summary as a fallback
- Keep the final output to 8-15 news items; when there are too many, keep only the most important ones