{"id":17122537,"url":"https://github.com/kricsleo/hexo-elasticsearch","last_synced_at":"2026-05-19T15:10:22.125Z","repository":{"id":34869284,"uuid":"185710735","full_name":"kricsleo/hexo-elasticsearch","owner":"kricsleo","description":"synchronize hexo posts to elasticsearch","archived":false,"fork":false,"pushed_at":"2023-05-01T02:16:57.000Z","size":22,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-19T21:47:47.463Z","etag":null,"topics":["elasticsearch","hexo","hexo-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hexo-elasticsearch","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kricsleo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-09T02:19:44.000Z","updated_at":"2021-06-13T15:43:53.000Z","dependencies_parsed_at":"2022-08-08T02:15:15.329Z","dependency_job_id":null,"html_url":"https://github.com/kricsleo/hexo-elasticsearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kricsleo/hexo-elasticsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kricsleo%2Fhexo-elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kricsleo%2Fhexo-elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kricsleo%2Fhexo-elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kricsleo%2Fhexo-elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kricsleo","download_url":"https://codeload.github.com/kricsleo/hexo-elasticsearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kricsleo%2Fhexo-elasticsearch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263597125,"owners_count":23486304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch","hexo","hexo-plugin"],"created_at":"2024-10-14T18:23:07.678Z","updated_at":"2026-05-19T15:10:12.098Z","avatar_url":"https://github.com/kricsleo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-elasticsearch\n\n`hexo-elasticsearch` is a [hexo](https://hexo.io/) plugin help to synchronize your post to elasticsearch. You have to deploy your own elasticsearch server first before you start.\n\nI mainly want to use elasticsearch for the searching of [my blog](https://kricsleo.com), so I made this plugin to synchronize my articles to the elasticsearch every time I make a change to the article, by using `hexo g` or `hexo s`\n\n## Installation\n\n```js\nnpm i -S hexo-elasticsearch\n```\n\n## usage\n\nConfiguring your elasticsearch info in `_config.yml`\n\n```yml\nelasticsearch:\n  # your elasticsearch host, default: 127.0.0.1\n  host: 127.0.0.1\n  # your elasticsearch port, default: 9200\n  port: 9200\n  # the index to save your articles, default: blog\n  index: blog\n  # the type in the index to save your articles, default: article\n  type: article\n  # timeout when operating elasticsearch, default: 30000\n  timeout: 30000\n  # date format for formating post date and update date, default: YYYY-MM-DD, like: 2019-05-08\n  dateFormat: YYYY-MM-DD\n```\n\nAfter configuring your elasticsearch info, every time you run `hexo g` or `hexo s`, your posts will be synchronized to your elasticsearch. \n\nThen you can check your elasticsearch for your posts.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkricsleo%2Fhexo-elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkricsleo%2Fhexo-elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkricsleo%2Fhexo-elasticsearch/lists"}