keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.23k forks source link

Building minimal Keybase client #8545

Open Riebart opened 7 years ago

Riebart commented 7 years ago

I'm in a position where I would like to have a minimal keybase client, without the KBFS or GUI functionality. Specifically, since FUSE isn't available on WSL (Bash on Windows), and the Windows installer is too heavy for my taste, I'd like to have a minimal CLI build.

My guess is this is already supported based on poking around the repo, but I'm not sure how to make this a reality.

Edit: To clarify, a minimal Linux build, since that's probably easier.

smarkwell commented 6 years ago

Probably better to describe this as a CLI only install. I second this request.

naphta commented 5 years ago

+1 here, seems unnecessary for me to be installing a whole load of GUI stuff for a docker image.

eli-schwartz commented 5 years ago

If you're using Arch Linux, the package for the official [community] repository does exactly this (it optionally depends on kbfs, and the keybase-gui package contains the electron app and non-optionally depends on keybase/kbfs, but you would not be using that).

There is also a slackware package that only contains the keybase command in the first place.

...

It's entirely possible to extract /usr/bin/keybase from the prebuilt .deb and repackage it yourself.

Riebart commented 5 years ago

It's nice that it's possible, but most people aren't package management wizards, or at least I'm not, and don't use Arch or Slackware. It seems like, if there's community packages that are leaned out, there's a market for a first-party leaner packaging, or at least some HowTos on how to do it.

eli-schwartz commented 5 years ago

Unfortunately I have no idea how Debian packaging actually works (now there is some real wizardry for you) so the chances of my becoming a Debian maintainer and adding packages based on the same split, are quite low. However, if you can find someone who is interested in doing so and has the necessary permission bits, feel free to link them to my Arch Linux packaging recipe for inspiration: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/keybase

I believe the Keybase project prefers people to get the full experience, so I don't expect them to provide their own packages along these lines.