mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
Some checks failed
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Update Roadmap Released / update (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
* generate protobuf types * stream poc over SSE * wip: make stream search api follow existing schema. Modify UI to support streaming * fix scrolling issue * Dockerfile * wip on lezer parser grammar for query language * add lezer tree -> grpc transformer * remove spammy log message * fix syntax highlighting by adding a module resolution for @lezer/common * further wip on query language * Add case sensitivity and regexp toggles * Improved type safety / cleanup for query lang * support search contexts * update Dockerfile with query langauge package * fix filter * Add skeletons to filter panel when search is streaming * add client side caching * improved cancelation handling * add isSearchExausted flag for flagging when a search captured all results * Add back posthog search_finished event * remove zoekt tenant enforcement * migrate blocking search over to grpc. Centralize everything in searchApi * branch handling * plumb file weburl * add repo_sets filter for repositories a user has access to * refactor a bunch of stuff + add support for passing in Query IR to search api * refactor * dev README * wip on better error handling * error handling for stream path * update mcp * changelog wip * type fix * style * Support rev:* wildcard * changelog * changelog nit * feedback * fix build * update docs and remove uneeded test file
88 lines
2.3 KiB
Text
88 lines
2.3 KiB
Text
|
|
# Prisma
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres"
|
|
|
|
# Zoekt
|
|
ZOEKT_WEBSERVER_URL="http://localhost:6070"
|
|
# The command to use for generating ctags.
|
|
CTAGS_COMMAND=ctags
|
|
|
|
# Auth.JS
|
|
# You can generate a new secret with:
|
|
# openssl rand -base64 33
|
|
# @see: https://authjs.dev/getting-started/deployment#auth_secret
|
|
AUTH_SECRET="00000000000000000000000000000000000000000000"
|
|
AUTH_URL="http://localhost:3000"
|
|
# AUTH_CREDENTIALS_LOGIN_ENABLED=true
|
|
# AUTH_EE_GITHUB_CLIENT_ID=""
|
|
# AUTH_EE_GITHUB_CLIENT_SECRET=""
|
|
# AUTH_EE_GOOGLE_CLIENT_ID=""
|
|
# AUTH_EE_GOOGLE_CLIENT_SECRET=""
|
|
|
|
DATA_CACHE_DIR=${PWD}/.sourcebot # Path to the sourcebot cache dir (ex. ~/sourcebot/.sourcebot)
|
|
SOURCEBOT_PUBLIC_KEY_PATH=${PWD}/public.pem
|
|
# CONFIG_PATH=${PWD}/config.json # Path to the sourcebot config file (if one exists)
|
|
|
|
# Email
|
|
# EMAIL_FROM_ADDRESS="" # The from address for transactional emails.
|
|
# SMTP_CONNECTION_URL="" # The SMTP connection URL for transactional emails.
|
|
|
|
# PostHog
|
|
# POSTHOG_PAPIK=""
|
|
# NEXT_PUBLIC_POSTHOG_PAPIK=""
|
|
|
|
# Sentry
|
|
# SENTRY_BACKEND_DSN=""
|
|
# NEXT_PUBLIC_SENTRY_WEBAPP_DSN=""
|
|
# SENTRY_ENVIRONMENT="dev"
|
|
# NEXT_PUBLIC_SENTRY_ENVIRONMENT="dev"
|
|
# SENTRY_AUTH_TOKEN=
|
|
|
|
# Logtail
|
|
# LOGTAIL_TOKEN=""
|
|
# LOGTAIL_HOST=""
|
|
|
|
# Redis
|
|
REDIS_URL="redis://localhost:6379"
|
|
|
|
# Stripe
|
|
# STRIPE_SECRET_KEY: z.string().optional(),
|
|
# STRIPE_PRODUCT_ID: z.string().optional(),
|
|
# STRIPE_WEBHOOK_SECRET: z.string().optional(),
|
|
# STRIPE_ENABLE_TEST_CLOCKS=false
|
|
|
|
# Agents
|
|
|
|
# GITHUB_APP_ID=
|
|
# GITHUB_APP_PRIVATE_KEY_PATH=
|
|
# GITHUB_APP_WEBHOOK_SECRET=
|
|
# OPENAI_API_KEY=
|
|
REVIEW_AGENT_LOGGING_ENABLED=true
|
|
REVIEW_AGENT_AUTO_REVIEW_ENABLED=false
|
|
REVIEW_AGENT_REVIEW_COMMAND=review
|
|
|
|
# Misc
|
|
|
|
# Generated using:
|
|
# openssl rand -base64 24
|
|
SOURCEBOT_ENCRYPTION_KEY="00000000000000000000000000000000"
|
|
|
|
SOURCEBOT_LOG_LEVEL="debug" # valid values: info, debug, warn, error
|
|
SOURCEBOT_TELEMETRY_DISABLED=true # Disables telemetry collection
|
|
|
|
# Code-host fallback tokens
|
|
# FALLBACK_GITHUB_CLOUD_TOKEN=""
|
|
# FALLBACK_GITLAB_CLOUD_TOKEN=""
|
|
# FALLBACK_GITEA_CLOUD_TOKEN=""
|
|
|
|
# Controls the number of concurrent indexing jobs that can run at once
|
|
# INDEX_CONCURRENCY_MULTIPLE=
|
|
|
|
# Controls the version of the web app
|
|
# NEXT_PUBLIC_SOURCEBOT_VERSION=
|
|
|
|
# CONFIG_MAX_REPOS_NO_TOKEN=
|
|
NODE_ENV=development
|
|
# SOURCEBOT_TENANCY_MODE=single
|
|
|
|
# NEXT_PUBLIC_SOURCEBOT_CLOUD_ENVIRONMENT=
|