MCPcopy Index your code
hub / github.com/brioche-dev/brioche

github.com/brioche-dev/brioche @v0.1.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.8 ↗ · + Follow
4,586 symbols 10,358 edges 238 files 2,130 documented · 46%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Brioche

Brioche is a package manager and build tool for building and running your most complex software projects.

import * as std from "std";
import { cargoBuild } from "rust";

export default () => {
  // Build a Rust project
  const server = cargoBuild({
    crate: Brioche.glob("src", "Cargo.*"),
  });

  // Put it in a container image
  return std.ociContainerImage({
    recipe: server,
    entrypoint: ["/bin/server"],
  });
}

Features

  • Caching - All build artifacts are saved and re-used between builds, saving you time when only a part of your project changes. You can even share the cache between machines using an S3-compatible storage provider
  • Lockfiles - All of your dependencies are automatically saved in a lockfile, making your builds super reliable for everyone on your team
  • TypeScript - Build scripts are written in TypeScript, giving you the flexibility of a familiar full programming language (with great type checking and editor completions!)
  • Cross-ecosystem - Build your project regardless of language, and easily mix different languages and ecosystems in one project
  • Cross-compilation (work in progress) - Easily build your project from any platform, to any platform
  • Dev environments (work in progress) - Set up a suite of tools to help onboard new team members quickly

Installation

Run this in your terminal for quick installation:

curl --proto '=https' --tlsv1.2 -sSfL 'https://brioche.dev/install.sh' | sh

...or check out the official docs on Installation for more installation options.

To install from source, simply check out this repo and run cargo install --locked --path crates/brioche. This will install Brioche into ~/.cargo/bin. You can also run it as a normal Rust project using cargo run.

Packages

See the brioche-packages repo for Brioche packages

Extension points exported contracts — how you extend this code

FontFace (Interface)
* The **`FontFace`** interface of the CSS Font Loading API represents a single usable font face. * * [MDN Reference](h [3 …
crates/brioche-core/runtime/tslib/lib.webworker.d.ts
ReadSeek (Interface)
(no doc) [1 implementers]
crates/brioche/src/jobs.rs
ImportMeta (Interface)
* The type of `import.meta`. * * If you need to declare that a given property exists on `import.meta`, * this type ma [1 …
crates/brioche-core/runtime/tslib/lib.es5.d.ts
CSSStyleValue (Interface)
* The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible thr [1 …
crates/brioche-core/runtime/tslib/lib.webworker.d.ts
GPURenderBundleEncoder (Interface)
* The **`GPURenderBundleEncoder`** interface of the WebGPU API is used to pre-record bundles of commands. * Available o [1 …
crates/brioche-core/runtime/tslib/lib.webworker.d.ts
TextDecoder (Interface)
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as UTF-8, ISO-8859-2, or GBK. [1 …
crates/brioche-core/runtime/tslib/lib.webworker.d.ts

Core symbols most depended-on inside this repo

clone
called by 565
crates/brioche-core/runtime/tslib/lib.webworker.d.ts
join
called by 260
crates/brioche-core/runtime/tslib/lib.es5.d.ts
write_file
called by 218
crates/brioche-test-support/src/lib.rs
file
called by 198
crates/brioche-test-support/src/lib.rs
map
called by 183
crates/brioche-core/runtime/tslib/lib.es5.d.ts
blob
called by 169
crates/brioche-test-support/src/lib.rs
mkdir
called by 166
crates/brioche-test-support/src/lib.rs
insert
called by 136
crates/brioche-core/src/recipe.rs

Shape

Method 2,477
Interface 1,135
Function 703
Class 183
Enum 88

Languages

TypeScript72%
Rust28%

Modules by API surface

crates/brioche-core/runtime/tslib/lib.webworker.d.ts1,571 symbols
crates/brioche-core/runtime/tslib/lib.es5.d.ts506 symbols
crates/brioche-core/runtime/tslib/lib.esnext.temporal.d.ts161 symbols
crates/brioche-core/runtime/tslib/lib.es2015.iterable.d.ts130 symbols
crates/brioche-core/runtime/tslib/lib.es2015.core.d.ts89 symbols
crates/brioche-core/runtime/tslib/lib.es2023.array.d.ts80 symbols
crates/brioche-core/runtime/tslib/lib.es2020.bigint.d.ts77 symbols
crates/brioche-core/src/recipe.rs69 symbols
crates/brioche-test-support/src/lib.rs62 symbols
crates/brioche-core/src/project.rs53 symbols
crates/brioche-core/tests/bake_process.rs48 symbols
crates/brioche-core/runtime/tslib/lib.es2015.symbol.wellknown.d.ts44 symbols

For agents

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

⬇ download graph artifact