ActivityWatch / ActivityWatch/activitywatch

Syncing

未关闭
#35 101 条评论 180 个 reaction 已指派 1 人 已被 @ErikBjare 认领 在 GitHub 查看
bounty improves: ux size: large type: enhancement
主要语言
Python
星标
18.9k
派生
1k
平均合并
1 天 4 小时
30 天内合并 PR
28

描述

**Vote on this issue on [the forum](https://forum.activitywatch.net/t/synchronization-between-devices/264)!**

-----

There are two usage issues with ActivityWatch at the moment to which syncing is a solution:

- If you use more than one device, you need to check every device individually, or run one centralized instance of aw-server (not recommended!)
- If a machine is lost, so is the data (the user could have exported it, but data stored after the export would still be lost). While ActivityWatch cannot replace a proper backup system, syncing could help by storing copies of the data across devices.

I know of two interesting solutions to this problem:

- Centralized server which stores all data encrypted (the server is unable to decrypt)
- Issues: Centralized, single point of failure
- Done by @StandardNotes
- P2P synchronization (encrypted, possibly including relays)
- Done by @Syncthing very well, perhaps we could use it in some way. Also: MPL2 licensed and written in Go.
- Downside: Clients must be online at the same time for sync.
- They have the ability to set some folders to "read only", useful when you want to ensure the data stays intact in its source.
- Implementing it ourselves would be an enormous effort, I assume.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/43187921-syncing?utm_campaign=plugin&utm_content=tracker%2F35920020&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F35920020&utm_medium=issues&utm_source=github).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。