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-bangumis

v1.0.9

Published

Hexo 番剧页面插件

Downloads

1,474

Readme

hexo-bangumis

介绍

为 Hexo 添加 Bangumi 追番页面,参考自 HCLonely/hexo-bilibili-bangumi.

特色功能

  • 使用 bgm.tv 的官方 API 来进行爬取,番剧更多,可用性更高
  • 支持数据缓存及番剧封面图本地化,防止因上游服务挂掉导致连锁效应,爬取好番剧后可纯离线场景下部署
  • 极端条件下可通过编辑文件来自定义番剧列表,可自定义添加 bgm.tv 没有的番剧
  • 总的来说,只要你爬取过这个番剧,那么就算将来 bgm.tv 上把这个番剧删掉了,你也可以继续使用这个番剧

预览

安装

在 Hexo 文件夹下执行:

$ npm install hexo-bangumis --save

配置

将下面的配置写入 站点 的配置文件 _config.yml 中:

bangumis:
  enable: true              # 是否启用
  path: bangumis/index.html # 生成追番页面的路径
  show: 1                   # 想看,在看,看完
  title: '追番列表'          # 标题
  quote: '生命不息,追番不止' # 格言
  color_meta: "#555"        # 追番项元数据的颜色
  color_summary: "#555"     # 追番项简介的颜色
  bgmtv_uid: mmdjiji        # bgm.tv的uid
  download_image: true      # 下载图片并使用本地图片,否则使用bgm.tv提供的网络图源
  image_level: c            # 图片高清等级 (l, c, m, s, g)
  lazyload: true            # 是否开启懒加载
  margin: 20px              # 封面图的偏移量微调

使用

更新追番数据:

$ hexo bangumis -u

删除追番数据:

$ hexo bangumis -d

获取 bgm.tv 的 uid

登录 bgm.tv 后打开控制台(快捷键 Ctrl + Shift + J),输入 CHOBITS_UID 后按回车,得到的数字就是 uid 啦~

Lisense

Apache Licence 2.0