Skip to content

Dev.to

Mode: 🌐 Public · Domain: dev.to

Fetch the latest and greatest developer articles from the DEV community without needing an API key.

Commands

CommandDescription
opencli devto topTop DEV.to articles of the day
opencli devto latestLatest published articles across all tags (paginated)
opencli devto tag <tag>Latest articles for a specific tag
opencli devto user <username>Recent articles from a specific user
opencli devto read <id>Read the body of a single article

Listing columns

top, latest, tag, and user all surface the same agent-native columns so the article id is round-trippable into devto read:

ColumnSourceNotes
ranklocal1-indexed position in the result
iditem.idNumeric article id, feed into devto read
titleitem.title
authoritem.user.username(omitted for user since it's user-scoped)
reactionsitem.public_reactions_count
commentsitem.comments_count
reading_timeitem.reading_time_minutesMinutes
published_atitem.published_atISO 8601 timestamp
tagsitem.tag_listComma-separated
urlitem.urlCanonical article URL

read columns

devto read returns a single row with the article body. DEV.to's public API does not expose article comments, so this reader does not emit a comment tree.

ColumnSource
idarticle.id
titlearticle.title
authorarticle.user.username
reactionsarticle.public_reactions_count
reading_timearticle.reading_time_minutes
tagsarticle.tag_list (joined)
published_atarticle.published_at
bodyarticle.body_markdown (truncated by --max-length)
urlarticle.url

Usage Examples

bash
# Top articles today
opencli devto top --limit 5

# Latest published articles (newest first; supports --page for pagination)
opencli devto latest --limit 20
opencli devto latest --limit 20 --page 2

# Articles by tag (positional argument)
opencli devto tag javascript
opencli devto tag python --limit 20

# Articles by a specific author
opencli devto user ben
opencli devto user thepracticaldev --limit 5

# Read a single article body by id
opencli devto read 3605688
opencli devto read 3605688 --max-length 5000

# JSON output
opencli devto top -f json
opencli devto read 3605688 -f json

Prerequisites

  • No browser required — uses the public DEV.to API

Released under the Apache-2.0 License.