/awesome-buck2

Collection of resources about Buck2

Awesome Buck2

A collection of projects, articles and resources related to Buck2, Meta's official build tool.

Projects

Official repositories

  • Buck2 build tool
  • Prelude: read-only, PRs should go to Buck2 repository instead.
  • Reindeer: Reindeer is a tool which takes Rust Cargo dependencies and generates Buck build rules. Similar to Bazel's Gazelle.

Related Meta projects

  • Buck: some integration tests are re-used for Buck2.
  • Sapling: Meta's custom VCS originated from Mercurial.
  • Watchman: Meta's multi-platforms file watcher. Many dev tools integrate with it.
  • Starlark in Rust: Starlark implementation in Rust with LSP and Type-hint support.
  • Hermit: A linux hermetic, isolated sandbox for test executions and chaos experiments
  • Reverie: An ergonomic and safe syscall interception framework for Linux.
  • OcamlRep: libraries and tools to write applications and libraries mixing OCaml and Rust. Built with Buck2.
  • Antlir: rules and tools to build QEMU-compatible Linux Images for VM using Buck/Buck2. Antlir2 is being rewritten using Rust.
  • Shed: Meta's Rust libraries commonly used between open source projects.
  • Gazebo: Meta's Rust library collection of small well-tested primitives.
  • Glean: Meta's code intelligence platform.
  • SuperConsole: Buck2's terminal UI (CLI) library.

Community repositories

  • buck2-nix: An experiment to integrate Buck2, Sapling, and Nix together in a harmonious way.
  • install-buck2: Installing buck2 into Github Action.
  • buck2.nvim: Neovim configuration to integrate with Buck2's Starlark LSP.
  • buckle: Buck2 launcher / version manager, similar to Bazel's Bazelisk.
  • NoRedInk-UI: a project which uses Buck2 to build Elm front-end application(s).
  • buck2-go: An attempt to recreate Bazel's rules_go for Buck2.
  • buck2_lua_rules: An implementation of buck2 build and run rules for languages Lua and Teal

Articles

Official Docs

Community

Resources