{"id":15019084,"url":"https://github.com/renovamen/vuepress-theme-gungnir","last_synced_at":"2025-05-16T06:06:32.440Z","repository":{"id":37038075,"uuid":"304224843","full_name":"Renovamen/vuepress-theme-gungnir","owner":"Renovamen","description":"A blog theme for VuePress 2.","archived":false,"fork":false,"pushed_at":"2024-08-19T09:47:05.000Z","size":21827,"stargazers_count":368,"open_issues_count":18,"forks_count":76,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T15:01:40.066Z","etag":null,"topics":["blog","chartjs","giscus","katex","mermaid","vue","vue3","vuepress","vuepress-next","vuepress2"],"latest_commit_sha":null,"homepage":"https://v2-vuepress-theme-gungnir.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Renovamen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2020-10-15T05:58:44.000Z","updated_at":"2025-03-17T02:25:50.000Z","dependencies_parsed_at":"2022-06-25T10:04:45.142Z","dependency_job_id":"da3df3b4-2c29-4b9e-b9a1-50f16fb8732a","html_url":"https://github.com/Renovamen/vuepress-theme-gungnir","commit_stats":{"total_commits":195,"total_committers":11,"mean_commits":"17.727272727272727","dds":0.09743589743589742,"last_synced_commit":"54e5e7f6455a8880325c2c583de6dcf4b4e0138f"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2Fvuepress-theme-gungnir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2Fvuepress-theme-gungnir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2Fvuepress-theme-gungnir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2Fvuepress-theme-gungnir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Renovamen","download_url":"https://codeload.github.com/Renovamen/vuepress-theme-gungnir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478190,"owners_count":22077676,"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":["blog","chartjs","giscus","katex","mermaid","vue","vue3","vuepress","vuepress-next","vuepress2"],"created_at":"2024-09-24T19:52:57.435Z","updated_at":"2025-05-16T06:06:27.431Z","avatar_url":"https://github.com/Renovamen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gungnir V2\n\n[![npm](https://img.shields.io/npm/v/vuepress-theme-gungnir/next.svg?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/vuepress-theme-gungnir/v/next) [![docs](https://img.shields.io/badge/Docs-Gungnir-26A2FF?style=flat-square)](https://v2-vuepress-theme-gungnir.vercel.app/docs/) [![license](https://img.shields.io/badge/License-Apache--2.0-green?style=flat-square)](LICENSE) [![awesome-vuepress](https://cdn.jsdelivr.net/gh/sindresorhus/awesome@a7b5b7805ecc00b3396acb35022cf6e2c0699e03/media/badge-flat.svg)](https://github.com/vuepress/awesome-vuepress/blob/main/v2.md#themes)\n\nA blog theme for [VuePress 2](https://v2.vuepress.vuejs.org/), **WIP**. \n\n**Gungnir** is the spear of the god Odin in Norse mythology.\n\n![preview](https://raw.githubusercontent.com/Renovamen/vuepress-theme-gungnir/main/docs/.vuepress/public/img/docs/gungnir.jpg)\n\n\n\u0026nbsp;\n\n## Features\n\n- Simple and beautiful\n- Responsive design\n- Multi-level navigation\n- Switchable cover images for home page\n- Dark and light mode: system theme detection with a theme-switcher to set the theme as per the user preference\n- Search\n- Table of contents\n- Full screening the code blocks (inspired by WordPress theme [Sakura](https://github.com/mashirozx/Sakura))\n- Tex support ([Katex](https://github.com/KaTeX/KaTeX))\n- Draw charts and graphs in Markdown easily: [Chart.js](https://www.chartjs.org), [Mermaid](https://mermaid-js.github.io)\n- Markdown enhancements:\n  - Footnote ([markdown-it-footnote](https://github.com/markdown-it/markdown-it-footnote))\n  - Mark ([markdown-it-mark](https://github.com/markdown-it/markdown-it-mark))\n- Analytics ([Google Analytics](https://analytics.google.com/) and [Baidu Tongji](https://tongji.baidu.com/))\n- Comment ([Giscus](https://github.com/giscus/giscus))\n- RSS\n- Reading time\n- Multi-language support (English, Simplified Chinese)\n- Archive page with tags and links page\n\nTODO:\n\n- [roughViz.js](https://github.com/jwilber/roughViz) and [markmap](https://github.com/gera2ld/markmap)\n\n\n\u0026nbsp;\n\n## Installation\n\nPlease make sure you are using the latest version of VuePress (2.0.0-beta.49) and theme Gungnir.\n\n```bash\npnpm install -D vuepress vuepress-theme-gungnir@next\n```\n\n\n\u0026nbsp;\n\n## Documentation \u0026 Live Demos\n\n- Documentation: [v2-vuepress-theme-gungnir.vercel.app](https://v2-vuepress-theme-gungnir.vercel.app)\n- My blog: [blog.zxh.io](https://blog.zxh.io)\n\n\n\u0026nbsp;\n\n## Plugins\n\nThis repository also contains the following plugins:\n\n- [plugin-giscus](packages/plugins/giscus): use [Giscus](https://github.com/giscus/giscus) (a comments system powered by [GitHub Discussions](https://docs.github.com/en/discussions)) in Vuepress 2\n- [plugin-katex](packages/plugins/katex): [KaTeX](https://katex.org/)\n- [plugin-chart](packages/plugins/chart): [Chart.js](https://www.chartjs.org)\n- [plugin-mermaid](packages/plugins/mermaid): [Mermaid](https://mermaid-js.github.io)\n- [plugin-reading-time](packages/plugins/reading-time): word count and reading time\n- [plugin-baidu-tongji](packages/plugins/baidu-tongji): [百度统计](https://tongji.baidu.com/)\n- [plugin-rss](packages/plugins/rss): RSS\n- [plugin-code-enhance](packages/plugins/code-enhance): full-screen and ~~copy~~ button for code blocks\n- [plugin-search](packages/plugins/search): edit [@vuepress/plugin-search](https://github.com/vuepress/vuepress-next/tree/main/packages/%40vuepress/plugin-search) to make it compatible with Gungnir\n\n\n\u0026nbsp;\n\n## Changes (v0 -\u003e v2)\n\n- With the power of [VuePress 2](https://v2.vuepress.vuejs.org/), [Vue 3](https://v3.vuejs.org/), [Vite](https://vitejs.dev/) and [Webpack 5](https://webpack.js.org/), written using [Composition API](https://v3.vuejs.org/guide/composition-api-introduction.html), of course\n- Stylus -\u003e SCSS\n- Drop external fonts to increase load speed\n- Built-in comments system: move from [Vssue](https://github.com/meteorlxy/vssue) (doesn't support VuePress 2 yet) to [Giscus](https://github.com/giscus/giscus)\n\n\n\u0026nbsp;\n\n## Contribution\n\nSee [Contributing Guide](CONTRIBUTING.md).\n\n\n\u0026nbsp;\n\n## Other Versions\n\nNo further update expected for the following previous versions:\n\n- [VuePress 1 theme](https://github.com/Renovamen/vuepress-theme-gungnir/tree/v0)\n- [Jekyll theme](https://github.com/Renovamen/jekyll-theme-gungnir)\n\n\n\u0026nbsp;\n\n## License\n\nVuePress theme Gungnir is [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) licensed, see the [LICENSE](LICENSE) file for details.\n\nPlugins are licensed by MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenovamen%2Fvuepress-theme-gungnir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenovamen%2Fvuepress-theme-gungnir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenovamen%2Fvuepress-theme-gungnir/lists"}