> ## Documentation Index
> Fetch the complete documentation index at: https://site.aspect.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Open Source Projects

> Index of Aspect's open-source Bazel projects: rulesets, the Aspect CLI, Gazelle generators, and shared utilities organized by language and category.

Aspect maintains a broad portfolio of open-source Bazel rulesets, tools, and examples. Most repositories live in the [aspect-build GitHub org](https://github.com/aspect-build); some have been donated to the [bazel-contrib org](https://github.com/bazel-contrib) for community co-maintenance.

See [Contributing](/open-source) for our contribution philosophy and prioritization framework.

## Python

| Repository                                            | Description                                                                                                                                                                               |
| ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [rules\_py](https://github.com/aspect-build/rules_py) | High-performance Python rules with native `uv` integration, strict hermeticity, and optimized OCI image layer support. Drop-in replacements for `py_binary`, `py_library`, and `py_test`. |

## JavaScript and TypeScript

| Repository                                                      | Description                                                                                                                         |
| --------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [rules\_js](https://github.com/aspect-build/rules_js)           | High-performance Bazel rules for JavaScript and Node.js using a pnpm-based package layout. The foundation of Aspect's JS ecosystem. |
| [rules\_ts](https://github.com/aspect-build/rules_ts)           | Canonical Bazel rules for TypeScript, built on `rules_js`. Provides `ts_project` for transpilation and type-checking.               |
| [rules\_swc](https://github.com/aspect-build/rules_swc)         | Bazel rules for the SWC Rust-based JavaScript compiler — Babel-compatible transformations at \~20× the speed.                       |
| [rules\_esbuild](https://github.com/aspect-build/rules_esbuild) | Bazel rules for the esbuild bundler with a hermetic toolchain — no `npm install` required.                                          |
| [rules\_webpack](https://github.com/aspect-build/rules_webpack) | Bazel rules for Webpack, for teams migrating from existing Webpack builds.                                                          |
| [rules\_rollup](https://github.com/aspect-build/rules_rollup)   | Pure-Starlark Bazel rules for the Rollup bundler, compatible with the `rules_js` ecosystem.                                         |
| [rules\_terser](https://github.com/aspect-build/rules_terser)   | Bazel rules for the Terser JavaScript minifier.                                                                                     |
| [rules\_jest](https://github.com/aspect-build/rules_jest)       | Bazel rules to run tests with the Jest test runner.                                                                                 |
| [rules\_jasmine](https://github.com/aspect-build/rules_jasmine) | Bazel rules to run tests with the Jasmine test framework.                                                                           |
| [rules\_cypress](https://github.com/aspect-build/rules_cypress) | Bazel rules to run end-to-end tests with Cypress.                                                                                   |
| [rules\_nodejs](https://github.com/bazel-contrib/rules_nodejs)  | Bazel rules for fetching the Node.js binary and `@bazel/runfiles`. Long-term maintained by Aspect under `bazel-contrib`.            |

## Build File Generation

| Repository                                                       | Description                                                                                                                                                                                                                                                                                                              |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [aspect-gazelle](https://github.com/aspect-build/aspect-gazelle) | Pre-compiled Gazelle binaries bundling BUILD file generators for Python, JavaScript & TypeScript, Go, Protobuf, C/C++, and Starlark, the Orion host for AXL-based custom generators, plus gitignore support, file-based caching, and Watchman-powered watch mode. See [How to extend Gazelle](/docs/cli/guides/gazelle). |

## Linting and Formatting

| Repository                                                | Description                                                                                                                                                                                                        |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [rules\_lint](https://github.com/aspect-build/rules_lint) | Runs linters and formatters as standard Bazel actions across 20+ tools (ESLint, Prettier, Ruff, gofmt, and more), with Remote Execution and Remote Cache support. See [Linting & Formatting](/docs/bazel/linting). |

## Images and Containers

| Repository                                               | Description                                                                                                                       |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [rules\_oci](https://github.com/bazel-contrib/rules_oci) | Bazel rules for building OCI container images without Docker. Built by Aspect under `bazel-contrib` in collaboration with Google. |

## Examples and Templates

| Repository                                                                             | Description                                                                                                                                                                                             |
| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bazel-examples](https://github.com/aspect-build/bazel-examples)                       | A polyglot reference monorepo demonstrating Bazel at scale across Go, Python, Java, JavaScript, Rust, Ruby, and more. Also the live test bed for Aspect's CI integrations.                              |
| [aspect-workflows-template](https://github.com/aspect-build/aspect-workflows-template) | Source of truth for the project templates rendered by `aspect init` and published as the `aspect-starters` repositories.                                                                                |
| [aspect-starters](https://github.com/aspect-starters)                                  | Per-language starter template repositories (go, js, py, java, kotlin, cpp, rust, ruby, scala, shell, minimal, kitchen-sink). Use GitHub's "Use this template" button, or `aspect init --preset <name>`. |

## Aspect CLI

| Repository                                               | Description                                                                                                                                              |
| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [aspect-cli](https://github.com/aspect-build/aspect-cli) | A programmable task runner built on top of Bazel. Supports custom tasks via the [Aspect Extension Language (AXL)](/docs/axl/types) — a Starlark dialect. |

## Utilities and Libraries

| Repository                                           | Description                                                                                                                         |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [toml.bzl](https://github.com/aspect-build/toml.bzl) | A small Bazel library for consuming TOML files in repository rules, following the API convention of Bazel's built-in `json` module. |

## Under `bazel-contrib`

Projects Aspect authors or maintains under the community `bazel-contrib` org:

| Repository                                                        | Description                                                                                                                                                            |
| ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bazel-lib](https://github.com/bazel-contrib/bazel-lib)           | Common utility rules and functions for writing Bazel rules in Starlark. Originally authored by Aspect; donated to `bazel-contrib`.                                     |
| [publish-to-bcr](https://github.com/bazel-contrib/publish-to-bcr) | Automation for publishing Bazel module releases to the [Bazel Central Registry](https://registry.bazel.build). Originally built by Aspect; donated to `bazel-contrib`. |

## Contracted Maintenance

Projects owned by third parties that Aspect maintains under contract:

| Repository                                                  | Owner      | Description                                                                      |
| ----------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------- |
| [rules\_apko](https://github.com/chainguard-dev/rules_apko) | Chainguard | Bazel rules for apko — builds OCI images from APK packages without a Dockerfile. |
