Skip to main content
All posts
Blog PublishingDEV.toHashnodeMediumAI AssistantContent Creation

Your AI Bot Can Now Publish Blog Posts to DEV.to, Hashnode, and Medium

5 min readby Clawship Team

Your AI assistant can now write and publish blog posts directly to DEV.to, Hashnode, and Medium — from a Telegram message.

Tell your bot “write an article about X and publish it to DEV.to” — it drafts the full article in markdown, then publishes (or saves as draft) to your connected platform. No browser tabs, no copy-pasting, no context switching.

This works on any Clawship plan. Connect your API keys in the dashboard, and every bot you deploy gets a blog_publish tool automatically.

What It Does

AI-generated articles

Full markdown articles with headers, code blocks, lists — generated from a chat message

DEV.to, Hashnode & Medium

Publish to any platform. Connect your API keys and go.

Draft by default

Articles save as drafts unless you explicitly say 'publish'. No accidental posts.

The bot handles the full flow:

  • Generates the article — title, body (markdown), tags, and description
  • Formats for the platform — DEV.to and Medium have different tag limits, body formats, and publishing APIs
  • Publishes or drafts — tells you the URL once it's live

You can also guide the output: “Write a technical tutorial about React Server Components, keep it under 1500 words, add code examples, publish as draft on DEV.to.”

How to Set Up: 3 Steps

1

Get your API key

For DEV.to: go to Settings → Extensions and generate an API key. For Medium: go to Settings → Security and create an integration token.

2

Connect in your dashboard

Open your instance → Blog Publishing → Connect Platform. Paste your API key. We verify it's valid by fetching your profile, then store it encrypted (AES-256-GCM).

3

Tell your bot to write

Send a message like “Write a blog post about deploying AI bots and publish it as a draft on DEV.to.” The bot generates the article and publishes it. You get the URL back in the chat.

Example Conversation

Telegram Chat
Write a tutorial about setting up CI/CD with GitHub Actions for a Node.js app. Include code examples. Publish as draft on DEV.to.
I'll write that tutorial and publish it as a draft on DEV.to.
Article saved as draft successfully! Title: Setting Up CI/CD with GitHub Actions for Node.js URL: https://dev.to/yourname/setting-up-cicd-with-github-actions-xxx Platform: DEV.to You can edit and publish it from your DEV.to dashboard.

Supported Platforms

PlatformWhat You NeedTag Limit
DEV.toAPI Key4 tags, lowercase
MediumIntegration Token3 tags

More platforms (Hashnode, Ghost, WordPress) are on our roadmap. If there's a platform you want, let us know in our Discord.

How We Handle Your Keys

Your API keys are encrypted with AES-256-GCM before they touch the database. The encryption key lives in an environment variable on our server — never stored alongside the data. When your bot needs to publish, we decrypt the key in memory, make the API call, and discard it.

You can disconnect a platform at any time from the dashboard. This immediately deletes the encrypted key from our database and removes the publishing tool from your bot on the next redeploy.

What People Are Using This For

  • Content repurposing — turn Telegram conversations, notes, or threads into full blog posts
  • Technical blogging — ask the bot to write tutorials, how-tos, or documentation articles
  • Content calendars — schedule a message to your bot every week: “Write a post about [topic] and draft it on Medium”
  • SEO content — generate keyword-targeted articles and publish them as drafts for review
  • Team knowledge sharing — turn internal discussions into public posts

Try It Now

Connect your DEV.to or Medium account and let your AI assistant handle the publishing. Available on all plans.

Get started