Skip to content
migration tool hatenablog to hugo
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
helper
hugo
img
service
transformer
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
main.go

README.md

hateblo2hugo

Circle CI Language issues License: MIT GoDoc

hateblo2hugo is a tool to migrate blog data of hatenablog to markdown data for Hugo.

img

Install

$ go get github.com/stormcat24/hateblo2hugo

Preparation

Before use this tool, you must export blog data from hatenablog. Data format of hatenablog is Movable Type.

img

Usage

$ hateblo2hugo migrate -i ~/your_path/your_hatenablog.export.txt -o ~/your_path/your_hugo_blog/blog/

Migration Features

  • Remove Hatena Keyword link
  • Download images from hatena photo life, and locate files to {blog_dir}/static/images directory.
  • Embed contents
  • Code syntax

Example using hateblog2hugo

License

See LICENSE.

Copyright © stromcat24. All Rights Reserved.

You can’t perform that action at this time.