Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dailyrandomphoto/hexo-huge-site-plugin
This plugin helps hexo to generate a huge site.
https://github.com/dailyrandomphoto/hexo-huge-site-plugin
Last synced: about 1 month ago
JSON representation
This plugin helps hexo to generate a huge site.
- Host: GitHub
- URL: https://github.com/dailyrandomphoto/hexo-huge-site-plugin
- Owner: dailyrandomphoto
- License: mit
- Created: 2019-10-15T10:22:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T06:18:35.000Z (over 3 years ago)
- Last Synced: 2024-08-09T06:11:11.823Z (5 months ago)
- Language: JavaScript
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-huge-site-plugin
[![NPM Version][npm-version-image]][npm-url]
[![LICENSE][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![dependencies Status][dependencies-image]][dependencies-url]
[![devDependencies Status][devDependencies-image]][devDependencies-url]This plugin helps hexo to generate a huge site.
## Installation
```sh
npm install --save hexo-huge-site-plugin
```## Configuration
Add `huge_site_plugin` options to the `_config.yml` file.
```
huge_site_plugin:
enable: true
concurrency: 10
database_format: 'v8se'
overrideRenderPostFilter: true
```- `enable` `` Enable hexo-huge_site_plugin.
- Default value is `false`.
- `concurrency` `` Maximum number of files to be generated in parallel. [`hexo generate` options](https://hexo.io/docs/commands#generate)
- Default value is `10`.
- Set a small number or provide `-c` option on `generate` command if rendering HTML takes very long time or fails with OOM error.
- `database_format` ``
- Default value is `v8se`.
- `json` Save the database to file using JSON stringify. Default implementation.
- `v8se` Save the database to file using v8 serialization.
- Set as `v8se` if save database fails.
- `overrideRenderPostFilter` `Boolean` Limit rendering concurrency to reduce memory usages.
- Default value is `false`.
- Enable it if rendering post takes very long time or fails with OOM error.## License
Copyright (c) 2019 dailyrandomphoto. Licensed under the [MIT license][license-url].[npm-url]: https://www.npmjs.com/package/hexo-huge-site-plugin
[travis-url]: https://travis-ci.org/dailyrandomphoto/hexo-huge-site-plugin
[coveralls-url]: https://coveralls.io/github/dailyrandomphoto/hexo-huge-site-plugin?branch=master
[license-url]: LICENSE
[dependencies-url]: https://david-dm.org/dailyrandomphoto/hexo-huge-site-plugin
[devDependencies-url]: https://david-dm.org/dailyrandomphoto/hexo-huge-site-plugin?type=dev[npm-downloads-image]: https://img.shields.io/npm/dm/hexo-huge-site-plugin
[npm-version-image]: https://img.shields.io/npm/v/hexo-huge-site-plugin
[license-image]: https://img.shields.io/npm/l/hexo-huge-site-plugin
[travis-image]: https://img.shields.io/travis/dailyrandomphoto/hexo-huge-site-plugin
[coveralls-image]: https://img.shields.io/coveralls/github/dailyrandomphoto/hexo-huge-site-plugin
[dependencies-image]: https://img.shields.io/david/dailyrandomphoto/hexo-huge-site-plugin
[devDependencies-image]: https://img.shields.io/david/dev/dailyrandomphoto/hexo-huge-site-plugin