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

@kongliu/hexo-theme-vivia

v0.5.0

Published

A theme for Hexo

Downloads

1

Readme

预览

💻在线预览

home

home_dark

安装说明

[!NOTE] 下列指令均在 Hexo 博客根目录下执行

1. 安装主题

通过 npm 安装(推荐)

npm install hexo-theme-vivia

通过 Git 安装

# 将主题下载至 /themes/vivia 目录
git clone https://github.com/saicaca/hexo-theme-vivia.git themes/vivia
  
# 安装主题的依赖
npm install colorjs.io stylus hexo-symbols-count-time

2. 创建主题配置文件

将主题的示例配置文件复制至 Hexo 根目录:

  • 若通过 npm 安装,文件位于 node_modules/hexo-theme-vivia/example_zh_CN_config.vivia.yml
  • 若通过 Git 安装,文件位于 themes/vivia/example_zh_CN_config.vivia.yml

复制后,将文件重命名为 _config.vivia.yml

3. 自定义主题

修改 _config.vivia.yml 填写自定义配置。

4. 将 vivia 设置为主题

hexo config theme vivia

5. 创建 about 页面

hexo new page about

6. 禁用归档页面的分页

修改 _config.yml 填写下列配置:

archive_generator:
  per_page: 0

若不添加此配置归档页最多只能显示 10 篇文章。

To-do

  • [x] 亮 / 暗模式
  • [x] 自定义主题色
  • [x] 自定义头图
  • [x] 响应式设计
  • [x] 评论
    • [x] Valine
    • [x] Twikoo
    • [ ] 其他
  • [ ] 搜索
  • [ ] 文内目录插件

致谢