I used to use Shaarli (https://shaarli.readthedocs.io) to accomplish sort of the same thing that you described. And, shaarli worked great for me *for years*! But then, when i delayed migrating from my VPS (where i self-hosted shaarli, and needed badly to update version of ubuntu on the VPS) and i failed to upgrade to a newer version of shaarli, i sort of got myself stuck, and never set it up again on my new VPS...sure, i still have all the bookmarks (they're just saved in plain text within php easy to get), and you know what? I sort of abandoned all those bookmarks from my legacy shaarli setup, and have never once needed to look up a bookmark! Meaning, i guess i was saving these things for pretty much little/no reason, so i never set up shaarli again. This is by no means an issue of shaarli. Its simply that i came to a realization like folks going through digital minimalism must feel, that "hey, i guess i don't need X after all".
Lately i have the need to save a couple of bookmarks again (though only a few)...so instead of using shaarli, i just saved them within firefox and set up the firefox account syncing, and it seems good enough for my needs. But, going back to my original point, yeah shaarli fit my need quite weel as far as saving remote bookmarks. If you ever don't want to maintain your own php setup, i encourage you to take a look at shaarli; really fast, stable, crazy low on resoiurces...all around great utility!
Lately i have the need to save a couple of bookmarks again (though only a few)...so instead of using shaarli, i just saved them within firefox and set up the firefox account syncing, and it seems good enough for my needs. But, going back to my original point, yeah shaarli fit my need quite weel as far as saving remote bookmarks. If you ever don't want to maintain your own php setup, i encourage you to take a look at shaarli; really fast, stable, crazy low on resoiurces...all around great utility!