MCPcopy Index your code
hub / github.com/keybase/client

github.com/keybase/client @v6.6.3 sqlite

repository ↗ · DeepWiki ↗ · release v6.6.3 ↗
53,713 symbols 224,798 edges 4,049 files 11,776 documented · 22% 131 cross-repo links
README

Keybase Build Status Build status

Hi, and welcome to the Keybase client repo. All our client apps (macOS, Windows, Linux, iOS, and Android) are being actively developed in this repository. Please, dig around.

Warnings

We'd love you to read our source code.

But - some of the things in this repo are explorations, and the app you build from source just might not do what it says it's doing. So, if you just want to install Keybase on your computer, you should monitor our releases for macOS, Linux, or Windows.

If you're interested in our Docker image releases, please check out the Docker README.

Sharing

Code Layout

  • go: Core crypto libraries; the Keybase service; the command line client. Learn More
  • shared/{android,ios}: Android and iOS apps developed with React Native.
  • shared/desktop: Desktop application for macOS, Linux, and Windows, made with the Electron framework, sharing React code with react-native.
  • packaging: Scripts for releasing packages across the various platforms.
  • protocol: Defines the protocol for communication for clients to the Keybase services. Uses Avro. Learn More
  • media: Icons, graphics, media for Keybase apps.
  • osx: The macOS Keybase.app, development parallel to an Electron-based application above. Learn More

Problems?

Report any issues with client software on this GitHub issue tracker. Internally, we track our progress using Jira, but all PRs come through GitHub for your review!

If you're having problems with the command line keybase client, take a look at the troubleshooting doc.

If you're having problems with our Website, try the keybase-issues issue tracker.

We check and update both frequently.

License

Most code is released under the New BSD (3 Clause) License. If subdirectories include a different license, that license applies instead.

Development Guidelines

We check all git commits with pre-commit hooks generated via pre-commit.com pre-commit hooks. To enable use of these pre-commit hooks:

  • Install the pre-commit utility. For some common cases:
  • pip install pre-commit
  • brew install pre-commit
  • Remove any existing pre-commit hooks via rm .git/hooks/pre-commit
  • Configure via pre-commit install

Then proceed as normal.

External Contributors

If you forked this repository on GitHub and made a PR, then it'll show up as having failed Jenkins CI. We do not build external PRs because it's a security risk to do so without a review first. If your PR is successfully reviewed by a member of the Keybase team, then we will merge your commits to a branch on our primary fork and build from there.

Cryptography Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

Extension points exported contracts — how you extend this code

Checker (Interface)
Checker implementations can check their options for errors. [63 implementers]
go/client/json_api_common.go
Measurable (Interface)
Measurable is an interface for types whose size is measurable. [29 implementers]
go/kbfs/cache/measurable.go
MessageRouter (Interface)
MessageRouter is a stateful message router that will be implemented by JSON/REST calls to the Keybase API server. [15 …
go/kex2/transport.go
ToStatusAble (Interface)
ToStatusAble is something that can be coerced into a status. Some error types in your application might want this. [150 …
go/protocol/keybase1/extras.go
ReadCloseResetter (Interface)
ReadCloseResetter is io.ReadCloser plus a Reset method. This is used by attachment uploads. [30 implementers]
go/chat/attachments/utils.go
BurstCacheKey (Interface)
BurstCacheKey is a key for a burst cache resource. Needs to implement the one method --- String() --- used for turning t [137 …
go/libkb/burst_cache.go
MessageConsumer (Interface)
MessageConsumer consumes state update messages. It's half of the state machine protocol [5 implementers]
go/gregor/interface.go
ExternalHandler (Interface)
(no doc) [12 implementers]
go/logger/logger.go

Core symbols most depended-on inside this repo

G
called by 7066
go/libkb/globals.go
Equal
called by 5870
go/libkb/user.go
Errorf
called by 3531
go/mounter/mounter.go
Debug
called by 3320
go/mounter/mounter.go
DeepCopy
called by 2717
go/kbfs/kbfsmd/root_metadata.go
Fatal
called by 1981
go/libkb/test_common.go
Logf
called by 1953
go/libkb/test_common.go
Lock
called by 1856
go/kbfs/libkbfs/interfaces.go

Shape

Method 29,141
Function 15,851
Struct 6,573
TypeAlias 957
Interface 816
Enum 235
FuncType 82
Class 58

Languages

Go91%
TypeScript8%
Python1%

Modules by API surface

go/protocol/chat1/local.go874 symbols
go/libkb/interfaces.go673 symbols
go/kbfs/libkbfs/libkbfs_mocks_test.go636 symbols
go/kbfs/libkbfs/interfaces.go601 symbols
go/protocol/keybase1/teams.go600 symbols
go/libkb/errors.go578 symbols
go/protocol/keybase1/extras.go499 symbols
go/protocol/chat1/extras.go440 symbols
go/protocol/keybase1/simple_fs.go431 symbols
go/chat/types/interfaces.go387 symbols
go/libkb/env.go359 symbols
shared/constants/types/rpc-gen.tsx356 symbols

Dependencies from manifests, versioned

bazil.org/fusev0.0.0-2020042402351 · 1×
camlistore.orgv0.0.0-2016120518433 · 1×
filippo.io/edwards25519v1.1.0 · 1×
github.com/BurntSushi/tomlv1.4.1-0.20240526193 · 1×
github.com/RoaringBitmap/roaringv0.4.22-0.2019111222 · 1×
github.com/StackExchange/wmiv1.2.1 · 1×
github.com/akavel/rsrcv0.2.1-0.20151103204 · 1×
github.com/alcortesm/tgzv0.0.0-2016122008232 · 1×
github.com/alecthomas/templatev0.0.0-2019071801265 · 1×
github.com/alecthomas/unitsv0.0.0-2023120207171 · 1×
github.com/andybalholm/cascadiav1.3.3 · 1×

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add client \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact