Publish markdown articles to Dev.to directly from a markdown file using their REST API.
> Want cross-posting to Medium and Hashnode too? Upgrade to Blog Cross-Publisher (Full)
A Dev.to API key. Get one at https://dev.to/settings/extensions
Write your article in standard markdown. The skill extracts the title from the first # heading, tags from the Tags: line, and everything after --- becomes the body.
python scripts/publish_devto.py article.md --api-key YOUR_API_KEY --publish
| Flag | What It Does |
|---|---|
| ------ | ------------- |
--publish | Publish immediately (omit for draft) |
--tags "seo,webdev" | Override tags from the file |
POST https://dev.to/api/articles with api-key header and JSON body. Max 4 tags, lowercase.
Built by Apex Stack — tools for developers who ship.
共 1 个版本