https://github.com/bootjp/hateblo2hugo
migration tool hatenablog to hugo
https://github.com/bootjp/hateblo2hugo
Last synced: 5 months ago
JSON representation
migration tool hatenablog to hugo
- Host: GitHub
- URL: https://github.com/bootjp/hateblo2hugo
- Owner: bootjp
- License: mit
- Fork: true (stormcat24/hateblo2hugo)
- Created: 2021-04-17T09:04:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T17:10:22.000Z (almost 9 years ago)
- Last Synced: 2024-06-20T06:22:41.035Z (almost 2 years ago)
- Homepage:
- Size: 622 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hateblo2hugo
=======
[](https://circleci.com/gh/stormcat24/hateblo2hugo)
[](https://golang.org/)
[](https://github.com/stormcat24/hateblo2hugo/issues?state=open)
[](LICENSE)
[](https://godoc.org/github.com/stormcat24/hateblo2hugo)
hateblo2hugo is a tool to migrate blog data of [hatenablog](http://hatenablog.com/) to markdown data for Hugo.

### Install
```bash
$ 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.

### Usage
```bash
$ 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
* Tweet
* Speakerdeck
* General links
* GitHub Repository (use [lepture/github-cards](https://github.com/lepture/github-cards) )
* Code syntax
### Example using hateblog2hugo
* [http://stormcat.hatenablog.com](http://stormcat.hatenablog.com) to [https://blog.stormcat.io](https://blog.stormcat.io)
License
===
See [LICENSE](LICENSE).
Copyright © stromcat24. All Rights Reserved.