# 用 whereami 和 nearme 在 macOS 上找中间点

Original title: Let's Meet in the Middle

> Hacker News story 50577534 · language: zh · submitted 2026-11-20
> Web version: https://zeli.app/zh/story/50577534
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 85 · by [evakhoury](<https://news.ycombinator.com/user?id=evakhoury>) · 💬 11
[original](<https://george.mand.is/2026/11/lets-meet-in-the-middle/>) · [HN discussion](<https://news.ycombinator.com/item?id=50577534>)

## Summary

我喜欢制作只做好一件事的小工具，并探索巧妙组合它们的方法。在 macOS 上，我利用 whereami 获取位置或解析地址，结合 nearme 调用 MapKit 搜索周边地点。只需几行命令，就能轻松找到两个地址之间的咖啡店或酒吧。无需 API 密钥，无需浏览器，完全本地运行。通过简单的管道和 jq 计算中点坐标，实现‘在中间见面’的自动化方案。这不仅是一个实用技巧，更是 Unix 哲学中‘小工具组合’精神的体现。

## Key quote

> 我只需要控制三个焦点就能完成一个魔术，而我的这些工具组合正是这种理念的体现。

## HN discussion (11 comments)

### [realty_geek](<https://news.ycombinator.com/item?id=50618254>)

> 真的很喜欢这个。效果非常好！
>
> 我打算从这里面借鉴一些点子，用于我正在开发的一个工具，帮助大家决定在哪里（以及何时）见面。

### [restlessforge](<https://news.ycombinator.com/item?id=50618196>)

> 只是想说说，我超爱这种“小而精，专注做好一件事”的理念。请继续保持！

### [ivansavz](<https://news.ycombinator.com/item?id=50615854>)

> 哇，太酷了。
>
> 我刚才在 macOS 上试了一下，确实能用。它直接给出了我住处的确切地址。

---

## Cite

- Page: https://zeli.app/zh/story/50577534
- Date: 2026-11-20
- Source: george.mand.is (https://george.mand.is/2026/11/lets-meet-in-the-middle/)
- Hacker News: https://news.ycombinator.com/item?id=50577534

## Other languages

- en: https://zeli.app/story/50577534 · markdown: https://zeli.app/story/50577534.md
- ja: https://zeli.app/ja/story/50577534 · markdown: https://zeli.app/ja/story/50577534.md
- ko: https://zeli.app/ko/story/50577534 · markdown: https://zeli.app/ko/story/50577534.md
- de: https://zeli.app/de/story/50577534 · markdown: https://zeli.app/de/story/50577534.md
- es: https://zeli.app/es/story/50577534 · markdown: https://zeli.app/es/story/50577534.md
- ru: https://zeli.app/ru/story/50577534 · markdown: https://zeli.app/ru/story/50577534.md
