I have created a FOSS extension called SyncMarks to sync bookmarks and tabs. It's working with Firefox, Edge and Chromium and also on Kiwi on Android. You can sync your bookmarks independent from the browser and cross-browser. For example from Firefox to Edge or Chrome.
As a backend I would recommend my small php script which you can selhost. You only need PHP and a database like SQLite or MySQL. As fallback you can use any WebDAV share.