File addition .rooignore (#15414)
This PR introduces a `.rooignore` file to the root of the repository to
optimize how AI coding assistants (like Roo) interact with the RAGFlow
codebase.
Currently, when AI agents index the workspace, they can waste tokens and
processing time reading through generated files, caches, large
dependency artifacts, and runtime logs. This `.rooignore` file provides
a standard configuration to exclude these irrelevant directories and
files (such as `.venv/`, `node_modules/`, `__pycache__/`, logs, and
large binaries). This significantly reduces indexing noise, prevents
accidental reads of sensitive or bulky local data, and ensures AI coding
agents remain focused strictly on relevant source code.
### Type of change
- [x] Other (please describe): Developer Experience (DX) / AI Tooling
configuration
2026-05-29 15:37:44 +03:00
|
|
|
# .rooignore for RAGFlow
|
|
|
|
|
# Purpose: reduce indexing noise, token waste, and accidental reads of generated files
|
|
|
|
|
|
|
|
|
|
# Git / platform
|
|
|
|
|
.git/
|
|
|
|
|
.github/
|
|
|
|
|
|
|
|
|
|
# IDE / local editor
|
|
|
|
|
.idea/
|
|
|
|
|
.vscode/
|
|
|
|
|
.trae/
|
|
|
|
|
|
|
|
|
|
# Python caches / build artifacts
|
|
|
|
|
__pycache__/
|
|
|
|
|
*.pyc
|
|
|
|
|
*.pyo
|
|
|
|
|
*.pyd
|
|
|
|
|
.pytest_cache/
|
|
|
|
|
.mypy_cache/
|
|
|
|
|
.ruff_cache/
|
|
|
|
|
.hypothesis/
|
|
|
|
|
.coverage
|
|
|
|
|
*.egg-info/
|
|
|
|
|
ragflow.egg-info/
|
|
|
|
|
sdk/python/ragflow_sdk.egg-info/
|
|
|
|
|
sdk/python/build/
|
|
|
|
|
sdk/python/dist/
|
|
|
|
|
build/
|
|
|
|
|
dist/
|
|
|
|
|
|
|
|
|
|
# Virtual environments
|
|
|
|
|
.venv/
|
|
|
|
|
venv/
|
|
|
|
|
env/
|
|
|
|
|
|
|
|
|
|
# Node / frontend dependencies and build output
|
|
|
|
|
node_modules/
|
|
|
|
|
web/node_modules/
|
|
|
|
|
web/dist/
|
|
|
|
|
web/build/
|
|
|
|
|
web/.cache/
|
|
|
|
|
*.tsbuildinfo
|
|
|
|
|
|
|
|
|
|
# Logs / runtime artifacts
|
|
|
|
|
logs/
|
|
|
|
|
docker/ragflow-logs/
|
|
|
|
|
*.log
|
|
|
|
|
npm-debug.log*
|
|
|
|
|
yarn-debug.log*
|
|
|
|
|
yarn-error.log*
|
|
|
|
|
.pnpm-debug.log*
|
|
|
|
|
|
|
|
|
|
# Large local dependency artifacts
|
|
|
|
|
libssl*.deb
|
|
|
|
|
tika-server*.jar*
|
|
|
|
|
cl100k_base.tiktoken
|
|
|
|
|
chrome*
|
|
|
|
|
huggingface.co/
|
|
|
|
|
nltk_data/
|
|
|
|
|
uv-x86_64*.tar.gz
|
|
|
|
|
uv-aarch64*.tar.gz
|
|
|
|
|
|
|
|
|
|
# Temp / data / local storage
|
|
|
|
|
tmp/
|
|
|
|
|
cache/
|
|
|
|
|
backup/
|
|
|
|
|
docker/data/
|
|
|
|
|
docker/oceanbase/conf
|
|
|
|
|
docker/oceanbase/data
|
|
|
|
|
docker/seekdb
|
|
|
|
|
|
|
|
|
|
# Native / compiled build dirs
|
|
|
|
|
target/
|
|
|
|
|
bin/
|
2026-07-03 17:00:43 +08:00
|
|
|
internal/binding/cpp/build/
|
|
|
|
|
internal/binding/cpp/cmake-build-release/
|
|
|
|
|
internal/binding/cpp/cmake-build-debug/
|
File addition .rooignore (#15414)
This PR introduces a `.rooignore` file to the root of the repository to
optimize how AI coding assistants (like Roo) interact with the RAGFlow
codebase.
Currently, when AI agents index the workspace, they can waste tokens and
processing time reading through generated files, caches, large
dependency artifacts, and runtime logs. This `.rooignore` file provides
a standard configuration to exclude these irrelevant directories and
files (such as `.venv/`, `node_modules/`, `__pycache__/`, logs, and
large binaries). This significantly reduces indexing noise, prevents
accidental reads of sensitive or bulky local data, and ensures AI coding
agents remain focused strictly on relevant source code.
### Type of change
- [x] Other (please describe): Developer Experience (DX) / AI Tooling
configuration
2026-05-29 15:37:44 +03:00
|
|
|
|
|
|
|
|
# Optional: skip tests and docs from indexing
|
|
|
|
|
# test/
|
|
|
|
|
# tests/
|
|
|
|
|
# docs/
|
|
|
|
|
|
|
|
|
|
# Ignore Roo's own config file
|
|
|
|
|
.rooignore
|