ホーム スマホ・家電 Hacking Obsidian's 'Anywhere Memo Environment': My Answer to Syncing on iPhone Without Starting a Mac

Hacking Obsidian's 'Anywhere Memo Environment': My Answer to Syncing on iPhone Without Starting a Mac

三浦 拓海 三浦 拓海 • 更新: • 公開: • 読了約 20 分
目次
nc892bf8af839

When cultivating digital notes, the biggest enemy is 'anxiety about where they are saved'.

The strength of Obsidian is that it can be managed with local files, but that freedom simultaneously brings operational problems such as 'where to put them,' 'how to sync them,' and 'can I edit them on an iPhone?'

Until now, I kept my Obsidian vault in iCloud. If you only use a Mac and an iPhone, this is a natural choice. However, when thinking about it as a place to hold data for a long time, it didn't feel quite right to me.

If possible, I want to move it to stable storage rather than a subscription.
And even when I don't have my Mac open, I want to be able to view and edit from my iPhone.
Furthermore, I want to eventually flow PDFs scanned with ScanSnap into Obsidian's Inbox.

I have recorded here the configuration I arrived at for this 'memo, scan, and sync' puzzle.

1. The never-ending journey of 'searching for a sync service'

There are several options for syncing Obsidian.

Using the official Obsidian Sync would solve it quite straightforwardly. However, I had a constraint to build it using free or existing services on hand as much as possible.

iCloud is easy if you only use Apple products. However, since the actual vault depends on iCloud Drive, I wanted to place it in a location I could control a bit more, considering future handling and backup prospects.

That is why I chose pCloud, which can be used with a one-time purchase.

pCloud supports WebDAV. In other words, even if Obsidian itself cannot handle pCloud directly, by using an Obsidian community plugin, you can sync local vaults on Mac and iPhone via pCloud.

What I used here is 'Remotely Save'.

2. Making pCloud an Obsidian relay point

This is the configuration for this time.

  • Mac Obsidian Vault

  • iPhone Obsidian Vault

  • WebDAV area on pCloud

  • Sync via Remotely Save

The important point is that you don't open the files on pCloud directly on the iPhone, but rather create a local Obsidian vault on the iPhone as well and sync it with pCloud using Remotely Save.

The iPhone version of Obsidian cannot handle pCloud as a standard vault location directly.
However, if you use the community plugin Remotely Save, you can use pCloud WebDAV as a sync destination.

The WebDAV URL I set is as follows.

https://webdav.pcloud.com

If you are using a paid, one-time purchase plan for pCloud, you can use WebDAV. This is the premise for this configuration.

On the Mac side, I copied the Obsidian vault that was originally in iCloud to a separate local folder and performed the initial upload to pCloud from there. I left the original iCloud vault untouched, maintaining a state where I could revert if the migration process failed.

This is quite important when it comes to data migration.
If you make a mistake in sync settings, a mechanism that is supposed to be convenient can become a 'high-speed destruction device'.

3. The Reality Seen in the Initial Sync

The vault I initially uploaded was roughly the following size.

  • 3,531 files

  • 1,579 folders

  • Approximately 2.44GB

Here, I also encountered limitations with the pCloud WebDAV side.

Some folder names and file names could not be handled correctly by pCloud WebDAV. In particular, .resources folders containing names that were too long or included special characters became an issue.

Therefore, I renamed 1,526 .resources folders to short ASCII names.
Also, Markdown files containing special characters like weather symbols were changed to names like weather_note_1.md.

Since file names are also part of links in Obsidian, renaming is a bit nerve-wracking. This time, I proceeded after confirming that there were no references to the relevant files.

4. The Optimal Solution for iPhone

On the iPhone side as well, I installed Remotely Save in Obsidian and configured the same pCloud WebDAV settings.

For the first time, always use 'Incremental Pull' to download files from pCloud to the iPhone.
The point is not to set it to bidirectional sync immediately.

Once the initial sync is complete and 'Successfully synced' appears, switch to 'Bidirectional' after that.

In the iPhone app, the Remotely Save sync button is called from the menu in the bottom left or the command palette. The Obsidian mobile UI is a bit tucked away, so you might wonder 'where is it?' at first, but once you remember the location, operation is simple.

Due to iOS limitations, do not expect perfect background constant syncing.
Press the sync button after editing.
Press the sync button before starting work on another device.

If you accept this level of manual operation, it becomes a very realistic configuration for a budget-friendly setup.

5. Importing ScanSnap PDFs into Obsidian

The next problem I wanted to solve was the flow of scanned data.

Normally, PDFs are saved to Google Drive from ScanSnap Cloud. However, my Mac is not usually turned on.

In other words, a setup that relies on automated processes or folder monitoring on a Mac is difficult to use. I needed a mechanism that works even when the Mac is asleep.

That is why I used Google Apps Script.

ScanSnap Cloud saves to Google Drive. Google Apps Script checks the ScanSnap folder in Google Drive every 5 minutes. It uploads only new PDFs or images to pCloud WebDAV. The upload destination was set to the Inbox within my Obsidian vault.

The save destination is as follows.

/ScanDocument/00_Inbox/ScanSnap

With this configuration, it works even if the Mac is not turned on. The process runs on Google's cloud and passes the files to pCloud.

I excluded existing past files and set it up to transfer only new scans added after the configuration. The original files remain on Google Drive. This creates a division of roles where Google Drive acts as a temporary receiver and backup, while Obsidian on pCloud serves as the place for actual reading.

6. Current Operation

The final workflow is as follows.

ScanSnap
↓
ScanSnap Cloud
↓
Google Drive / ScanSnap
↓
Google Apps Script(5分ごと)
↓
pCloud WebDAV
↓
Obsidian / 00_Inbox / ScanSnap
↓
iPhone・MacのRemotely Saveで同期

Even if the Mac is not turned on, data flows from ScanSnap to pCloud. When I open Obsidian on my iPhone and sync, the scanned PDFs appear in my Inbox.

The Obsidian notes themselves can also be edited on both Mac and iPhone. pCloud acts as the central storage location, and Remotely Save acts as the bridge between each device.

7. Conclusion: Syncing is not 'Full Automation' but 'Division of Roles'

What I learned from this configuration is that it is more stable to connect the strengths of each service than to search for a single perfect sync service.

pCloud is for long-term storage. Obsidian is the editing environment. Remotely Save is the sync engine. Google Drive is the receiver for ScanSnap Cloud. Google Apps Script is the cloud-based courier.



By assigning a role to each, everything from scanning to note management is connected without needing to keep a Mac running at all times.

Of course, there are parts that could be solved more smartly by using Obsidian Sync. However, the joy of combining the services you have on hand to build a system that fits your own workflow is something else entirely.

The optimal solution for data management is not simply 'which service to use.' It is about designing where files are created, where you read them, and where you edit them within your own life.

Will you continue to be pushed around by where your notes are stored? Or will you design your own information flow?


This article is a summary created by AI based on the chat logs from when I set up the environment using ChatGPT Codex.
Codex automatically handled the migration of Obsidian data stored in iCloud to pCloud, as well as the periodic synchronization of ScanSnap data saved in Google Drive to pCloud. Furthermore, the setup on my iPhone followed Codex's instructions and worked exactly as expected. Long live AI!

同じカテゴリの記事

三浦 拓海
コンテンツディレクター 三浦 拓海
プロフィールを見る →

映画と連続ドラマの公開情報を追う担当。配給会社のプレスシートと公式サイトの発表日を確認したうえで執筆します。

おすすめの関連記事