{"id":39355527,"url":"https://github.com/sshwy/hexo-theme-essence","last_synced_at":"2026-01-18T02:36:50.728Z","repository":{"id":54855780,"uuid":"330372059","full_name":"sshwy/hexo-theme-essence","owner":"sshwy","description":"Unpretentious, functional and darkmode featured theme for Hexo.","archived":false,"fork":false,"pushed_at":"2023-05-30T05:36:42.000Z","size":495,"stargazers_count":12,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T07:51:33.934Z","etag":null,"topics":["dark-mode","hexo","hexo-theme","i18n","prismjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshwy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.GPL-3.0-or-later","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-01-17T11:11:29.000Z","updated_at":"2024-10-25T01:38:57.000Z","dependencies_parsed_at":"2024-10-11T18:00:55.751Z","dependency_job_id":"58fb1e32-d8d0-4a57-83cb-cf6d50ca0f72","html_url":"https://github.com/sshwy/hexo-theme-essence","commit_stats":{"total_commits":212,"total_committers":2,"mean_commits":106.0,"dds":0.004716981132075526,"last_synced_commit":"baaf832fd11aaff2cc0cdde6f0bcca3bf6f96c37"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/sshwy/hexo-theme-essence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshwy%2Fhexo-theme-essence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshwy%2Fhexo-theme-essence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshwy%2Fhexo-theme-essence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshwy%2Fhexo-theme-essence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshwy","download_url":"https://codeload.github.com/sshwy/hexo-theme-essence/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshwy%2Fhexo-theme-essence/sbom","scorecard":{"id":844736,"data":{"date":"2025-08-11","repo":{"name":"github.com/sshwy/hexo-theme-essence","commit":"34557cbf8be1a20dfd19a17a4c6a2543af317649"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/sshwy/hexo-theme-essence/npm-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/sshwy/hexo-theme-essence/npm-publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/sshwy/hexo-theme-essence/npm-publish.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/npm-publish.yml:14","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T21:10:42.926Z","repository_id":54855780,"created_at":"2025-08-23T21:10:42.926Z","updated_at":"2025-08-23T21:10:42.926Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dark-mode","hexo","hexo-theme","i18n","prismjs"],"created_at":"2026-01-18T02:36:50.592Z","updated_at":"2026-01-18T02:36:50.707Z","avatar_url":"https://github.com/sshwy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Essence\n\n[![npm](https://img.shields.io/npm/v/hexo-theme-essence)](https://www.npmjs.com/package/hexo-theme-essence) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsshwy%2Fhexo-theme-essence.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsshwy%2Fhexo-theme-essence?ref=badge_shield)\n\n**NOTICE**: for hexo version \u003e=6 \u003c 7, please use the older `hexo-theme-essence@v1.9.12`.\n\nEssence is a functional and darkmode featured theme for Hexo.\n\nVisit [Sshwy's Notes](https://notes.sshwy.name) for preview.\n\n[TOC]\n\n## Features Quick View :hammer:\n\n- :first_quarter_moon: Dark mode.\n- :lock: Encrypt tag for paragraphs of your post.\n- :package: Iconfont instead of font awesome. So if you need more icons you have to collect them yourself.\n- :open_file_folder: Folder categorized instead of manually writing it into frontmatter.\n- :cloud: Leancloud storage project for Valine.\n- :iphone: Responsive layout.\n- :mag: Local search.\n\n## Installation :inbox_tray:\n\nYou can simply install it as a node module:\n\n```bash\nnpm install hexo-theme-essence --save\n# or\nyarn install hexo-theme-essence --save\n```\n\nOn another hand, the traditional way is still working, which means you clone this repository under `\u003cYourBlog\u003e/themes/essence/`:\n\n```bash\ncd \u003cYourBlog\u003e\nmkdir --parents themes\ngit clone --depth 1 https://github.com/sshwy/hexo-theme-essence.git themes/essence\n```\n\nWhatever way you choose, please install these peer dependencies as well:\n\n```bash\nnpm install hexo-renderer-stylus hexo-renderer-ejs --save\n# or\nyarn install hexo-renderer-stylus hexo-renderer-ejs --save\n```\n\nIt's worth reminding that `hexo-renderer-stylus` and `hexo-renderer-ejs` is hexo's default render engine.\n\n## Configuration :gear:\n\nFirst of all, create a copy of [default configuration](https://github.com/sshwy/hexo-theme-essence/blob/main/_config.yml) under `\u003cYourBlog\u003e/`, renaming it to `_config.essence.yml`. \n\nThen you can follow the comments to modify it just as you want :smile:.\n\nIf you use traditional way to install, Modifying `\u003cYourBlog\u003e/themes/essence/_config.yml` directly is also a way, but not recommended.\n\n## Builtin Tag Plugins\n\nEssence prepared some useful hexo tag plugins for you.\n\n### Codeforces User ID\n\nInserts a user handle with Codeforces-like color style.\n\n```\n{% codeforces rating_label @ username %}\n{% cf rating_label @ username %}\n```\n\n`rating_label` insensitively can be:\n\n- `lgm` for *legendary grand master*\n- `igm` for *international grand master*\n- `gm` for *grand master*\n- `im` for *international master*\n- `m` for *master*\n- `cm` for *candidate master*\n- `e` for *expert*\n- `s` for *specialist*\n- `p` for *pupil*\n- `unr` for *unrated*\n\nExamples:\n\n```\n{% codeforces im @ sshwyR %}\n{% cf im @ sshwyR %}\n```\n\n### Details Block\n\nProduce a HTML details block:\n\n```\n{% details [open] [@ title] %}\n[content]\n{% enddetails %}\n```\n\nExamples:\n\n```\n{% details open @ Default set to open %}\n\nDetails **Content**\n\n{% enddetails %}\n```\n\n```\n{% details @ Default set to close %}\n\nDetails **Content**\n\n{% enddetails %}\n```\n\n```\n{% details %}\n\nNo title\n\n{% enddetails %}\n```\n\n### Post Content Encrypt\n\nEncrypt part of your post with custom password.\n\n```\n{% enc password [hint] %}\n[content]\n{% endenc %}\n```\n\nExamples:\n\n```\n{% enc 123456 password: 123456 (space is not allowed in password but allowed in hint) %}\ntest\n{% enc 123456 123456 %}\nHi, there!\n{% endenc %}\n{% endenc %}\n```\n\n**known issue**: Can't work with markdown code fence block inside. solution: [hexo code block tag plugin](https://hexo.io/docs/tag-plugins.html#Code-Block)\n\n## Contributing :fountain_pen:\n\nPull requests are welcome. For major changes and feature requests, please open an issue first to discuss what you would like to change or request.\n\n## License :page_facing_up:\n\nView [LICENSE.md](./LICENSE.md) for detailed information.\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsshwy%2Fhexo-theme-essence.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fsshwy%2Fhexo-theme-essence?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshwy%2Fhexo-theme-essence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshwy%2Fhexo-theme-essence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshwy%2Fhexo-theme-essence/lists"}