Skip to content

Commit

Permalink
feat: adds a README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
filmil committed Dec 17, 2023
1 parent 7ad940d commit 5db9d65
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# Bazoekt [![Test status](https://github.com/filmil/bazoekt/workflows/Test/badge.svg)](https://github.com/filmil/bazoekt/workflows/Test/badge.svg)

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 `WORKSPACE`, and you get fast code indexing and search.

Thanks to the excellent [`zoekt`][zo] software by H,-W. Nijenhuis which does the real actual work.


[zo]: https://github.com/google/zoekt

## Installation

TBD, pending the resolution of https://github.com/bazelbuild/bazel-gazelle/issues/1694. Something weird is
going on there.

## Index

Update your index, by occasionally running the following:

```bash
bazel run @bazoekt//:index
```

## Search

Start the web server for the index:

```bash
bazel run @bazoekt//:serve
```

Visit http://localhost:6070 to search.

0 comments on commit 5db9d65

Please sign in to comment.