@devicefarmer/minirev-prebuilt

中文文档
1.0.1发布于 2026/10/24Apache-2.0零依赖构建来源已验证近 30 天下载 2627

Prebuilt binaries of minirev.

原始使用文档
文档目录4 节
  1. Building
  2. Releasing
  3. Contributing
  4. License

minirev

Minirev is a minimal reverse port forwarding implementation for Android. It works without root when run via ADB and should work on pretty much any SDK level.

Building

Building requires NDK, and is known to work with at least with NDK Revision 10 (July 2014).

Then it's simply a matter of invoking ndk-build.

ndk-build

You should now have the binaries available in ./libs.

Releasing

The binaries are published to npm as @devicefarmer/minirev-prebuilt by two GitHub Actions workflows:

  1. Run Prepare release with the version as input, for example 1.1.0. It bumps package.json, writes the CHANGELOG.md section from GitHub's generated notes, and pushes release/v1.1.0. It writes nothing to master.
  2. Open the pull request it links to in the job summary, label it ignore-for-release, and merge it once the checks pass.
  3. Run Release on master with the same version. It tags v1.1.0, publishes the GitHub release with the notes from CHANGELOG.md, then builds the binaries and publishes them to npm with trusted publishing (OIDC), so no npm token is stored anywhere.

The bump goes through a pull request because master is protected. Release refuses to run on any branch but master, so an unmerged release/v* branch cannot be published.

Contributing

See CONTRIBUTING.md.

License

See LICENSE.

Copyright © CyberAgent, Inc. All Rights Reserved.

版本与发布记录

@devicefarmer/minirev-prebuilt 共发布 2 个版本,首次发布于 2026/08/15;过去 12 个月发布了 2 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.0.1latest2026/10/2419 天前
1.0.02026/08/152 个月前

关于 @devicefarmer/minirev-prebuilt 的常见问题

@devicefarmer/minirev-prebuilt 是什么?

Prebuilt binaries of minirev.

如何安装 @devicefarmer/minirev-prebuilt?

在项目目录运行 npm install @devicefarmer/minirev-prebuilt,或使用 pnpm add / yarn add / bun add。

@devicefarmer/minirev-prebuilt 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/devicefarmer__minirev-prebuilt 是否存在。

@devicefarmer/minirev-prebuilt 可以商用吗?

@devicefarmer/minirev-prebuilt 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@devicefarmer/minirev-prebuilt 的下载量有多少?

根据 npm 官方下载统计,@devicefarmer/minirev-prebuilt 在 2026/10/12 – 2026/11/10 这 30 天内被下载 2,627 次,日均约 88 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@devicefarmer/minirev-prebuilt 还在维护吗?

最新版本 1.0.1 发布于 2026/10/24(19 天前);至今共发布 2 个版本,其中过去 12 个月发布了 2 个;首次发布于 2026/08/15。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。