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

@evarentha/linearpress-advanced-posts-list

v3.0.0

Published

为文章管理提供筛选、分页、批量操作、WordPress 风格快速编辑,以及可管理的分类标签:自动 slug、默认未分类、删除后文章自动转未分类,集成 modern-editor 发布二次确认侧边栏。

Readme

高级文章列表(advanced-posts-list)

LinearPress npm Node.js TypeScript License: GPL-3.0-or-later

English | 简体中文

advanced-posts-list 是一个 LinearPress 后端插件,将后台文章管理页替换为 WordPress 风格的工作台:筛选、带状态统计的分页列表、批量操作、行级快速编辑,以及配套的受管分类系统、自由文本标签与置顶功能。本插件不包含前台页面;所需权限(post:edit、post:delete)为基础权限,在 manifest 中声明。

安装

git clone https://github.com/Evarentha/linearpress-advanced-posts-list.git src/plugins/advanced-posts-list

目录名必须与插件 id 一致,安装后需重启 LinearPress。也可以在 base 检出中执行 sh scripts/sync-plugins.sh advanced-posts-list,或在后台插件页上传 ZIP、填写 npm 包名。

列表

支持按关键词、状态、分类、日期筛选;日期筛选的选项列出最近 12 个月,并提供逐整年选项。每页显示 20 篇文章,各页均附带状态计数。可对选中行执行批量发布、批量转为草稿、移入回收站。快速编辑直接在行内展开,涵盖标题、别名、日期、作者、状态、标签、分类与置顶标记,无须离开列表即可保存。

分类与标签

分类在 /admin/posts/advanced-categories 管理(侧栏入口「分类标签」),支持新建、重命名、删除,每行显示文章数与别名。别名依据名称自动生成,中文同样支持,重名时追加 -2、-3 后缀。默认的「未分类」始终存在;删除某分类时,其下文章自动转回未分类。标签保持自由文本形式。

上述功能不改动任何核心表。四张插件表承载全部数据:apl_categories、apl_post_categories、apl_post_terms(标签)、apl_post_options(置顶)。从 v1.0.0 升级无须任何手动操作,激活时旧的自由文本分类将自动迁入 apl_categories。

与 modern-editor 的联动

安装 modern-editor 后,其发布确认抽屉将增加分类选择块。抽屉与列表筛选均从 GET /admin/posts/advanced-categories/data 获取分类集合;一个 post:afterSave Hook 从基于 AsyncLocalStorage 的请求级暂存中读取抽屉选定的分类并持久化。该联动未修改编辑器任何代码;未安装 modern-editor 时自动跳过,其余功能不受影响。

备注

本插件仅覆盖 GET /admin/posts 一条路由。批量操作提交至 /admin/posts/advanced-bulk,需要 post:edit 与 post:delete(涉及移入回收站);列表、快速编辑、分类管理仅需 post:edit。保存仍经由基础文章服务及其 Hook,其他挂在发文流程上的插件不受影响。

许可证

本项目以 GPL-3.0-or-later 许可发布,Copyright (C) 2026 Evarentha,完整文本见 LICENSE。