LockIME icon indicating copy to clipboard operation
LockIME copied to clipboard

Feature Request: Export/Import Configuration and iCloud Sync

Open vstar37 opened this issue 5 months ago • 3 comments

First of all, thank you for creating LockIME. It’s a very useful tool for managing input methods across different applications and websites.

I would like to suggest adding configuration backup and synchronization features, such as:

  • Export settings to a file
  • Import settings from a file
  • Optional iCloud synchronization between Macs

LockIME’s app-specific and URL-specific input method rules can take some time to configure. When switching to a new Mac, reinstalling the system, or using multiple devices, it would be very helpful to be able to restore or synchronize these settings instead of recreating them manually.

A simple export/import mechanism would already be valuable, and iCloud sync would provide an even better experience for users who work across multiple Apple devices.

Thank you for considering this feature.

vstar37 avatar Jun 13 '26 08:06 vstar37

I considered this feature from the very beginning, but there was always one thing I hadn't figured out: how to synchronize between two computers with different input methods. Let's say you have two computers, one with input method ABC and the other with BCD. On computer A, you might have created some specific rules for the ABC input method.

In this situation, how do you think synchronization should be handled? And if a conflict arises, how should it be handled?

For example, on the first computer, you've bound GitHub to input method A, but on computer B, GitHub is bound to input method B. There will definitely be a conflict when directly synchronizing here.

BlackHole1 avatar Jun 13 '26 12:06 BlackHole1

I've just reconsidered; perhaps for the first version, we can skip such complex conflict handling. I only need to provide export and import, and a silent no-op when conflicts arise will suffice.

BlackHole1 avatar Jun 13 '26 13:06 BlackHole1

不清楚现在是否有实现同步 还是简单的导出备份;同步的话我个人理解可以用icloud或者 webdev进行跨设备同步 比如 设定个同步周期,每日上传到云 比对二者时间戳之类的,然后决定时上传覆盖还是下载更新。

vstar37 avatar Jul 14 '26 07:07 vstar37