npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-butterfly-git-gitcalendar

v1.1.0

Published

A git commit calendar plugin for hexo

Downloads

7

Readme

说明

  当前 npm 包,是对hexo-filter-gitcalendar包的功能升级。

新增功能:git 提交日历 可以跟随主题模式进行变化。

安装

npm i hexo-butterfly-git-gitcalendar

使用

  在博客根目录的_config.yml文件中添加如下配置信息:

# hexo-butterfly-git-gitcalendar
gitcalendar:
  enable: true # 开关
  priority: 5 #过滤器优先权
  enable_page: / # 应用页面
  # butterfly挂载容器
  layout: # 挂载容器类型
    type: id
    name: recent-posts
    index: 0
  user: Lencamo # 你的github用户名
  apiurl: 'https://gitcalendar.zfe.space' # 使用自己部署api,详见:https://github.com/Zfour/python_github_calendar_api
  minheight:
    pc: 280px #桌面端最小高度
    mibile: 0px #移动端最小高度
  color_light: # light 亮色主题配色,见后面
  color_dark: # dark 暗色主题配色,见后面
  container: .recent-post-item(style='width:100%;height:auto;padding:10px;') #父元素容器,需要使用pug语法
  gitcalendar_css: https://unpkg.zhimg.com/hexo-filter-gitcalendar/lib/gitcalendar.css
  gitcalendar_js: https://unpkg.zhimg.com/hexo-filter-gitcalendar/lib/gitcalendar.js

  更多配置可以查看hexo-filter-gitcalendar

配色推荐

  以下配色抓取与 github:

  • light 亮色主题
color_light: "['#f1f3f4','#ffdacf','#ffb9a5','#f79981','#ec775c','#de5b41','#c2442d','#a93524','#8d291b','#771d13','#5d1008']" # github 的 --color-scale-coral 系列
color_light: "['#f1f3f4','#ffd7eb','#ffb3d8','#fc8dc7','#e275ad','#c96198','#ae4c82','#983b6e','#7e325a','#69264a','#551639']" # github 的 --color-scale-pink 系列
color_light: "['#f1f3f4','#eedcff','#dcbdfb','#dcbdfb','#b083f0','#986ee2','#8256d0','#6b44bc','#5936a2','#472c82','#352160']" # github 的 --color-scale-purple 系列
color_light: "['#f1f3f4','#ffd8d3','#ffb8b0','#ff938a','#f47067','#e5534b','#c93c37','#ad2e2c','#922323','#78191b','#5d0f12']" # github 的 --color-scale-red 系列
color_light: "['#f1f3f4','#ffddb0','#ffbc6f','#f69d50','#e0823d','#cc6b2c','#ae5622','#94471b','#7f3913','#682d0f','#4d210c']" # github 的 --color-scale-orange 系列
color_light: "['#f1f3f4','#fbe090','#eac55f','#daaa3f','#c69026','#ae7c14','#966600','#805400','#6c4400','#593600','#452700']" # github 的 --color-scale-yellow 系列
color_light: "['#f1f3f4','#b4f1b4','#8ddb8c','#6bc46d','#57ab5a','#46954a','#347d39','#2b6a30','#245829','#1b4721','#113417']" # github 的 --color-scale-green 系列
color_light: "['#f1f3f4','#c6e6ff','#96d0ff','#6cb6ff','#539bf5','#4184e4','#316dca','#255ab2','#1b4b91','#143d79','#0f2d5c']" # github 的 --color-scale-blue 系列
color_light: "['#f1f3f4','#cdd9e5','#adbac7','#909dab','#768390','#636e7b','#545d68','#444c56','#373e47','#2d333b','#22272e']" # github 的 --color-scale-gray 系列
  • dark 暗色主题
color_dark: "['#2d333b','#5d1008','#771d13','#8d291b','#a93524','#c2442d','#de5b41','#ec775c','#f79981','#ffb9a5','#ffdacf']" # github 的 --color-scale-coral 系列
color_dark: "['#2d333b','#551639','#69264a','#7e325a','#983b6e','#ae4c82','#c96198','#e275ad','#fc8dc7','#ffb3d8','#ffd7eb']" # github 的 --color-scale-pink 系列
color_dark: "['#2d333b','#352160','#472c82','#5936a2','#6b44bc','#8256d0','#986ee2','#b083f0','#dcbdfb','#dcbdfb','#eedcff']" # github 的 --color-scale-purple 系列
color_dark: "['#2d333b','#5d0f12','#78191b','#922323','#ad2e2c','#c93c37','#e5534b','#f47067','#ff938a','#ffb8b0','#ffd8d3']" # github 的 --color-scale-red 系列
color_dark: "['#2d333b','#4d210c','#682d0f','#7f3913','#94471b','#ae5622','#cc6b2c','#e0823d','#f69d50','#ffbc6f','#ffddb0']" # github 的 --color-scale-orange 系列
color_dark: "['#2d333b','#452700','#593600','#6c4400','#805400','#966600','#ae7c14','#c69026','#daaa3f','#eac55f','#fbe090']" # github 的 --color-scale-yellow 系列
color_dark: "['#2d333b','#113417','#1b4721','#245829','#2b6a30','#347d39','#46954a','#57ab5a','#6bc46d','#8ddb8c','#b4f1b4']" # github 的 --color-scale-green 系列
color_dark: "['#2d333b','#0f2d5c','#143d79','#1b4b91','#255ab2','#316dca','#4184e4','#539bf5','#6cb6ff','#96d0ff','#c6e6ff']" # github 的 --color-scale-blue 系列
color_dark: "['#2d333b','#22272e','#2d333b','#373e47','#444c56','#545d68','#636e7b','#768390','#909dab','#adbac7','#cdd9e5']" # github 的 --color-scale-gray 系列