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

dsh-adb-logcat

v1.0.0

Published

Android Studio-style ADB logcat viewer for the DSH Web GUI: device list, live logcat streaming, level/tag/text filtering, level colors, floating and docked layouts, draggable height.

Readme

dsh-adb-logcat

DeepSeek Harness (DSH) Web GUI 的 Android Studio 风格 ADB logcat 查看器。

连接 ADB 设备,展示实时、可过滤、按等级配色的 logcat 面板——可悬浮于应用之上,也可停靠到聊天输入框下方,类似 Android Studio 底部工具窗。以正式可安装的 web 插件(宿主 + 浏览器两半)形式提供。

功能

  • 设备列表 — adb devices -l,自动刷新,显示序列号 / 状态 / 机型。
  • 实时日志流 — adb -s <serial> logcat -v threadtime -T 300,按行解析。
  • 等级过滤 — 默认显示全部;选中 V/D/I/W/E/F 后仅显示所选级别。
  • 文本 / 标签过滤 — 关键字或正则,附带等级配色图例。
  • 等级配色 — V 灰 / D 蓝 / I 绿 / W 橙 / E 红 / F 亮红(主题自适应)。
  • 布局 — 悬浮(右下角胶囊)或停靠到聊天输入框下方。
  • 可调高度 — 拖拽面板上边缘放大/缩小日志区。
  • 选项 — wrap 自动换行、full-width 占满宽度、auto-scroll。
  • 自动采集 — 面板打开即开始(有设备时)。

依赖

  • 宿主 PATH 上有 adb(Android platform-tools)。
  • 已开启 USB 调试的设备(或已授权的模拟器)。

安装

dsh plugin --profile web add dsh-adb-logcat

随后重启 dsh web。

本地开发安装

dsh plugin --profile web add link:/path/to/dsh-adb-logcat

使用

  1. 点开右下角「ADB Logcat」胶囊。
  2. 选择设备(有设备时自动选中)——自动开始采集。
  3. 用等级芯片、文本 / 标签过滤,以及 wrap / full-width / auto-scroll 开关。
  4. 「Dock」把面板停靠到输入框下方,「Float」切回悬浮。

安全

  • 宿主半侧只挂载 loopback-only 的 HTTP 网关(/api/logcat/*),远程浏览器返回 403。
  • 设备访问全部走宿主的 subprocess 服务(无 shell 字符串拼接)。

License

MIT