Open-Source Tool Helps Cross-Post DEV.to Tutorials to Medium With Formatting Checks
Developer Fernando Paladini has released publish-agents v0.2.3, an open-source TypeScript project that automates cross-posting articles from DEV.to to Medium while checking for common formatting issues. The tool's medium-publisher package uses Patchright browser automation rather than Medium's write API, importing articles via Medium's official import flow and flagging problems in code blocks, headings, lists, and metadata. Users clone the repository, build the package on Node.js 20 or newer, log in once through an interactive browser session, and run a single command to create a Medium draft from any public DEV.to URL. The workflow defaults to draft mode, requiring manual review before publication, and provides a structured extraction command to inspect the resulting editor outline and formatting flags. Because the tool stores authentication cookies locally, the project advises treating the saved browser session as a sensitive credential and warns that Medium UI changes pose a compatibility risk.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in