Skip to content

Repository files navigation

Bazoekt

Test Tag and Release Publish on Bazel Central Registry Publish to my Bazel registry

Easy indexing for your Bazel project. $\text{bazoekt} = \text{bazel} + \text{zoekt}$

This is a small wrapper and an easy addition to your Bazel projects, that provides powerful code indexing features. It is easy for anyone to add indexing to a Bazel project. But now, that work has been done for you, so you can save yourself some 30 or so minutes with bazoekt. Add it to your Bazel MODULE.bazel, and you get fast code indexing and search.

Thanks to the excellent zoekt software by H.-W. Nijenhuis which does the real actual work. I only provided the glue.

Installation

First, configure your .bazelrc to pull modules from the custom registry. Add the following to your .bazelrc to get access to my bazel registry:

common --registry=https://raw.githubusercontent.com/filmil/bazel-registry/main
common --registry=https://bcr.bazel.build

Next, add the following into your MODULE.bazel file:

bazel_dep(name = "bazoekt", version = "0.1.1", dev_dependency = True)

This should be enough to have bazoekt available to you.

Index

Update your index, by occasionally running the following:

bazel run @bazoekt//:index

Search

Start the web server for the index:

bazel run @bazoekt//:serve

Visit http://localhost:6070 to search.

About

Fast source code indexing and lookup for bazel projects, powered by `zoekt`

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages