{"id":14967569,"url":"https://github.com/litreily/hexo-theme-snark","last_synced_at":"2025-10-25T20:31:29.005Z","repository":{"id":77886381,"uuid":"145723118","full_name":"Litreily/hexo-theme-snark","owner":"Litreily","description":"An hexo theme with lofter style","archived":false,"fork":false,"pushed_at":"2021-01-26T00:41:52.000Z","size":451,"stargazers_count":76,"open_issues_count":6,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T08:14:23.685Z","etag":null,"topics":["blog","hexo-theme","lofter-style","pug","snark-hexo","theme"],"latest_commit_sha":null,"homepage":"https://www.litreily.top","language":"SCSS","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/Litreily.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}},"created_at":"2018-08-22T14:47:42.000Z","updated_at":"2025-10-18T15:19:53.000Z","dependencies_parsed_at":"2023-03-12T02:23:41.808Z","dependency_job_id":null,"html_url":"https://github.com/Litreily/hexo-theme-snark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Litreily/hexo-theme-snark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litreily%2Fhexo-theme-snark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litreily%2Fhexo-theme-snark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litreily%2Fhexo-theme-snark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litreily%2Fhexo-theme-snark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Litreily","download_url":"https://codeload.github.com/Litreily/hexo-theme-snark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litreily%2Fhexo-theme-snark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281015483,"owners_count":26430093,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"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":["blog","hexo-theme","lofter-style","pug","snark-hexo","theme"],"created_at":"2024-09-24T13:38:17.195Z","updated_at":"2025-10-25T20:31:28.650Z","avatar_url":"https://github.com/Litreily.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-theme-snark\n\nAn hexo theme with lofter style, it's very simple and cool!\n\n## Features\n\n- Baidu Analytics\n- Code Highlight\n    - Google Code Prettify\n    - Highlight.js (`default`)\n- Comment System (Only Valine as for now)\n- General pages\n  - Archives\n  - Categories\n  - Tags\n- Copyright Notice\n- Fancybox image viewer\n- Fontawesome v4.7.0 icons\n- Local Search\n- Suitable for screens of different sizes\n\n## Installation\n\n``` sh\ngit clone https://github.com/litreily/hexo-theme-snark.git themes/snark\nnpm install hexo-renderer-pug --save\nnpm install hexo-renderer-sass --save\n```\n\nthen disable default highlight in blog/_config.yml\n\n``` yml\nhighlight:\n  enable: false\n  line_number: false\n  auto_detect: false\n  tab_replace:\n```\n\n### Add General Pages\n\nFor beginner of `hexo`, you may need to know how to create general pages like `archives`, `categories`, `tags` and so on. If you already know that, please skip this step.\n\n```bash\nhexo new page archives\nhexo new page categories\nhexo new page tags\nhexo new page about\n```\n\nRunning above commands and you will get result as below (hidden something not related).\n\n```bash\n$ tree -L 2 source\nsource\n├── _posts\n├── about\n│   └── index.md\n├── archives\n│   └── index.md\n├── categories\n│   └── index.md\n├── index.md\n└── tags\n    └── index.md\n```\n\n### Optional\n\nYou may need install some hexo plugins as below\n\n- `npm install hexo-generator-feed --save` for RSS\n- `npm install hexo-generator-search --save` for local search\n- `npm install hexo-generator-sitemap --save` for sitemap\n\nYou can add your customized css to `source/css/customize.scss`, then it will be load to `head` of blog\n\n### Comment System\n\n- [Valine](https://valine.js.org/) please modify valine parameters in `_config.xml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitreily%2Fhexo-theme-snark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitreily%2Fhexo-theme-snark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitreily%2Fhexo-theme-snark/lists"}