google-news

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Google News Skill

Google News 技能

Stay informed with Google's AI-powered news aggregator and personalized headlines.
借助谷歌的AI驱动新闻聚合器和个性化头条随时了解资讯。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/google-news/install.sh | bash
Or manually:
bash
cp -r skills/google-news ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/google-news/install.sh | bash
或者手动安装:
bash
cp -r skills/google-news ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set GOOGLE_ACCOUNT_EMAIL "your_email" canifi-env set GOOGLE_ACCOUNT_PASSWORD "your_password"
undefined
canifi-env set GOOGLE_ACCOUNT_EMAIL "your_email" canifi-env set GOOGLE_ACCOUNT_PASSWORD "your_password"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS 尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,且永远不会看到你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭据仅能在你的本地设备访问,绝不会被传输。

Capabilities

功能特性

  1. Personalized Headlines: Get news personalized based on interests and search history
  2. Topic Coverage: Follow topics for comprehensive coverage from multiple sources
  3. Full Coverage: View complete story coverage with different perspectives
  4. Location News: Get local news based on your location
  5. Fact Check: Access fact-check labels and source credibility information
  1. 个性化头条:根据兴趣和搜索历史获取个性化新闻
  2. 主题报道:关注特定主题,获取多来源的全面报道
  3. 完整报道:查看同一事件的不同视角完整报道
  4. 本地新闻:根据你的位置获取本地新闻
  5. 事实核查:访问事实核查标签和来源可信度信息

Usage Examples

使用示例

Get Headlines

获取头条

User: "Show me today's top headlines from Google News"
Assistant: Returns personalized top stories and breaking news
用户: "给我展示今天Google News的头条新闻"
助手: 返回个性化头条和突发新闻

Follow Topic

关注主题

User: "Follow 'Climate Change' topic on Google News"
Assistant: Adds topic to your followed interests for ongoing coverage
用户: "在Google News上关注‘气候变化’主题"
助手: 将该主题添加到你的关注兴趣中,以便持续获取报道

Full Coverage

完整报道

User: "Show full coverage for the latest tech industry story"
Assistant: Returns multiple perspectives and sources for the story
用户: "展示最新科技行业事件的完整报道"
助手: 返回该事件的多个视角和来源

Local News

本地新闻

User: "What's happening in San Francisco today?"
Assistant: Returns local news for San Francisco area
用户: "今天旧金山有什么动态?"
助手: 返回旧金山地区的本地新闻

Authentication Flow

认证流程

  1. Uses Google account authentication
  2. OAuth 2.0 for third-party access
  3. Personalization requires signed-in account
  4. Cross-device sync with Google account
  1. 使用谷歌账号认证
  2. 采用OAuth 2.0进行第三方访问
  3. 个性化功能需要已登录账号
  4. 跨设备同步谷歌账号数据

Error Handling

错误处理

ErrorCauseSolution
Auth FailedInvalid Google credentialsRe-authenticate with Google
Region LimitedContent not availableCheck regional restrictions
Rate LimitedToo many requestsImplement request throttling
Topic Not FoundInvalid topic IDSearch for valid topic
错误原因解决方案
认证失败谷歌凭据无效重新通过谷歌认证
区域限制内容不可用检查区域限制
请求受限请求次数过多实现请求限流
主题未找到无效主题ID搜索有效的主题

Notes

注意事项

  • Free service with Google account
  • AI-powered story clustering
  • Available in 120+ countries
  • Newsstand for magazine subscriptions
  • Web, iOS, and Android apps
  • Privacy controls in Google account settings
  • 谷歌账号可免费使用该服务
  • AI驱动的故事聚类
  • 支持120多个国家和地区
  • 提供杂志订阅的报刊亭功能
  • 支持网页端、iOS和Android应用
  • 谷歌账号设置中有隐私控制选项