Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Syncing browser bookmarks between browsers and machines
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Mon Mar 19, 2018 2:44 pm    Post subject: Syncing browser bookmarks between browsers and machines Reply with quote

I use several machines and browsers (predominantly Firefox, Chrome and Chromium). I want to sync browser bookmarks across all browsers and machines, but I would prefer not to have my bookmarks stored in a third-party company's server, which rules out tools such as Xmarks, EverSync and the like.

I want to store the bookmark database on one of my own servers which is already accessible via the Internet. Does anyone know of an open-source tool that would enable me to do that? Preferably it should work even in Windows, in case I have to use a Windows machine somewhere, but I'll settle for just Linux if that is the only thing achievable.

Thanks in advance for any suggestions.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 722
Location: /home

PostPosted: Tue Mar 20, 2018 4:30 am    Post subject: Reply with quote

Doable with Git I believe. You can set up your own git server so technically your bookmarks wouldn't be stored in a 3rd party server :)
Back to top
View user's profile Send private message
peje
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2003
Posts: 100

PostPosted: Tue Mar 20, 2018 5:19 am    Post subject: Reply with quote

I love buku https://github.com/jarun/Buku for the bookmarks, sharing the db with nextcloud / nextcloud-sync
cu Peje
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Tue Mar 20, 2018 9:50 am    Post subject: Reply with quote

I've been playing with Buku on one of my machines. How do you get the database onto a remote machine?

EDIT:
Found it: https://github.com/jarun/Buku/wiki/System-integration#sync-database-across-systems
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Tue Mar 20, 2018 12:39 pm    Post subject: Reply with quote

i believe xmarks does let you use your own server, but setting one up can be a pain because it needs DAV.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Tue Mar 20, 2018 1:35 pm    Post subject: Reply with quote

WebDAV? No problem with that; I already use it to access one of my servers. I'll see if I can find any information on the Web about using Xmarks with WebDAV on my own server.

EDIT:
Apparently it's only available for Firefox:

Xmarks User Manual wrote:
Bring Your Own Server!

*Note this feature is only available for Firefox.

https://helpdesk.xmarks.com/bookmark-manager-basics/byos/
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Wed Mar 21, 2018 1:25 pm    Post subject: Reply with quote

I used Shaarli in the past. It can be installed on your own server. It doesn't require a database.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Thu Mar 22, 2018 2:09 pm    Post subject: Reply with quote

Thank you to everyone above for your suggestions. My searches on the Web turned up a couple more:

1. Bookmark4U
http://bookmark4u.sourceforge.net/

2. b
https://github.com/sebcode/b

Unfortunately Bookmark4U is a dead project and has not been updated since 2003. The second, b, seems to be in active development.

Anyway, I have opted to use Buku, which is in Portage's main tree.

Code:
$ eix buku
[I] www-misc/buku
     Available versions:  ~3.5 (~)3.6 {test PYTHON_TARGETS="python3_4 python3_5 python3_6"}
     Installed versions:  3.6(13:15:47 21/03/18)(-test PYTHON_TARGETS="python3_5 -python3_4 -python3_6")
     Homepage:            https://github.com/jarun/Buku
     Description:         Powerful command-line bookmark manager


Although a CLI bookmark manager is not what I had in mind, it is quite powerful and yet simple enough to use. It is practical to use Buku in a drop-down terminal (I'm currently using it with Yakuake in KDE, and with Tilda in LXDE).

Browsing/scrolling through a flat list (or sub-list) of bookmarks in a terminal to find something is not as good as a GUI but, overall, Buku is a decent bookmark manager and its options are easy to learn and use. Buku's comprehensive search options of course help to find bookmarks, but it is still not as ergonomic as a GUI bookmark manager in my opinion. The ability to have multiple tags in Buku does help, as you can search for either any or all tags. In a browser's bookmark manager I would copy the same bookmark into different folders if the Web page covers multiple topics.

In summary, Buku is a viable bookmark manager and I like it. It is extremely easy to configure for use with a Cloud server, and I have set it up to synchronise bookmarks on all my machines. I have already imported into Buku the 1,300+ bookmarks from the browsers on my machines, and deleted the bookmarks in those browsers, so I am using Buku in earnest.

If I do have to use a Windows machine, or a Linux machine without Buku installed, I will not be able to access my bookmarks from my Cloud server. To partially get around that, I may implement a hack: I will install Buku on my Cloud server and create a crontab job to periodically run Buku to print the bookmarks to a text file so that I can at least search through the file via SSH if I cannot find the Web page I want in a search engine.

If anyone has any further suggestions, I would still be interested to hear them.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 555
Location: Ásgarðr

PostPosted: Wed Mar 16, 2022 11:20 pm    Post subject: Reply with quote

Very cool review Fitzcarraldo. I was looking for a solution to manage my bookmarks outside of the browser and buku/tilda combination looks interesting.
There is also this script using dmenu https://gitlab.com/benoliver999/buku-dmenu

By the way your post is almost 4 years old, are you still using buku these days ? :o
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Thu Mar 17, 2022 7:43 am    Post subject: Reply with quote

Thanks, sdauth. Yes, I'm still using Buku, and I still think it's very good (I'm currently using it with Yakuake in KDE, and with QTerminal Drop Down in LXQt).
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
sdauth
Guru
Guru


Joined: 19 Sep 2018
Posts: 555
Location: Ásgarðr

PostPosted: Thu Mar 17, 2022 1:57 pm    Post subject: Reply with quote

Great ! I just installed it and I am already loving it. 8)
It was damn easy to set up, I exported my palemoon bookmark to html, then ran buku --import bookmarks.html and voila !

Then put this to a keyboard shortcut :
buku -p -f 3 | sed 's/\t/ /g' | dmenu -i | cut -d ' ' -f 1 | xargs --no-run-if-empty buku --nostdin -o
I could also use fzf or rofi (both are already on my system), or even urxvt with a custom window tied to a shortcut. No need to install another term just for that on my setup.

Now I need to read a bit more to know how to edit, add tags, organize etc..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum