SkillHub

devto-surfer

v1.0.0

Surf Dev.to for AI tutorials and tech articles. Get latest articles, search by tags, and analyze trending topics.

Sourced from ClawHub, Authored by zhaog100

Installation

Please help me install the skill `devto-surfer` from SkillHub official store. npx skills add zhaog100/devto-surfer

Dev.to Surfer

Dev.to 冲浪技能,获取 AI 教程和技术文章。

Features

  • Latest Articles - Get newest posts
  • Top Articles - Get most popular posts
  • Tag Search - Search by tags (AI, machinelearning, python)
  • Article Details - Get full article content
  • User Articles - Get posts by specific user

API

Base URL: https://dev.to/api/

Endpoints: - /articles - Get articles - /articles?tag=ai - Get articles by tag - /articles/{id} - Get article details - /articles?username=username - Get user articles

Usage

Get Latest Articles

# Get latest 10 articles
curl -s "https://dev.to/api/articles?per_page=10" | jq '.[] | {
  title: .title,
  url: .url,
  user: .user.username,
  reactions: .positive_reactions_count,
  comments: .comments_count
}'

Search AI Articles

# Get AI-tagged articles
curl -s "https://dev.to/api/articles?tag=ai&per_page=10" | jq '.[] | {
  title: .title,
  url: .url,
  user: .user.username,
  reactions: .positive_reactions_count
}'

Quick Test

# Test API connection
curl -s "https://dev.to/api/articles?per_page=1" | jq '.[0].title'

Examples

See USAGE.md for detailed examples: - Get top AI tutorials - Search by multiple tags - Get article details - Analyze trending topics

Installation

✅ No installation required - uses public API

Rate Limit

  • 1000 requests/10 minutes (per IP)
  • Be respectful

Cost

  • Free - No API key required