Hexo Migrator Wordpress

screenshot of Hexo Migrator Wordpress
hexo

WordPress migrator for Hexo.

Overview

If you're looking to migrate your blog from WordPress to Hexo, the hexo-migrator-wordpress is a tool that simplifies this process. This npm package allows you to seamlessly transfer your content, images, and settings from your WordPress site to a Hexo environment, making it easier than ever for users to switch platforms without losing any valuable data.

What’s particularly impressive about this tool is its versatility and the amount of customization it offers. Whether you want to import all posts, skip duplicates, or specifically manage your image downloads, this migrator is able to adapt to your needs and streamline your transition effectively.

Features

  • Easy Installation: Simply add this npm dependency to your project’s blog folder, and you’re ready to start the migration process.

  • Alias Population: Automatically generates alias settings in the front-matter for use with the hexo-generator-alias module, which is useful for managing redirects.

  • Import Limits: You can set a maximum number of posts to import, allowing you to migrate only the most critical content if needed.

  • Duplicate Post Management: Skip posts with similar titles if they already exist in your Hexo setup, preventing clutter and confusion in your new environment.

  • Image Importing: Automatically downloads all image attachments from WordPress, saving them in their original directories and updating embedded links to the new location.

  • Asset Management: If the post asset folder feature is enabled, images are saved according to their associated posts, ensuring a neat and organized directory structure.

  • Original Image Option: Choose to download original image attachments only, ensuring you have high-quality visuals for your Hexo posts.

  • Supported Formats: Compatible with various image formats including JPEG, PNG, GIF, and WebP, making it flexible for different types of blog content.

This combination of features makes the hexo-migrator-wordpress a robust solution for anyone needing to transition from WordPress to Hexo with minimal hassle.

hexo
Hexo

Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.