Skip to content

Generate zip search data for Hexo 3.0. This plugin is used for generating a search index file, which contains all the neccessary data of your articles that you can use to write a local search engine for your blog.

License

Notifications You must be signed in to change notification settings

SuperKieran/hexo-generator-search-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-generator-search-zip

npm npm

Generate zip search data for Hexo 3.0. This plugin is used for generating a search index file, which contains all the neccessary data of your articles that you can use to write a local search engine for your blog.

Guide

https://go.kieran.top/post/45/

Installation

$ npm install hexo-generator-search-zip --save

Options

You can configure this plugin in your root _config.yml.

search:
  path: search.json
  zipPath: search.zip
  versionPath: searchVersion.txt
  field: post
  • field - the search scope you want to search, you can chose:
    • post (Default) - will only covers all the posts of your blog.
    • page - will only covers all the pages of your blog.
    • all - will covers all the posts and pages of your blog.

FAQ

What's this plugin supposed to do?

This plugin is used for generating a zip file from your Hexo blog that provides data for searching.

Where's this file saved to?

After executing hexo g you will get the generated result at your public folder.

About

Generate zip search data for Hexo 3.0. This plugin is used for generating a search index file, which contains all the neccessary data of your articles that you can use to write a local search engine for your blog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published