brain-db

(★ 29)

Memory database for AI agents — stores typed memories (facts, preferences, events, entities, relations) with provenance, confidence, and bi-temporal validity, and answers with fused semantic + lexical + entity-graph + temporal retrieval. One Rust core, one binary wire protocol. Apache-2.0.

File Explorer

  • .dockerignore
  • .env.example
  • .gitignore
  • .release-please-manifest.json
  • Cargo.lock
  • Cargo.toml
  • clippy.toml
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • DEPLOY.md
  • docker-compose.yml
  • Dockerfile
  • justfile
  • LICENSE
  • README.md
  • release-please-config.json
  • rust-toolchain.toml
  • rustfmt.toml
  • SECURITY.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

Alex

View Details ▼

Catch insensitive, inconsiderate writing.
It helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing in text.

echo {{His network looks good}} | alex --stdin

Analyze text from `stdin`:

alex

Analyze all files in the current directory:

alex {{path/to/file.md}}

Analyze a specific file:

🔍

cargo run

View Details ▼

Run the current Cargo package.
Note: The working directory of the executed binary will be set to the current working directory.

cargo {{[r|run]}}

Run the default binary target:

cargo {{[r|run]}} --bin {{name}}

Run the specified binary:

cargo {{[r|run]}} --example {{name}}

Run the specified example:

🔍

cargo test

View Details ▼

Execute the unit and integration tests of a Rust package.

cargo {{[t|test]}} {{test_name}}

Only run tests containing a specific string in their names:

cargo {{[t|test]}} -- --test-threads {{count}}

Set the number of simultaneous running test cases:

cargo {{[t|test]}} {{[-r|--release]}}

Test artifacts in release mode, with optimizations:

🔍

cargo

View Details ▼

Manage Rust projects and their module dependencies (crates).
Some subcommands such as `build` have their own usage documentation.

cargo search {{search_string}}

Search for crates:

cargo install {{crate_name}}

Install a binary crate:

cargo install --list

List installed binary crates:

🔍

fmt

View Details ▼

Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default).

fmt {{path/to/file}}

Reformat a file:

fmt {{[-w|--width]}} {{n}} {{path/to/file}}

Reformat a file producing output lines of (at most) `n` characters:

fmt {{[-s|--split-only]}} {{path/to/file}}

Reformat a file without joining lines shorter than the given width together:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git log

View Details ▼

Show a history of commits.

git log

Show the sequence of commits starting from the current one, in reverse chronological order of the Git repository in the current working directory:

git log {{[-p|--patch]}} {{path/to/file_or_directory}}

Show the history of a particular file or directory, including differences:

git log --stat

Show an overview of which file(s) changed in each commit:

🔍

just

View Details ▼

Save and run project-specific commands.

just {{recipe}}

Run a recipe specified in the justfile:

just

Start a REPL (interactive shell):

just --init

Initialize new justfile in project root:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

uuid

View Details ▼

Generate and decode Universally Unique Identifiers (UUID).
See also: `uuidgen`.

uuid

Generate a UUIDv1 (based on time and system's hardware address, if present):

uuid -v 4

Generate a UUIDv4 (based on random data):

uuid -v 4 -n {{number_of_uuids}}

Generate multiple UUIDv4 identifiers at once:

// repository documentation