特性: 添加 V2EX 和 HuggingFace 作为免费来源 (不需要 API 密钥)

作者: Alan5168创建于 2026年4月3日更新于 2026年9月22日

Summary

Add two new free data sources that require no API keys:

  • V2EX — Chinese tech community hot topics (similar to Hacker News but for Chinese developers)
  • HuggingFace — Trending AI models with downloads, likes, and tags

Motivation

1. V2EX: Missing Chinese Tech Community Coverage

Current sources are English-centric:

  • Reddit (US-focused)
  • X/Twitter (global but English-dominated)
  • Hacker News (US tech community)
  • Polymarket (US prediction markets) V2EX fills the gap for Chinese developer discussions:
  • Active community discussing AI, coding, career, startups
  • Real-time hot topics with reply counts (engagement signal)
  • No API key required — public JSON API Example topics missed without V2EX:
  • "AI 工程师招聘争议" (AI engineer hiring debates)
  • "国产模型 vs 海外模型" (Chinese vs foreign AI models)
  • "程序员职业发展" (developer career discussions)

2. HuggingFace: Missing AI Model Trend Data

Researching AI topics often needs model-level signals:

  • What models are trending (downloads, likes)
  • New model releases from orgs (meta-LLaMA, DeepSeek, Qwen)
  • Community sentiment on models (tags, engagement) Current sources miss this:
  • Reddit/X discuss models, but HuggingFace has direct metrics
  • Downloads = real usage, not just talk
  • Tags = categorization for discovery Example queries that benefit:
  • "best 开源 LLM" → HuggingFace shows actual download rankings
  • "LLaMA 4" → Direct model stats, not just discussion
  • "AI image generation" → Trending models by task tag

3. Zero-Config: Free-First Philosophy

v2.9.6 introduced "free-first NUX" — works immediately without API keys. V2EX + HuggingFace extend this:

  • Both are completely free (no rate limits requiring auth)
  • Both work immediately (no setup wizard step needed)
  • Both return structured data (normalized for synthesis)

Proposed Approach

V2EX Integration

python
# Public API, no auth
V2EX_HOT_URL = "https://www.v2ex.com/api/topics/hot.json"
# Returns: title, node, author, replies, url
  • Topic filter: case-insensitive substring match
  • Engagement: replies count
  • Scoring: rank + replies + relevance

HuggingFace Integration

python
# Public API, no auth
HF_MODELS_URL = "https://huggingface.co/api/models"
# Params: sort=downloads, direction=-1, limit=N
# Returns: modelId, downloads, likes, tags, createdAt
  • Topic filter: match on modelId
  • Engagement: downloads + likes (log-scaled)
  • Scoring: downloads + likes + recency + relevance

Depth Profiles

Source quick default deep
V2EX 10 20 30
HuggingFace 15 30 50

Comparison with Existing Sources

Source Free? Auth Required Coverage
Hacker News ✅ None US tech
Reddit ⚠️ RSS limited ScrapeCreators recommended Global
X/Twitter ❌ Cookies or xAI Global
YouTube ❌ yt-dlp Global
V2EX ✅ NEW
…

内容来源: mvanhorn/last30days-skill