Skip to content

Allows you to pull your Medium blogs locally and rewrites them in MarkDown.

License

Notifications You must be signed in to change notification settings

yelsayed/md-from-medium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md-from-medium

Allows you to pull your Medium blogs locally and rewrites them in MarkDown. Works well with Gatsby sites.

Install

npm install -g md-from-medium

Usage

md-from-medium <mediumPostUrl> <markdownDir>

Features

Image downloads

This tool downloads all the images that need to be downloaded and links them in the Markdown.

Metadata

The metadata (namely title, date and description) is extracted from these pages as well, making it easy for you to customize article thumbnail cards and SEO.

Downsides

Currently doesn't support pulling Github gist embeds, if your Medium post has any of those you will have to import them manually into the .md file.

Small note on inspiration

I wanted to use a tool that will help me create my personal blog using Gatsby by pulling my articles from Medium. Nothing I found online was convenient enough, the closest was this package. However that package doesn't support downloading images. I used their code as a launchpad.

About

Allows you to pull your Medium blogs locally and rewrites them in MarkDown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published