Greptile logo

AI expert on your codebase, via API.


Greptile understands the full context of your repos. Integrate it to review your pull requests, answer questions about your codebase in Slack, enrich Sentry alerts, and more!
Try asking me a question
SOC2 Compliance Logo
Backed byYCombinator Logo

Accelerating teams and developers at top companies

Hatch logo
Anima logo
Bland logo
Hatch logo
Anima logo
Bland logo

Ship faster

Greptile brings an AI expert on your codebase to every step of your software dev life cycle.

Slack Expert

Answer technical questions where your team lives. Live, up-to-date, and always-awake.

Vaishant's profile pic
Vaishant Kameswaram2 mins ago
What auth-related packages do we use in the frontend?
Greptile logo
Greptile App2 mins ago
In the frontend of the tabnam-inc/onboardme repository, the following authentication-related packages are used:
  • NextAuth: Utilized for session management and user authentication, as seen in the /src/app/api/session/auth/[...nextauth]/route.ts file.
  • @propelauth/nextjs: Employed for user authentication and session management, evident in various parts of the codebase, including the handling of GitHub and Slack OAuth integrations.
  • These packages facilitate the authentication process, including OAuth flows with external services like GitHub and Slack.

PR Auto-Reviewer

Get context-aware comments on every PR. Catch potential issues that human reviewers might not.

Daksh's profile pic
dakshgupopened a PR 1 hour ago
-12,44
.dockerignore
.env- # Comment out the following line to test env+ # .env.localnode_modules/.vscode/
Greptile logo
greptile-appsreviewed 1 hour ago
The modification in the .dockerignore file to comment out .env.local instead of ignoring it might unintentionally include local environment variables in Docker builds, which could lead to security vulnerabilities or unexpected behavior in different environments. It's crucial to ensure that sensitive or environment-specific files are not included in Docker images unless explicitly required for the application to function.

Ticket Enricher

Add context-based tips on where to start. Drop the barrier to take on a ticket.

Verify GitLab repos work with integrations
SC
soohooncreated the issue ⋅ 3 days ago
Greptile logo
Greptile2 mins ago
To verify if GitLab repositories work with the Linear and Slackbot integrations, you'll need to follow a structured approach since the provided codebase primarily references GitHub integrations. Here's how you can proceed:
  • GitHub Integration: The codebase includes specific references to GitHub, eg. /app/api/integrations/github/route.ts and/assets/apps/github/webhook.ts. These files handle GitHub webhook events and update integrations accordingly.
  • Linear Integration: The Linear integration, as seen in /src/app/api/integrations/linear/route.ts, does not specify the source control platform, suggesting it might be agnostic to whether the repository is on GitHub or GitLab. It does focus on updating Linear-specific settings.
  • Slack Integration: The Slack integration in /src/app/apps/slack/page.tsxprovides a JWT for further operations. It does not directly interact with source control platforms but could be part of a workflow that includes notifications or commands related to GitLab repos.

Docs Auto-Updater

Greptile can automatically update your docs based on code changes. Keep your docs up-to-date.

webhooks.ts +323 -41
2.2 Intro to Webhooks

Handling Webhooks

Turboroot sends a POST request to an endpoint you provide. You can verify the request via our signature and IP address.To get started, you need to create a webhook endpoint in your app. Then, you can use the TurboRoot SDK to verify the request.
Quip Logo

Design Doc Reviewer

Integrate Greptile with Quip or Google Docs to add codebase-aware comments, spotting gaps and considerations before programming begins.

What our users are saying

"Pretty darn impressed with Greptile so far. Loaded up a GitHub repo, and asked questions about a repo. Received quick, intelligent answers in plain English. It was even able to create a Mermaid diagram to help me visualize the code."

Sebastian Gallese

Sr Engineer, Included Health

Sebastian Gallese

"This is the best chat-with-your-code solution I have ever used."

Justin Torre

CEO, Helicone

Justin Torre

"I love Greptile. It's the only product I use on a daily basis besides ChatGPT. It makes diving into and contributing to new codebases so easy."

Erick Enriquez

CEO, InQuery

Erick Enriquez

"Incredible. I've been using it to understand new repos. It's like having a senior engineer in front of you."

Karun Kaushik

AI at MIT

Karun Kaushik

"The team is kick ass. If you use GPT while writing code, you should try Greptile. It's much more tailored to that use case than regular GPT. I've used the product to write tests and to debug how our code interacts with other repos."

Jack Chapman

CTO, Cardinal Gray

Jack Chapman

"I am extremely impressed and honestly quite surprised. I have GPT-4, Gemini Advanced, and Greptile in 3 different tabs. I'm writing my prompt and pasting it into all 3 AIs. ALL but ONE time, Greptile has given me BY FAR the best responses. The code is often complete without me begging. The context is far better since it has access to my repo."

Paul Suarez

Sr Engineer, Liberty Mutual

Paul Suarez

"This tool is absolutely amazing. Been absolutely loving it! Saving so much time for building out my side project as the project becomes bigger and bigger."

Anikonda

@anikonda

Anikonda

"Just wanted to say y'all are killing it. Currently using your service for help with a codebase for my masters thesis here at Georgia Tech and couldn't help but recommend to lab mates."

KineticDrive

AI at Georgia Tech

KineticDrive

"Greptile is 100x better than ChatGPT and 10x better than Cursor at answering questions about the entire codebase. I have no idea how they do it."

Rahul Behal

CTO, Gumloop

Rahul Behal

How it works

Greptile is an AI-powered API that can search and understand large codebases in plain language.
Hundreds of software teams use it to review PRs, enrich Sentry alerts, and answer questions in Slack.

Connect your GitHub/GitLab/Azure account.

Wait a few minutes while we index your repos.

Chat with your codebase!

Ask questions to understand how different parts work!

Add Greptile to your GitHub and Linear.

Add helpful context to every issue. Auto-review PRs.

Add Greptile to your #eng Slack channel

Answer questions about the codebase and unblock devs.

Add Greptile to GitHub to review PRs.

Greptile can review PRs with full codebase context.

Got a specific use case?

Use the REST API!

Try Greptile today.

Chat with your codebase. Integrate with GitHub, Linear, Slack, and more. Build internal tools on our API.

curl-XPOST'https://api.greptile.com/v2/query'
-H'Authorization: Bearer grp_abc'
-H'X-GitHub-Token: ghp_abc'
-d'{
"repositories": [
{
"repository": "facebook/react"
}
],"messages": [
{
"role": "human","content": "tell me about the codebase"
}
]}'