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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@waline-tscf/starter

v1.0.0-beta.3

Published

Waline-TSCF starter —— Tencent SCF starter template for quick Serverless deployments

Readme

waline-tscf-starter

waline-tscf的腾讯云SCF快速部署模板。

waline-tscf:一个基于 Waline 的评论系统,专为 腾讯云函数 SCF 部署场景优化,增强后端性能,优化个人博客的前端样式。

主要特性

  • 前端:admin/client
    • 样式定制:更改默认主题,定制个人博客样式
  • 后端:server
    • SCF支持:适配腾讯云Serverless应用中心运行环境,提供快速部署模板
    • 功能增强:优化注册登录及邮件通知逻辑,支持通过环境变量输出多维度日志记录
    • 隐私保护:针对QQ邮箱头像获取,采用AES-256-GCM加密(需部署waline-tscf-avatar服务)
    • 性能优化:通过依赖懒加载提升冷启动速度,结合缓存与map策略优化热启动性能
    • 资源加速:采用 jsDelivr 提供CDN加速,针对性优化MongoDB的连接性能

快速部署

方法一:CLI快速部署

待完善

方法二:控制台创建

待完善

配置

关于Waline更多的配置项,可查看 服务端配置

SCF VS TCB

Waline官方:支持腾讯云开发CloudBase部署,包月套餐计费,目前月费最低19.9原价39.9。 Waline-tscf:支持腾讯云Serverless应用中心部署,按需计费,费用更低。

|服务名称|Serverless应用中心|云开发CloudBase| |---|:---:|:---:| |官方分类|计算-Serverless|开发运维-低代码平台| |官方说明| Serverless应用开发管理平台提供云函数、COS、DB等资源的快速部署配置。|云原生一体化开发环境和工具平台包含计算、存储、托管等 Serverless 化能力。| |差异分析|联动腾讯云函数、COS等,简化相关云产品的配置部署流程,计费规则详见产品概述。|独立一体化的云开发环境,与同类腾讯云产品的功能特性不相通,计费规则详见产品概述。 |免费计划(新用户)|云函数:3个月标准版/高级版(二选一,不包含web函数响应流量计费)COS:6个月50GB标准存储容量包(不包含请求、外网下行流量费用)|个人版环境:1个月体验权益(超出套餐配额当月可按量付费或升配)

配置与性能费用分析

仅供参考,记录时长均为测试最大值,未包含网络延时,腾讯云SCF网络响应在200ms左右。

|配置内存(SCF)|冷启动时长(Waline)|冷启动时长(waline-tscf)|热启动时长(Waline)|热启动时长(waline-tscf)|费用分析(waline-tscf)| |---|:---:|:---:|:---:|:---:|:---:| |128MB|32537ms|31245ms|3977ms|4-15ms|3.7| |256MB|17579m|16715ms|3413ms|4-11ms|3.8| |384MB|14334ms|10963ms|2743ms|4-11ms|4.1| |512MB|12043ms|8418ms|2474ms|4-10ms|4.0| |640MB|11008ms|7614ms|2362ms|4-10ms|| |768MB|10829ms|7146ms|2178ms|4-9ms|| |896MB|7051ms|6923ms|2105ms|4-8ms|| |1024MB|6288ms|5610ms|2011ms|4-7ms|5.7|

参考