jarun / buku

:bookmark: Personal mini-web in text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question on the application structure

halloleo opened this issue · comments

Buku looks great, but I couldn't figure out whether buku (when used as command line tool) has a server component? Can multiple CLI's from different computers use the same bookmark store on a separate server? I saw, there is bukuserver, but this does not apply to buku itself, or does it?

Sorry to ask this here, but I could find a better place (Discussions or similar).

buku operates on an SQLite db file (that is, a DB stored in a file directly operated on by a library); bukuserver is a WebUI for buku which uses the latter as a library.

You cannot modify the same DB file simultaneously with multiple clients (doesn't sound like a good idea anyway), but you can do whatever you like with the file itself (e.g. sending/uploading it elsewhere, keeping/restoring backups, juggling multiple versions etc.); and a running bukuserver can be accessed from network (using Nginx or the like to expose it with desired authentication requirements) for either browser access or as a REST API (…mostly undocumented at the moment).

Thanks @LeXofLeviafan. That details it perfectly.