back to home

BloopAI / bloop

bloop is a fast code search engine written in Rust.

9,518 stars
603 forks
43 issues
RustTypeScriptCSS

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing BloopAI/bloop in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/BloopAI/bloop)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<picture> <source media="(prefers-color-scheme: dark)" srcset="https://assets.bloop.ai/bloop_github_logo_dark.png"> <img alt="bloop logo" src="https://assets.bloop.ai/bloop_github_logo_light.png"> </picture>

bloop is ChatGPT for your code. Ask questions in natural language, search for code and generate patches using your existing codebase as context.

Engineers are increasing their productivity by using bloop to:

  • Explain how files or features work in simple language
  • Write new features, using their code as context
  • Understand how to use poorly documented open source libraries
  • Pinpoint errors
  • Ask questions about English language codebases in other languages
  • Reduce code duplication by checking for existing functionality

https://github.com/BloopAI/bloop/assets/7957964/01db3ccb-4af0-49a0-92d6-5a9c42357a51

Features

  • AI-based conversational search
  • Code Studio, an LLM playground that uses your code as context
  • Blazing fast regex search
  • Sync your local and GitHub repositories
  • Sophisticated query filters so you can narrow down your results
  • Find functions, variables or traits with symbol search
  • Precise code navigation (go-to-reference and go-to-definition) for 10+ of the most popular languages built with Tree-sitter
  • Privacy focussed on-device embedding for semantic search

bloop stands on the shoulders of the Rust ecosystem. Our search indexes are powered by Tantivy and Qdrant, and our multi-platform app is built with Tauri.

https://github.com/BloopAI/bloop/assets/7957964/93715188-d8d5-477b-8cd1-95d9cbd368cb

Get Started

The simplest way to get started with bloop is to download the app and follow the onboarding steps. Checkout our getting started guide and our references for conversational and regex search and Code Studio.

For instructions on how to build from source or run bloop from the command line, check out these pages:

If you encounter any index issues you can wipe the bloop cache and reindex. Instructions on how to do this on different platforms are here.

Building From Source

You can build bloop from source and run it with your own OpenAI API key. Clone the repo, make sure the oss branch is checked out, and create a file called local_config.json at the top-level of the repo. local_config.json should contain the following fields:

{
    "github_access_token": "<YOUR_GITHUB_ACCESS_TOKEN>",
    "openai_api_key": "<YOUR_OPENAI_API_KEY>"
}

Then follow these installation instructions. If built from source, bloop will not collect any telemetry.

Contributing

Open in Gitpod

Open in Codeanywhere

We welcome contributions big and small! Before jumping in please read our contributors guide and our code of conduct.

Here's how to find your way around the repo:

  • apps/desktop: The Tauri app
  • server/bleep: The Rust backend which contains the core search and navigation logic
  • client: The React frontend

We use Git LFS for dependencies that are expensive to build.

To make sure you have everything you need to start building, you'll need to install the git-lfs package for your favourite operating system, then run the following commands in this repo:

git lfs install
git lfs pull

If you find a bug or have a feature request, open an issue! You can find the application logs here:

OSLogs Path
MacOS~/Library/Application\ Support/ai.bloop.bloop/bleep/logs
Windows%APPDATA%/bloop/bleep/logs
Linux~/.local/share/bloop/bleep/logs

Privacy

We store as little data as possible. We use telemetry to helps us identify bugs and make data-driven product decisions. You can read our full privacy policy here.

License

bloop is licensed under the Apache 2.0 license as defined in LICENSE.