rbrain.git

branch: master  ยท  14 files

$ git clone https://code.kevwe.com/git/rbrain.git

๐Ÿ“„ README.md

Remote Brain (rbrain)

An mTLS terminal client for Ollama APIs

rbrain is a minimalistic, secure terminal client for calling remote Ollama APIs.

Quick Start

Configuration File

Create the following example configuration file:

$ cat $HOME/.config/rbrain/config.json
{
  "endpoint": "https://<your-host>:<your-port>/api/generate",
  "model": "llama3.2",
  "dbfile": "/home/user/.config/rbrain/history.db",
  "tlsCertificate": "/some/path/to/certificate.pem",
  "tlsKeyFile": "/some/path/to/secret/key.pem",
  "tlsVerifyServer": "do-not-ever-skip"
}

Building RBrain

$ make

Running RBrain

You can just run the executable:

$ ./build/rbrain

License

RBrain is authored by Paolo Lulli 2026 and is publicly available under the Affero GPL license.

FileCommits
๐Ÿ“„.gitignore3
๐Ÿ“„COPYING1
๐Ÿ“„Makefile1
๐Ÿ“Readme.md1
๐Ÿ”งdoc/example-config.json1
๐Ÿ“„go.mod3
๐Ÿ“„go.sum3
๐Ÿ”ตinternal/config/config.go1
๐Ÿ”ตinternal/encoding/encoding.go1
๐Ÿ”ตinternal/ollama/ollama.go2
๐Ÿ”ตinternal/queries/queries.go4
๐Ÿ”ตinternal/service/service.go1
๐Ÿ”ตinternal/tlsclient/tlsclient.go3
๐Ÿ”ตmain.go5