Files
jackwener__opencli/docs/adapters/browser/devto.md
VK ea113a6471 feat(devto): add devto adapter (#234)
* feat(devto): add devto adapter

* refactor(devto): improve adapters to match project conventions

- Make tag/username args positional for natural CLI usage:
  opencli devto tag javascript (instead of --tag javascript)
  opencli devto user ben (instead of --username ben)
- Add rank field (index + 1) matching hackernews/lobsters pattern
- Add tags field from tag_list for richer output
- Remove redundant author column from user command (already filtering by user)
- Use type: str (project convention) instead of type: string
- Increase default limit from 10 to 20 (matching other adapters)
- Update docs with positional arg examples

---------

Co-authored-by: jackwener <jakevingoo@gmail.com>
2026-03-22 14:18:47 +08:00

806 B

Dev.to

Mode: 🌐 Public · Domain: dev.to

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

Commands

Command Description
opencli devto top Top DEV.to articles of the day
opencli devto tag Latest articles for a specific tag
opencli devto user Recent articles from a specific user

Usage Examples

# Top articles today
opencli devto top --limit 5

# 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

# JSON output
opencli devto top -f json

Prerequisites

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