iNaturalist 观测记录

Simon Willison's Blog 工具

摘要

Simon Willison 构建了一个个人工具,用于按时间和地点分组查看 iNaturalist 的观测记录。他使用 Claude Code for Web 以及一个用于聚合观测数据的 Python CLI,并通过 Git 抓取技术将数据托管在 GitHub 上。

暂无内容
查看原文
查看缓存全文

缓存时间: 2026/05/08 06:53

# 工具:iNaturalist 观察记录 来源:https://simonwillison.net/2026/May/1/inat-sightings/ 我想查看我在 iNaturalist (https://www.inaturalist.org/) 上的观察记录——跨越两个不同的账号——并按发生时间进行分组。由于本周末我要去露营,所以我完全在手机上使用 Claude Code for Web 构建了它。 我首先构建了一个 inaturalist-clumper (https://github.com/simonw/inaturalist-clumper) Python 命令行工具,用于获取并“聚类”观察记录——默认情况下,聚类会将 2 小时内且相距 5 公里以内的观察记录归为一组。 然后我设置 simonw/inaturalist-clumps (https://github.com/simonw/inaturalist-clumps) 作为 Git scraping (https://simonwillison.net/series/git-scraping/) 仓库,用于运行该工具并将结果记录到 clumps.json (https://github.com/simonw/inaturalist-clumps/blob/main/clumps.json) 中。 该 JSON 文件托管在 GitHub 上,这意味着可以通过 JavaScript 使用 CORS 获取它。 最后,我在 simonw/tools (https://github.com/simonw/tools) 仓库中运行了以下提示: > `构建 inat-sightings.html —— 一个应用程序,通过 fetch() 请求 https://raw.githubusercontent.com/simonw/inaturalist-clumps/refs/heads/main/clumps.json,然后在页面上显示所有观察记录,使用 https://static.inaturalist.org/photos/538073008/small.jpg 这样的 small.jpg URL 作为缩略图,设置 loading=lazy,但点击缩略图时在 HTML 模态框中显示 large.jpg。small 和 large 都应包含常见的物种名称(如果可用)`

相似文章

自然观察记录

Simon Willison's Blog

Simon Willison 记录了如何使用 Claude Code for Web 在他的博客上构建一个“自然观察记录”功能,以聚合他在 iNaturalist 上的野生动物照片,并回溯填充了十多年来的观察记录。

inaturalist-clumper 0.1

Simon Willison's Blog

inaturalist-clumper 0.1 是一个用于收集和发布iNaturalist观测记录的工具;它已用于生产环境,现在有正式版本发布。

Flip TABLE:在iNaturalist中存储任意数据

Hacker News Top

本文介绍了一个创意项目,它利用iNaturalist观察ID存储任意数据(例如待办事项列表),通过无序整数集合中的序列位和值位编码信息,并介绍了演示应用YouDidIt.Bio。

scosman/pelicans_riding_bicycles

Simon Willison's Blog

Simon Willison 的链接帖介绍了一个名为“pelicans_riding_bicycles”的数据集或项目,可能用于 LLM 训练或生成式 AI 实验。