view gui_ze/README.md @ 271:13d61401c57d

redirect Copilot cache to service state Set XDG_CACHE_HOME from the configured inference state so the systemd service can extract Copilot outside its protected home directory. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:24:05 -0700
parents b818a4561a3c
children
line wrap: on
line source

# gui_ze

Bazel rules for building GUI applications and web frontends.

## Files

| File | Description |
|------|-------------|
| `gui_ze.bzl` | Starlark rules for web/GUI builds |
| `time_to_first_byte.sh` | TTFB measurement script |

## Rules

Provides Bazel rules for:
- Bundling JavaScript/TypeScript with esbuild
- Building WASM modules with Emscripten
- Packaging web applications

## Usage

```starlark
load("//gui_ze:gui_ze.bzl", "web_bundle", "wasm_cc_binary")

web_bundle(
    name = "app",
    entry_point = "src/main.tsx",
    ...
)
```