Skip to content

Generate Hexo stub posts for memory and performance tuning

License

Notifications You must be signed in to change notification settings

leesei/hexo-genstubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-genstubs

Generate Hexo stub posts for memory and performance tuning.

Installation

git clone https://github.com/leesei/hexo-genstubs
cd hexo-genstubs
npm install

Usage

genstubs.js [options]
genstubs.js -N 1000 -P 10  # Generate 1000 posts, with 10 paragraphs each
genstubs.js -N 1000 -P 10 -t 5 -c 1 # same, with tags and categories
genstubs.js --help         # see help

Posts will be generated in ./source/_posts, copy or symlink to a Hexo site folder and run hexo generate for testing.

Run npm run clean to clean mds in ./source/_posts.

About

Generate Hexo stub posts for memory and performance tuning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published