{"id":15470937,"url":"https://github.com/chekun/hexo-excerpt","last_synced_at":"2025-08-26T14:22:54.276Z","repository":{"id":8727552,"uuid":"59545091","full_name":"chekun/hexo-excerpt","owner":"chekun","description":"Automatic excerpt generator for Hexo","archived":false,"fork":false,"pushed_at":"2025-02-18T07:55:21.000Z","size":1244,"stargazers_count":65,"open_issues_count":2,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-09T00:03:12.611Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chekun.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-24T06:06:07.000Z","updated_at":"2024-12-25T04:17:47.000Z","dependencies_parsed_at":"2024-02-28T03:23:14.901Z","dependency_job_id":"705dad5e-681f-4528-a5d6-34c9d26d2fa9","html_url":"https://github.com/chekun/hexo-excerpt","commit_stats":{"total_commits":57,"total_committers":10,"mean_commits":5.7,"dds":0.543859649122807,"last_synced_commit":"9152db284443f3955da1c67ac562a49adfd52691"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekun%2Fhexo-excerpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekun%2Fhexo-excerpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekun%2Fhexo-excerpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekun%2Fhexo-excerpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chekun","download_url":"https://codeload.github.com/chekun/hexo-excerpt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166502,"owners_count":21864475,"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":[],"created_at":"2024-10-02T02:07:59.409Z","updated_at":"2025-05-09T00:03:38.120Z","avatar_url":"https://github.com/chekun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-excerpt\n\n[![Build Status](https://travis-ci.org/chekun/hexo-excerpt.svg?branch=master)](https://travis-ci.org/chekun/hexo-excerpt)  [![NPM version](https://badge.fury.io/js/hexo-excerpt.svg)](http://badge.fury.io/js/hexo-excerpt) [![Coverage Status](https://img.shields.io/coveralls/chekun/hexo-excerpt.svg)](https://coveralls.io/r/chekun/hexo-excerpt?branch=master)\n\nAutomatic excerpt generator for [Hexo!](http://hexo.io/).\n\n[Hexo-excerpt: https://chekun.me/post/hexo-excerpt](https://chekun.me/post/hexo-excerpt)\n\n## Installation\n\n``` bash\n$ npm install hexo-excerpt --save\n```\n\n\u003e This Plugin use es6 syntax, make sure your node support it.\n\n## Features\n\n- \u003c!-- more --\u003e still works!\n- If you're lazy as I am, the plugin generate the excerpt for you, without breaking your sentences or codes!\n- If no \u003c!-- more --\u003e tag is specified, the post will be updated with excerpt and more variables.\n- CSS selector can be used to filter generated excerpt.\n\n## How?\n\nThis plugin runs through all your posts, if your post has more than the configured number of direct tags, then they will be the excerpt, otherwise the whole post will be used.\n\n## Configuration\n\nYou can specify the size of the excerpt by setting depth in your config, which defaults to 10.\n\nYou can also exclude certain tags from the generated excerpt using css selectors.\nTags matching any of the selectors will be excluded.\n\nThe default behaviour is to only show an excerpt if it would not be the whole post. Set `hideWholePostExcerpts` to `false` to override that and show whole post excerpts.\n\n``` yaml\nexcerpt:\n  depth: 10\n  excerpt_excludes: []\n  more_excludes: []\n  hideWholePostExcerpts: true\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchekun%2Fhexo-excerpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchekun%2Fhexo-excerpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchekun%2Fhexo-excerpt/lists"}