Background
Ozigi generates blog posts. Dev.to has a public REST API for publishing articles and is heavily used by the developer audience we're targeting.
API reference
What's needed
- API key storage — User inputs their Dev.to API key in account settings
- Publish route —
POST /api/publish/devto following the same pattern as existing publish routes in app/api/publish/
- Format mapping — Dev.to accepts markdown; map Ozigi's long-form output to their article schema:
title, body_markdown, tags[], published (bool)
- UI — Add Dev.to to the publish options next to long-form output
Acceptance criteria
Background
Ozigi generates blog posts. Dev.to has a public REST API for publishing articles and is heavily used by the developer audience we're targeting.
API reference
POST https://dev.to/api/articlesWhat's needed
POST /api/publish/devtofollowing the same pattern as existing publish routes inapp/api/publish/title,body_markdown,tags[],published(bool)Acceptance criteria