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

@flowerrealm/realms

v0.19.1

Published

Install & run Realms personal app (realms-app) via npm

Readme

realms (npm)

通过 npm 全局安装并运行 Realms 的 personal App(realms-app)。

安装

npm install -g @flowerrealm/realms

安装完成后会自动下载对应平台的 realms-app(来自 GitHub Releases),并提供命令 realms

运行

realms

默认行为与 realms-app 一致(personal 模式、SQLite、本地启动后在日志中提示访问 /login 的地址;不自动打开浏览器)。

重设管理 Key

重设 personal 模式“管理 Key”(用于解锁 /login / 管理面):

realms --set --key "NEW_KEY"

环境变量

  • REALMS_APP_BASE_URL:下载源前缀(默认:https://github.com/FlowerRealm/realms/releases/download
  • REALMS_APP_VERSION:强制下载的版本(例如 v0.16.0
  • REALMS_APP_SKIP_DOWNLOAD=1:跳过下载(你自行放置二进制)
  • REALMS_APP_BIN:直接指定要运行的 realms-app 路径(跳过下载与 vendor 查找)
  • REALMS_APP_SKIP_CHECKSUM=1:跳过 sha256 校验(不推荐)

故障排查

  1. 如果你安装时用了 --ignore-scripts(或环境禁用了 scripts),postinstall 不会执行:请重新安装或手动运行:
node "$(npm root -g)/realms/scripts/postinstall.js"
  1. 下载失败:可配置 REALMS_APP_BASE_URL 指向镜像/CDN,并重试安装。