1.0.1 • Published 6 years ago

reverse-hexo v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Reverse Hexo

License

中文文档

Introduction

My blog deploys on Github base on hexo. Good platform and good blog framework. Until I lose my computer at the end of the last year. I found that the generated code store in GitHub repository only. That means the source code of the posts were Lost. Too upset to continue writing blogs. So I take a half of year break with no update on my blog. But now, I realized that a great man cannot be beaten. I can lose the code but I cannot lose myself. I look for a tool which can transform the hexo's generated code to the posts' markdown source code. No suitable tool so I write it by myself. I hope you will not experience my pain and loss.

In a word: This is a tool which can transform the hexo's generated code to the source code.

Getting Started

npm install -g reverse-hexo

How To Use

  1. Build a novel hexo project.
  2. Pull down the generated code form github and copy to public folder.
  3. Command:
reverse-hexo /User/xxx/hexo-blog/root/path
  1. After running:
hexo g
hexo d
  1. Done

Running the tests

Check the website.

Built With

  • h2m - Tool for converting HTML to Markdow
  • cheerio - Fast, flexible & lean implementation of core jQuery designed specifically for the server.

Contributing

Version

1.0.0 Implement default function.

Authors

License

MIT