Marcel Marais14 downloadsInsert places recorded by the Timeline iPhone app into any note, or sync each day's stops to your daily notes.
Insert places recorded by the Timeline iPhone app into any Obsidian note, or sync each day's stops to your daily notes.
## Places
- 09:05–17:40 · **Work** (8h 35m)
- 17:55–18:20 · **Rewe** *(probably)* (25m)
- 18:35–19:50 · **Kreuzberg Climbing Hall** (1h 15m)
- Note: 80 kg felt easy
- 20:10–now · **Home**
Works on desktop, iPhone, iPad and Android.
The plugin reads your shared Timeline Pro history over the network. It has no offline or file-import mode.
From Obsidian: open Settings › Community plugins › Browse, search for Timeline Location History, then select Install and Enable.
By hand: copy main.js, manifest.json and styles.css from a release into <your vault>/.obsidian/plugins/timeline-location-history/, then enable the plugin under Settings › Community plugins.
Each device signs in separately. Your sign-in stays in Obsidian's secure storage on that device and never goes into your vault, so it doesn't sync through Obsidian Sync, iCloud or git.
To disconnect, choose Disconnect in the plugin's settings. You can also remove Obsidian from Settings › Agents on timeline.place or in the iPhone app, which ends access on every device at once.
Open the command palette and type "Timeline":
YYYY-MM-DD date you type.2026-11-24 or 2026-11-24 Berlin trip.Syncing writes the stops as a list under a heading (## Places by default):
## Places
- 09:05–17:40 · **Work** (8h 35m)
- 20:10–now · **Home**
Syncing again replaces that list, so the stops update as the day goes on. It changes only lines shaped like the plugin's own, so anything else you write under the heading, and everywhere else in the note, stays as it is. If the note doesn't have the heading, the next sync adds it at the end.
With Keep daily notes up to date turned on, today's daily note refreshes when opened and every 10 minutes while open. Yesterday's daily note refreshes on open if it already has places. Automatic syncing never creates a note.
The plugin reads your daily notes folder and date format from Obsidian's Daily notes plugin, or from Periodic Notes when that manages your daily notes. You can override either in the settings. When the plugin creates today's note, it fills in your daily notes template.
20:10–now means your iPhone reported you there in the last few hours. since 20:10 … (no departure reported) means your iPhone hasn't reported a departure; it doesn't confirm you stayed there.[[wikilinks]] instead of bold text (off).The plugin connects only to https://timeline.place (Timeline's server), and only when you sign in, run a command, or have automatic updates turned on.
| When | Request | What is sent |
|---|---|---|
| First sign-in on a vault | POST /api/auth/oauth2/register |
The client name "Obsidian" and its obsidian:// callback |
| Signing in | Your browser opens /api/auth/oauth2/authorize |
A one-time code challenge; you sign in on Timeline's page |
| Signing in and staying signed in | POST /api/auth/oauth2/token |
The one-time code or refresh token |
| Inserting or syncing a day | GET /api/obsidian/day?date=… |
The date and your access token |
| Inserting the current location, or Check | GET /api/obsidian/current |
Your access token |
| Disconnecting | POST /api/auth/oauth2/revoke |
The refresh token to revoke it |
npm install
npm run dev # rebuilds main.js on change
npm run check # typecheck, lint (eslint-plugin-obsidianmd), tests, production build
To try it in a vault, link this folder into the vault's plugins folder and enable the plugin:
ln -s "$PWD" "<your vault>/.obsidian/plugins/timeline-location-history"
The source is in src/:
main.ts: commands, the sign-in callback and automatic updates.auth.ts: OAuth 2.1 with PKCE and refresh tokens.api.ts: Timeline API requests and error messages.format.ts: Markdown formatting.section.ts: finds and updates the list of places under the heading in a note.dates.ts and daily-notes.ts: dates and daily notes.date-modal.ts and settings.ts: the date picker and the settings.obsidian-http.ts: requestUrl wrapper and device-only token storage.Tests in tests/ cover formatting, block updates, dates and the API client without requiring Obsidian.
This folder is the root of timeline-obsidian-plugin, the public repository Obsidian's community directory reads. Releases are made there.
npm version patch --no-git-tag-version (or minor/major). This updates package.json, manifest.json and versions.json. Raise minAppVersion in manifest.json first if the release needs a newer Obsidian version.npm run check.v, such as 1.0.4. The Release workflow (.github/workflows/release.yml) checks and builds the plugin, attests where main.js, manifest.json and styles.css came from, and publishes them as that tag's release.The plugin is listed in Obsidian's community directory, which reviews each new release automatically and shows the results on the plugin's Scorecard.