i have a bookmarks.txt file (stores the bookmarks in plain text), but the links are consistent with the documentation for the "open external links in a container" extension for firefox. you can then open the links from the file any way you want, be it dmenu, rofi, fzf, fzy, gum, etc.
you then sync the text file between devices with rsync.
when in doubt, just use this guy