Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Daily Context

Li ZhentangLi Zhentang68 downloads

Enrich daily notes with real-world context: GPS location, addresses, and daily weather on mobile using AMap.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

Enrich your daily notes with real-world context: GPS location, addresses, and daily weather. Built for Obsidian Mobile, with address lookup and weather data from AMap. Requires Obsidian Mobile 1.11.0 or later.

Installation

  1. Download main.js and manifest.json from GitHub Releases.
  2. Place both files in your vault's .obsidian/plugins/daily-context/ folder.
  3. Restart Obsidian and enable Daily Context in Settings → Community plugins.

Usage

Enter your AMap Web Service API key in Settings → Daily Context. Changes save automatically.

Open today's note and choose “记录地点与天气” (Record location and weather) from the mobile ribbon or command palette. Allow location access when prompted. Enable automatic capture in settings to run this when opening today's note.

The note title must start with today's date. The default format is YYYY-MM-DD, and custom text can follow the date. A populated weather property skips capture. Existing coordinates are reused; otherwise, the plugin requests GPS location. To record again, clear location, address, and weather, then run the command.

Coordinates are sent to AMap over HTTPS for address and weather lookup. The API key is stored in plain text in .obsidian/plugins/daily-context/data.json and may be included when syncing plugin settings.

中文说明

为每日笔记补充现实世界上下文:GPS 地理位置(location)、详细地址和当日天气(weather)。适用于 Obsidian 移动端 1.11.0 及以上版本,地址与天气由高德提供。

location: 31.2304,121.4737
address: 上海市·凯迪拉克·上海音乐厅
weather: 多云 22~29℃

安装

  1. 从 GitHub Releases 下载 main.js 和 manifest.json,放入手机笔记库的 .obsidian/plugins/daily-context/ 文件夹。
  2. 确认 .obsidian/plugins/daily-context/main.js 和 manifest.json 已就位,重启 Obsidian。
  3. 在「设置 → 第三方插件」中启用 Daily Context。

使用

在「设置 → Daily Context」填写高德 Web 服务 Key。设置修改后自动保存。

打开今天的日记,点击底部快捷操作浮层中的「记录地点与天气」,首次使用时允许定位。也可以运行命令 Daily Context: 记录地点与天气,或将命令加入移动端工具栏。

开启「自动补全今日日记」后,插件会在打开日记时自动记录。手动和自动操作都要求标题以今天的日期开头,例如 2026-09-21 今天去了上海.md。标题日期格式默认为 YYYY-MM-DD,可在设置中修改。

weather 有值时跳过整次操作,为空时补充属性。已有 location 会沿用,支持逗号分隔的文本和 YAML 列表,坐标顺序为纬度、经度,坐标系为 WGS84。地址显示为「城市·具体地点」,天气包含当日日夜预报和温度范围。

如需重新记录,清空 location、address 和 weather 后再次运行命令。查询失败时会保留已获取的信息,可手动重试。

隐私

插件将坐标通过 HTTPS 发送给高德,用于查询地址和天气。Key 以明文保存在笔记库的 .obsidian/plugins/daily-context/data.json 中,同步插件配置时可能一并同步。

许可证

MIT

HealthExcellent
ReviewPassed
About
Enrich daily notes with real-world context by inserting GPS coordinates, detailed address, and today's weather. Record AMap-sourced address and day/night forecast automatically or on demand in Obsidian Mobile, appending location, address, and temperature range to notes dated today.
DatesPropertiesAutomation
Details
Current version
0.1.10
Last updated
3 weeks ago
Created
3 weeks ago
Updates
4 releases
Downloads
68
Compatible with
Obsidian 1.11.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Li ZhentangLi Zhentangleegent
GitHubleegent
  1. Community
  2. Plugins
  3. Dates
  4. Daily Context

Related plugins

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

MetaEdit

Manage your metadata.

Rollover Daily Todos

Rollover any unchecked checkboxes from your last daily note into today's note.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

BRAT

Easily install a beta version of a plugin for testing.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Advanced URI

Control everything with URI.