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 🙏

© 2025 – Pkg Stats / Ryan Hefner

waline-cli

v1.1.0

Published

cli for waline independent deployment

Readme

waline-cli

waline-cli是一个用于一键独立部署的Waline 评论系统的命令行工具

安装

npm install -g waline-cli

使用方式

1. 初始化

waline init

执行该命令,选择 waline 评论系统的存储方式和填写环境变量(具体请查阅waline 官方文档-多数据库支持)。初始化完成后,会在用户主目录生成.waline-cli文件夹,里面有.env文件,该文件记录当前使用的存储方式及其对应的环境变量,后面需要调整可直接修改,重启服务生效。

2. waline 服务相关操作

waline-cli 内部使用 pm2 进行管理,提供以下命令用于管理 waline 服务

# 启动服务
waline start

# 停止服务
waline stop

# 重启服务
waline restart

# 查看服务状态
waline status

3. waline 服务开机自启动

# 启动服务,并设置为开机自启动(不支持windows)
waline start --startup

# 设置开机自启动(在自动服务后执行)
waline startup
# 移除开机自启动(仅移除pm2应用列表中的waline应用,如果使用pm2管理其他应用时会很有用)
waline unstartup
# 移除开机自启动(移除pm2 service自启动服务,如果使用pm2管理其他应用时,其他应用的自启动也会失效)
waline unstartup --remove-service

4. @waline/vercel 更新

# 查看当前使用@wline/vercel版本
waline vercel
waline vercel -V

# 更新@waline/vercel版本
waline vercel update

@waline/vercel 安装在 用户目录/.waline/node_modules

5. 查看 waline 服务实时日志

waline log

日志文件保存在.waline-cli/logs目录下,需要时可以查看

参考

  • 该项目参考于:https://github.com/loclink/waline-service
  • waline官方文档:https://waline.js.org/