Skip to content

Web UI Overview

The Code Search web UI provides a powerful interface for searching and exploring your code.

Instant Search

Real-time search results as you type with syntax highlighting

Zoekt Filters

Filter by repository, language, file path, branch, and more using Zoekt query syntax

Code Preview

View matching code with full context and syntax highlighting

Management

Manage connections, repos, and indexing jobs

The web UI is available at your server’s address:

http://localhost:3000

Or if deployed:

https://your-code-search-domain.com

The main search interface at / includes:

  • Search Bar: Enter your query with optional Zoekt filters
  • Search Help: Quick reference for query syntax when no results
  • Results List: Matching code snippets with syntax highlighting
  • Repository Count: Shows total indexed repositories

Navigate to /connections to manage code host connections:

  • View all configured connections (GitHub, GitLab, Gitea, Bitbucket)
  • Add new connections with token authentication
  • Test connectivity to verify credentials
  • Trigger repository sync
  • View indexed repositories per connection
  • Read-only mode when managed via config file

Navigate to /repos to browse indexed repositories:

  • List all repositories with status indicators
  • Filter by connection, status, or name
  • View indexing status and last indexed time
  • Manually trigger re-indexing

Navigate to /jobs to monitor background jobs:

  • View all index, sync, and replace jobs
  • Filter by status (pending, running, completed, failed)
  • See job progress and timing
  • Cancel pending jobs

Navigate to /replace for bulk find-and-replace:

  • Search across repositories
  • Define replacement patterns
  • Preview changes before applying
  • Create merge requests with changes
  1. Open the web UI in your browser at http://localhost:3000
  2. If no repositories are indexed, go to Connections to add a code host
  3. Enter a search query in the search bar
  4. Use filters like repo:, file:, lang: to narrow results
  5. Click on a result to see the full file context