返回 2026-05-03
🛠 工具 / 开源

iNaturalist 观测记录查询工具iNaturalist Sightings

simonwillison.net·2026-05-01 节选正文

Simon Willison 开发了一款名为 iNaturalist Sightings 的工具,可聚合他在两个账户中的所有观察记录并按时间分组。该工具完全基于 Claude Code for web 在手机上构建,展示了移动端 AI 编程工具的强大能力。用户现在可以直观查看自己的自然观察历史,便于追踪生态研究进展。

Simon Willison

I wanted to see my iNaturalist observations - across two separate accounts - grouped by when they occurred. I'm camping this weekend so I built this entirely on my phone using Claude Code for web.

I started by building an inaturalist-clumper Python CLI for fetching and "clumping" observations - by default clumps use observations within 2 hours and 5km of each other.

Then I setup simonw/inaturalist-clumps as a Git scraping repository to run that tool and record the result to clumps.json.

That JSON file is hosted on GitHub, which means it can be fetched by JavaScript using CORS.

Finally I ran this prompt against my simonw/tools repo:

Build inat-sightings.html - an app that does a fetch() against https://raw.githubusercontent.com/simonw/inaturalist-clumps/refs/heads/main/clumps.json and then displays all of the observations on one page using the https://static.inaturalist.org/photos/538073008/small.jpg small.jpg URLs for the thumbnails - with loading=lazy - but when a thumbnail is clicked showing the large.jpg in an HTML modal. Both small and large should include the common species names if available

需要完整排版与评论请前往来源站点阅读。