MCPcopy Index your code
hub / github.com/GerevAI/gerev

github.com/GerevAI/gerev @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
379 symbols 1,427 edges 78 files 14 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

⚡🔎 Live online demo!

AI-powered enterprise search engine 🔎

Join Discord for early access code!

Discord Follow DockerHub Pulls

Join here!

Search engine for your organization!

first image Find any conversation, doc, or internal page in seconds ⏲️⚡️
Join 100+ devs by hosting your own gerev instance, become a hero within your org! 💪

Made for help desk techies 👨‍💻

Troubleshoot Issues 🐛

fourth image

Or find internal issues fast ⚡️

second image

Integrations

  • [x] Slack
  • [x] Confluence
  • [X] Jira
  • [x] Google Drive (Docs, .docx, .pptx) - by @bary12 :pray:
  • [X] Confluence Cloud - by @bryan-pakulski :pray:
  • [X] Bookstack - by @flifloo :pray:
  • [X] Mattermost - by @itaykal :pray:
  • [X] RocketChat - by @flifloo :pray:
  • [X] Gitlab Issues - by @eran1232 :pray:
  • [ ] Zendesk (In PR :pray:)
  • [ ] Stackoverflow Teams (In PR :pray:)
  • [ ] Azure DevOps (In PR :pray:)
  • [ ] Phabricator (In PR :pray:)
  • [ ] Trello (In PR... :pray:)
  • [ ] Notion (In Progress... :pray:)
  • [ ] Asana
  • [ ] Sharepoint
  • [ ] Box
  • [ ] Dropbox
  • [ ] Github Enterprise
  • [ ] Microsoft Teams

:pray: - by the community

Add your own data source NOW 🚀

See the full guide at ADDING-A-DATA-SOURCE.md.

Natural Language

Enables searching using natural language. such as "How to do X", "how to connect to Y", "Do we support Z"


Getting Started

Managed Cloud (Pro)

Sign up Free
- [X] Authentication - [X] Multiple Users - [X] GPU machine - [X] 24/7 Support - Self hosted version (with multi-user also supported)

Self-hosted (Community)

  1. Install Nvidia for docker (on host that runs the docker runtime)
  2. Run docker

Nvidia for docker

Install nvidia container toolkit on the host machine.

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
   && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
   && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update

sudo apt-get install -y nvidia-docker2

sudo systemctl restart docker

Run docker

Then run the docker container like so:

Nvidia hardware

docker run --gpus all --name=gerev -p 80:80 -v ~/.gerev/storage:/opt/storage gerev/gerev

CPU only (no GPU)

docker run --name=gerev -p 80:80 -v ~/.gerev/storage:/opt/storage gerev/gerev

add -d if you want to detach the container.

Run from source

See ADDING-A-DATA-SOURCE.md in the Setup development environment section.

  • gerev is also popular with some big names. 😉

first image

Built by the community 💜

Made with contributors-img.

Extension points exported contracts — how you extend this code

ConfigField (Interface)
(no doc)
ui/src/data-source.ts
DataSourceType (Interface)
(no doc)
ui/src/data-source.ts
ConnectedDataSource (Interface)
(no doc)
ui/src/data-source.ts
IndexLocation (Interface)
(no doc)
ui/src/data-source.ts
AppState (Interface)
(no doc)
ui/src/App.tsx

Core symbols most depended-on inside this repo

get
called by 73
app/indexing/bm25_index.py
get_instance
called by 19
app/queues/task_queue.py
put_single
called by 14
app/queues/index_queue.py
add_task_to_queue
called by 11
app/data_source/api/base_data_source.py
update
called by 8
app/indexing/bm25_index.py
_capture
called by 6
app/telemetry.py
html_to_text
called by 5
app/parsers/html.py
init
called by 5
app/data_source/api/context.py

Shape

Method 213
Class 73
Function 65
Interface 14
Route 11
Enum 3

Languages

Python84%
TypeScript16%

Modules by API surface

app/data_source/sources/bookstack/bookstack.py22 symbols
app/data_source/api/base_data_source.py20 symbols
ui/src/App.tsx19 symbols
app/main.py16 symbols
app/data_source/sources/rocketchat/rocketchat.py16 symbols
app/data_source/sources/mattermost/mattermost.py16 symbols
app/data_source/sources/slack/slack.py15 symbols
app/data_source/sources/confluence/confluence.py15 symbols
app/api/data_source.py14 symbols
ui/src/components/search-result.tsx13 symbols
app/data_source/sources/jira/jira.py13 symbols
app/data_source/sources/google_drive/google_drive.py12 symbols

For agents

$ claude mcp add gerev \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact