Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stormcat24/hateblo2hugo
migration tool hatenablog to hugo
https://github.com/stormcat24/hateblo2hugo
blog hatena-blog hugo migration
Last synced: 2 months ago
JSON representation
migration tool hatenablog to hugo
- Host: GitHub
- URL: https://github.com/stormcat24/hateblo2hugo
- Owner: stormcat24
- License: mit
- Created: 2017-06-16T19:09:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T17:10:22.000Z (over 7 years ago)
- Last Synced: 2024-10-14T18:41:34.889Z (2 months ago)
- Topics: blog, hatena-blog, hugo, migration
- Language: Go
- Homepage:
- Size: 622 KB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hateblo2hugo
=======[![Circle CI](https://circleci.com/gh/stormcat24/hateblo2hugo.svg?style=shield&circle-token=388632f89f829c91445405176f51c11bd066e3d5)](https://circleci.com/gh/stormcat24/hateblo2hugo)
[![Language](https://img.shields.io/badge/language-go-brightgreen.svg?style=flat)](https://golang.org/)
[![issues](https://img.shields.io/github/issues/stormcat24/hateblo2hugo.svg?style=flat)](https://github.com/stormcat24/hateblo2hugo/issues?state=open)
[![License: MIT](https://img.shields.io/badge/license-MIT-orange.svg)](LICENSE)
[![GoDoc](https://godoc.org/github.com/stormcat24/hateblo2hugo?status.png)](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.
![img](img/hateblo2hugo_01.png)
### 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.
![img](img/hateblo2hugo_02.png)
### 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.