npm.io
0.4.1 • Published 6d agoCLI

medmark

Licence
MIT
Version
0.4.1
Deps
12
Size
263 kB
Vulns
0
Weekly
0
Stars
1

medmark: export your Medium articles to Markdown

npm version Build Release MIT License All Contributors Commitizen friendly

medmark turns a Medium export into clean Markdown or MDX: front matter, images, embeds and a content registry, ready for Next.js, Astro, Hugo or anything else.

Documentation · Getting started · CLI reference · Agent skill · Showcase


Documentation

Everything lives at brionmario.github.io/medmark:

Getting started Export your archive and run your first conversion
CLI reference Every command and flag
Configuration Options, image strategies, skips and drafts
Templates Control the shape of the generated files
Content registry A manifest of your posts, plus RSS and a sitemap
Agent skill Let a coding agent convert and host your blog
Docs for AI llms.txt and Markdown copies of every page

For AI agents

medmark ships an agent skill for Claude Code, Codex, Cursor and friends. Installed, it takes the migration end to end: conversion, a blog built from the output, and the deploy. The skill and its Next.js starter live in skills/medmark.

Install it with the skills CLI, which every one of those agents reads:

npx skills add brionmario/medmark

Or, inside Claude Code, as a plugin. Type these into Claude Code itself, one at a time:

/plugin marketplace add brionmario/medmark
/plugin install medmark@medmark

Then ask for the whole thing in one sentence: "Convert my Medium export to Markdown and get it hosted." The skill asks whose blog it is, offers four looks, builds the site, previews it and walks you through deploying.

Showcase

Moved your writing across with medmark? Add your site to the showcase. It's a one-line change to a JSON file. There's a badge too.

Contributing

Bug reports, code and documentation improvements are all welcome. See the contributing guidelines.

License

MIT Brion Mario. See LICENSE.

Keywords