{"_id":"@ailuntz/minibridge","name":"@ailuntz/minibridge","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.3":{"name":"@ailuntz/minibridge","version":"0.1.3","description":"A small, host-local CLI for managing FRP server and client services","type":"module","bin":{"ailuntz-minibridge":"bin/minibridge.mjs"},"engines":{"node":">=20.0.0"},"license":"Apache-2.0","publishConfig":{"access":"public"},"_id":"@ailuntz/minibridge@0.1.3","_integrity":"sha512-ZnPj9MZiJY7rP7aHEHXZVGpnfFrUCITnM4vFAHmgJIlRZFAOMKcbsIv3AqeU7x7JofkddjfLAncJxOKXTOYjvw==","_resolved":"/Volumes/usb_main/home/index_archive/minibridge/dist/ailuntz-minibridge-0.1.3.tgz","_from":"file:/Volumes/usb_main/home/index_archive/minibridge/dist/ailuntz-minibridge-0.1.3.tgz","_nodeVersion":"26.7.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-ZnPj9MZiJY7rP7aHEHXZVGpnfFrUCITnM4vFAHmgJIlRZFAOMKcbsIv3AqeU7x7JofkddjfLAncJxOKXTOYjvw==","shasum":"9a5600b89299f009b765a3bd3b5efebb15750078","tarball":"https://registry.npmjs.org/@ailuntz/minibridge/-/minibridge-0.1.3.tgz","fileCount":15,"unpackedSize":94782,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1rPSBUf6kakHVtl9kJqrIXoMUv9RhR/lFYqwjqIoCwQIhALqU9hDwKdleFobBl18YUwJwlD3ENc68tJg0a0E3NNtT"}]},"_npmUser":{"name":"ailuntz","email":"ailuntz@icloud.com"},"directories":{},"maintainers":[{"name":"ailuntz","email":"ailuntz@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/minibridge_0.1.3_1788974446886_0.20576130665409154"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-09T17:20:46.724Z","0.1.3":"2026-09-09T17:20:47.010Z","modified":"2026-09-09T17:20:47.193Z"},"maintainers":[{"name":"ailuntz","email":"ailuntz@icloud.com"}],"description":"A small, host-local CLI for managing FRP server and client services","license":"Apache-2.0","readme":"# @ailuntz/minibridge\n\nSmall lifecycle manager for official [frp](https://github.com/fatedier/frp) binaries.\nIt downloads the pinned release for the current platform, verifies SHA-256,\nvalidates TOML with `frps verify` or `frpc verify`, and owns only the service\nfiles it created.\n\n```bash\nnpm install -g @ailuntz/minibridge\n\nsudo ailuntz-minibridge server install\nsudo ailuntz-minibridge server apply --config-file ./frps.toml\nsudo ailuntz-minibridge server status\n\nsudo ailuntz-minibridge client install --instance relay-a\nsudo ailuntz-minibridge client apply --instance relay-a --config-file ./frpc.toml\nsudo ailuntz-minibridge client status --instance relay-a\n```\n\nLinux uses systemd, macOS uses a system LaunchDaemon, and Windows clients use a\nSYSTEM scheduled task. Server mode is intentionally unavailable on Windows.\nCommands return one JSON object on stdout; diagnostics go to stderr.\n`status` reports `enabled` separately from `active`; `healthy` is true only\nwhen the managed service is installed, configured, running, and enabled for\nthe next system startup.\n\n`stop` ends the current FRP process but intentionally leaves startup enabled,\nso the service can return after a reboot. Use the role's `uninstall` command\nfor durable removal. A successful `stop`, configuration replacement, or\n`uninstall` confirms the managed process has stopped before destructive cleanup;\nif the operating-system service state cannot be confirmed, the command fails\nand retains the managed files for a safe retry. Removing this npm package (or a\nseparate controller app) by itself does not uninstall FRP services on managed\nhosts.\n\nThe package does not bundle a modified FRP binary. It downloads the pinned\nofficial release from GitHub and rejects checksum mismatches.\n\nThe executable is deliberately named `ailuntz-minibridge`; Linux already ships an\nunrelated `/usr/sbin/bridge` command with iproute2, so this package does not\ninstall a conflicting `bridge` alias.\n\nLicensed under Apache-2.0.\n\n新包只安装 `ailuntz-minibridge`，可与旧 `@ailuntz/bridge` 包及其 `ailuntz-bridge` 命令共存，避免全局命令冲突。现有机器上的 bridge 安装目录、系统服务标识和所有权元数据沿用原格式。可用 `MINIBRIDGE_SYSTEM_ROOT` 指定测试根目录，也兼容 `BRIDGE_SYSTEM_ROOT`。\n","readmeFilename":"README.md","_rev":"1-dbfd4d6ab310a85df7aa6593a9745aa0"}