floccus icon indicating copy to clipboard operation
floccus copied to clipboard

Feature: Change timeout for automatic sync when changes happen and on browser start

Open AShanWang opened this issue 5 months ago • 4 comments

Describe the feature you'd like to request

正如标题所述: ➤ 一旦检测到书签有任何变动,就自动上传。 比如: 我新增加了某个书签、或者删除了某个书签、又或是给某个书签重新更换了名字;一旦执行了这些行为,插件就能实现自动上传的操作;

➤ 我知道,目前插件有个自动同步的功能,但它自动同步的周期,最小值都达到了5分钟,这对我而言,时间太长了。 ➤ 虽然目前,也可以手动执行"上传、下载、或者同步"等操作,但这手动的操作,有时候在关掉浏览器或关掉PC的时候,会忘记执行,这样就导致其它设备不能及时同步这些书签变动。(尤其是那种刚变动过的书签,还没来得及自动同步,就关掉了浏览器,或者直接关机了。)

Describe the solution you'd like

➤ 可参考这个插件来实现:"xbrowsersync" https://chromewebstore.google.com/detail/xbrowsersync/lcbjdhceifofjlpecfpeimnnphbcjgnc?pli=1

➤ 在得知"floccus"项目前,我一直通过"xbrowsersync"来实现,在不同的浏览器间同步书签。

xbrowsersync也是一款开源的项目,但它已经停更好久了,其最后一次更新还是在3年前; 由于近期,xbrowsersync插件在谷歌浏览器里,老是提示该插件未遵循 Chrome 扩展程序的最佳实践而被停用,所以我舍弃了xbrowsersync

➤ xbrowsersync插件就可以实现,一旦检测到书签有任何变动,就会执行自动上传的操作;(其插件图标处,也有向上的箭头,表示正在上传的意思。)

xbrowsersync也有自动间隔同步的功能,也具备手动同步的功能;它还会在新打开另一个浏览器时,会立即从服务器拉取最新的书签到浏览器里。

➤ 希望能给"floccus"项目,1. 增加这个有书签变动,就自动上传的功能。2. 增加:一打开浏览器,就会自动从服务器端拉取最新的书签状态。

P.s.: 此"floccus"项目是我目前使用过的最好的书签同步工具;也是 xbrowsersync 最佳的替代品。感谢开发这个项目的作者,能做出如此优秀的开源作品。

以上, 祝好!

Describe alternatives you've considered

null

AShanWang avatar Jul 31 '25 13:07 AShanWang

Hello :wave:

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. Let me give you a short introduction on what to expect from this issue tracker to avoid misunderstandings. I'm Marcel. I created floccus a few years ago, and have been maintaining it since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. It helps when you stick around to answer follow up questions I may have, as very few bugs can be fixed directly from the first bug report, without any interaction. If information is missing in your bug report and the issue cannot be solved without it, I will have to close the issue after a while. Note also that GitHub in general is a place where people meet to make software better together. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! If you cannot lend a helping hand, to continue the development and maintenance of this project in a sustainable way, I ask that you donate to the project when opening an issue (or at least once your issue is solved), if you're not a donor already. You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself.

Thank you for reading through this primer. I look forward to working with you on this issue! Cheers :blue_heart:

github-actions[bot] avatar Jul 31 '25 13:07 github-actions[bot]

Hi @AShanWang

Thank you for taking the time to give feedback to this project :) I'm glad you're enjoying floccus!

I hope to give the "floccus" project, 1. Add this bookmark change, the automatic upload function. 2. Add: As soon as the browser is opened, the latest bookmark status is automatically pulled from the server.

Both 1 and 2 should already work. Currently, Floccus waits 7 seconds after any bookmark change and then syncs the affected profiles, and waits 1minute after opening the browser and then syncs all profiles.

marcelklehr avatar Jul 31 '25 13:07 marcelklehr

Hi @AShanWang

Thank you for taking the time to give feedback to this project :) I'm glad you're enjoying floccus!

I hope to give the "floccus" project, 1. Add this bookmark change, the automatic upload function. 2. Add: As soon as the browser is opened, the latest bookmark status is automatically pulled from the server.

Both 1 and 2 should already work. Currently, Floccus waits 7 seconds after any bookmark change and then syncs the affected profiles, and waits 1minute after opening the browser and then syncs all profiles.

哦,天呐!原来这个插件本来就具备这两个功能! ➤ 事情是这样子的:

a. 我在Chrome里开启了自动同步按钮,在Brave里只将时间间隔设置为最低的5分钟,但忘记开启自动同步的按钮。 b. 而我当时在测试的时候,是在Brave里测试的,所以没能发现这个两个功能。 c. 看了你的这个回复,我又在Chrome里测试了一遍,于是就复现了这2个功能。


➤ 如果能自定义这2个时间就更nice了。

我想将那个7秒改成2秒,将那个1分钟改为5秒;不知道该如何操作呀!

AShanWang avatar Jul 31 '25 14:07 AShanWang

That would require a code change. I think it can be nice to let people customize these.

marcelklehr avatar Aug 12 '25 12:08 marcelklehr