個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Is it the Wi‑Fi or your ISP? Latency, jitter and packet loss to your router and the internet, side by side in the menu bar. Apple Silicon, macOS 27+.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗straylight shows how good your connection is from the menu bar: latency, jitter, and packet loss, to your router and to the internet, side by side. For Apple Silicon Macs.
Is it the Wi‑Fi, or the internet? straylight answers that at a glance.
straylight is a sibling to flatline. flatline shows how much traffic is moving; straylight shows its quality. It follows the same rules: one narrow job, Apple Silicon and macOS 27 only, no root helper, and close to zero cost when idle.
Status: 1.0 is out. See the CHANGELOG and the PRD.
straylight sends small ping packets (56 bytes) to the targets you choose: your router, 1.1.1.1 and 8.8.8.8 by default, plus 1.1.1.1 over IPv6 on networks that have it. That's one per target per second on power and one every 5 seconds on battery, briefly once a second after a network change or a lost ping. It stops while the screen is locked unless you turn on overnight monitoring. If a network blocks ping, it times a normal HTTPS connection instead. History stays on your Mac unless you export it.
Download the latest version from straylight.banast.as, open the DMG and drag straylight to Applications. It's signed and notarized, and updates itself.
Requires Xcode 27+ and XcodeGen.
brew install xcodegen
xcodegen generate
open Straylight.xcodeproj
Unit tests run without Xcode:
swift test --package-path Packages/StraylightKit
straylight-probe is a development tool for checking the probes against ping; it isn't part of the app:
swift run --package-path Packages/StraylightKit -c release straylight-probe -c 60 1.1.1.1
--monitor 120 runs the whole measuring pipeline for two minutes and prints the verdict and each target's stats after every round. Add --history file.sqlite to record history there, and --export file.sqlite 30 prints the CSV for the last 30 minutes. --tune file.sqlite 7 shows how often each "Bad" threshold would have fired over the last 7 days, for tuning them. Its source lists the other options.
The app reads a few environment variables for checking its drawing without clicking: STRAYLIGHT_SNAPSHOT=bar.png writes each menu bar image, STRAYLIGHT_POPOVER_SNAPSHOT=popover.png writes the popover after 15 seconds (STRAYLIGHT_POPOVER_PAGE=settings, first-run, paused or wifi picks what it shows), STRAYLIGHT_HISTORY=test.sqlite uses another history database, STRAYLIGHT_HOSTS=1.1.1.1,192.0.2.1 sets the internet hosts, STRAYLIGHT_ON_BATTERY=1 acts as if on battery, and STRAYLIGHT_LOCK_TEST=10,40 acts as if the screen locked at 10 s and unlocked at 40 s. The comments in StatusItemController.swift, AppModel.swift and SystemState.swift list the rest.
Debug builds are ad-hoc signed and run on any Mac. Release builds are signed with the maintainer's Developer ID: scripts/release.sh tests, archives, signs, notarizes and staples the app and a DMG in dist/ (--skip-notarize for a dry run), scripts/bump-version.sh 0.2.0 sets the next version, and scripts/deploy-site.sh publishes the site, the update feed and the releases (--no-deploy to assemble dist/site for a local look). STRAYLIGHT_FEED_URL=http://localhost:8000/appcast.xml points the app at a local feed, for testing an update without publishing, and STRAYLIGHT_POPOVER_TIMING=5 opens and closes the popover five times and logs how long each first frame took.
MIT. See LICENSE.