reverse-hexo v1.0.1
Reverse Hexo
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
- Build a novel hexo project.
- Pull down the generated code form github and copy to
public
folder. - Command:
reverse-hexo /User/xxx/hexo-blog/root/path
- After running:
hexo g
hexo d
- 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
- SevensChan - Personal Website - AwesomeSevens
License
MIT