uazo / cromite

Cromite a Bromite fork with ad blocking and privacy enhancements; take back your browser!
https://www.cromite.org/
GNU General Public License v3.0
3.57k stars 85 forks source link

Browser Sync #408

Open Shadowvaporwarez opened 1 year ago

Shadowvaporwarez commented 1 year ago

Preliminary checklist

Is your feature request related to privacy?

No

Is there a patch available for this feature somewhere?

https://github.com/brave/brave-browser/wiki/Brave-Sync-v2

Describe the solution you would like

Would it be possible to integrate sync functionality from Brave for example?

Describe alternatives you have considered

None

Offerel commented 1 year ago

Is the bookmark API available within Chromite? If so, you can try to implement my Desktop Extension for Bookmark sync called SyncMarks. I know Extensions are not directly supported, but maybe a other integration of this extension will work?

As a webextension, it works in Firefox and all Chromium based browsers on the desktop. It sync the bookmarks to a PHP based backend. The extension is designed to work in all mentioned desktop browsers, so that you can sync bookmarks independent from the browser and keep the bookmarks on your own server. The extension is available at https://codeberg.org/Offerel/SyncMarks-Extension and the backend at https://codeberg.org/Offerel/SyncMarks-Webapp. From my point of view a real private alternative.

lyc8503 commented 1 year ago

I think Bookmark API is only able to sync bookmarks? The official Google sync service can handle more than bookmarks. It can sync history, extensions, reading list, etc.

Brave-Sync-V2 is compatible with official Google sync API so it can do all these too. Given that Cromite is a fork from chromium, supporting Brave-Sync-V2 maybe easier and more useful?

Offerel commented 1 year ago

Yes the official sync Google sync API sync more as only bookmarks. But it can only sync with that specific vendor and it uses the vendor infastrucur.

My plugin sync bookmarks and tabs only. I have not tried settings, because I have no interest in that. But the advantage is, it's cros-browser compatible. You can sync at the same time to any browser, including Firefox based ones. Additionally, it's a selfhosted solution, so there is no vendor involved. If you don't want to selfhost the backend, there is a WebDAV fallback, but only with a smaller functionality.

signalno11 commented 1 year ago

Having xBrowserSync support would be a godsend

uazo commented 1 year ago

thanks for the suggestions but the first test I will do is to check the implementation of brave and I will assess how far it is possible to reuse their work and whether it is logical to do so. but I haven't seen anything yet.

Banana-97 commented 12 months ago

Because of the sync, it is what stopping me from moving over from chrome

Offerel commented 12 months ago

I have reworked the backend in my sync service a little bit. It's now possible to install the backend as PWA. Installed as PWA, you can "share" a link or url to the PWA. In this case, the url is added as Bookmark in the "More Bookmarks". To access the bookmark, you can open the PWA and click the bookmark as like any other bookmarking tool. The link will be opened in the standard browser. This is some sort of workaround. If you have the AddOn installed in Chrome, Chromium, Edge, Brave or Firefox, the added bookmark is automatically synced and added to your Desktop browser. Using the this share_target functionality, requires the PWA installed via Chrome as system app or Samsung Internet installed from the Samsung store. This is because the PWA must be signed by a trusted store. If you disable/remove Chrome afterwards the PWA will work fine with Chromite as Browser.

This is just a workaround, but maybe useful for some people. I try to keep the AddOn compatible with every browser. But I fear this will get complicated with the upcoming Manifest v3 implementation from Google Chromium. Manifest v3 Chromium is absolutely not compatible with Manifest v3 by Mozilla. Privacy wise, it is nightmare.

NeuronsReact commented 9 months ago

I also want bookmark sync. I use the 'floccus' add-on to sync bookmarks between different browsers. It works well and I can choose where to store my bookmarks by setting a WebDAV url. It also support passphrase to encrypt the bookmark file.

floccus add-on | Github

toBlanch commented 7 months ago

Would it be possible to implement DuckDuckGo's sync? They recently implemented syncing between their desktop and mobile browsers and since their browser is open source (or as far as I'm aware the Android version is) the code should be available.

The same thing could be said in theory about Brave's though so there's probably no benefit, but I thought I might as well offer the idea.

Xisrr1 commented 5 months ago

Any updates?

SyCoREAPER commented 4 months ago

@uazo

Obviously this is a very backy workaround but could Shizuku be used to call the APIs or files needed from Official Chrome installed on Android?