Native Shell
Native Shell:AI 生成的 UI,在你的应用中原生呈现,覆盖每个平台。iOS、Android、macOS、Windows 与 Linux 上的应用、GPUI 应用与网页在运行时加载已签名、沙箱隔离的 TSX 模块并绘制 th
AI 翻译
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Janus - see every door open on your machine. macOS menu bar app for monitoring localhost ports.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A lightweight macOS menu bar app that monitors all active localhost ports. See what's running, kill what you don't need - one click away.
Janus is the Roman god of doorways, gates, and transitions - fitting for an app that watches every port open on your machine. Previously released as LocalPorts; renamed in v1.0.0 (favorites are migrated automatically on first launch).
.git, package.json, Gemfile, composer.json, go.mod)lsof call per scan, working directories read natively; under 2% of one CPU core on average while idleDownload the latest .zip from Releases, unzip, and drag Janus.app to /Applications.
Janus is open source and not notarized by Apple, so macOS asks for confirmation on first launch:
Janus.app and choose Open.xattr -dr com.apple.quarantine /Applications/Janus.appgit clone https://github.com/carloscostadev/janus.git
cd janus
./scripts/build.sh
npm doesn't respawn node; never a group led by an app such as your editor), waits up to 3 s, then sends SIGKILL if the same process is still alive. It then checks who listens on the port.PORT), in the background. It reports success once something listens on the port again (up to 15 s)./dev/null; and the parent process. When npm run dev or a wrapper script started the server, Restart relaunches the server itself (e.g. node server.js), not npm or the script. Processes of other users and system processes are never signalled.Tested with real servers (JANUS_RESTART_E2E=1 swift test --filter RestartE2ETests): python3 -m http.server, node server.js reading PORT, npm run dev, and a shell script whose child holds the port all restart and listen again under a new PID.
# Open in Xcode (with SwiftUI previews)
open Package.swift
# Run the tests
swift test
# Popover snapshots (light and dark) and real restarts of local dev servers
JANUS_SNAPSHOT_DIR=/tmp/janus-snapshots swift test --filter SnapshotTests
JANUS_RESTART_E2E=1 swift test --filter RestartE2ETests
# Or build, install to /Applications and run from terminal
./scripts/dev.sh