Getting Started
Analyze a GitHub or GitLab repository to explore its structure, file dependencies and detected security findings. Analysis time and coverage depend on the repository.
Quickstart
Go to the Analyzer
Paste a Repository URL
Click Analyze
Authentication
Xolvyn uses OAuth-based authentication through Auth.js. You can sign in using your GitHub or GitLab account — no separate password required.
Supported Providers
| Provider | Scopes Requested | What It Enables |
|---|---|---|
GitHub | repo | Private repo access, profile info |
GitLab | api | Private repo access, profile info |
How It Works
Click 'Continue with GitHub' or 'Continue with GitLab'
Authorize the Application
Token is Stored Securely
Private Repositories
Analyzing private repositories requires authentication. When you log in via GitHub or GitLab, Xolvyn stores your OAuth token and uses it to authenticate git clone operations.
How Private Cloning Works
Private cloning uses authorized provider credentials supplied to the server-side clone operation. The examples below omit credentials:
# Public repo (no token needed)
git clone --depth 1 https://github.com/owner/repo
# Private repo (authorized credentials supplied separately)
git clone --depth 1 https://github.com/owner/private-repoData Handling
Cleanup is attempted after analysis
Review AI provider retention before connecting private code
Saved analysis reports exclude source snippets
Only the latest commit is cloned (--depth 1)
Dependency Graph
The dependency graph maps resolved imports between supported source files. It is a structural view of the analyzed revision, not a call graph or runtime trace.
Node Colors (Layers)
| Color | Layer | Example |
|---|---|---|
Cyan | api | api/user/route.ts |
Teal | middleware | middleware.ts |
Violet | service | auth.service.ts |
Pink | core | core/engine.ts |
Pale green | model | models/user.ts |
Light neutral | config | config.ts |
Stone | util | utils/format.ts |
Gray | test | auth.test.ts |
Interactions
Click any node to inspect it in the Auditor Panel. Use the minimap to navigate large graphs. Toggle fullscreen mode with the expand button. Zoom and pan are fully supported via mouse or trackpad.
Security Audit
Available checks analyze supported files and dependencies. Review which checks completed; no findings does not mean the repository is secure.
What We Scan For
| Category | Examples | Severity |
|---|---|---|
Hardcoded Secrets | API keys, tokens, passwords in source | Critical |
Unsafe Functions | eval(), innerHTML, dangerouslySetInnerHTML | High |
Injection Vectors | SQL injection, XSS, command injection | High |
Missing Validation | Unvalidated user inputs in handlers | Medium |
Style Violations | console.log in production, TODO/FIXME | Low |
Scoring
The analysis displays a grade and a score alongside the assessed maximum. The score reflects completed checks; it is not a security certification.
| Grade | Score Range | Meaning |
|---|---|---|
A | 80 – 100 | Excellent — few or no issues found |
B | 60 – 79 | Good — some warnings to address |
C | 40 – 59 | Fair — notable security concerns |
D | 0 – 39 | Poor — critical issues need attention |
AI Mentor (@mentor)
The @mentor is an AI assistant using repository analysis as context. Its answers are interpretations; check important claims against the linked files.
How to Use
Run an Analysis
Click "Ask @mentor"
Ask Questions in Natural Language
Example Prompts
In the workspace file reader, Explain from source is a separate, optional action. Choose an excerpt, review the source-sharing notice, then explicitly send it to Google Gemini. It uses the same message limits and AI-credit rules as @mentor. Source is not added to chat history or saved by Xolvyn. Generated interpretations and your corrections remain in tab memory until reload and can be included in an explicit area-brief export. Citation ranges are checked, not the reasoning; confirm provider-retention terms before sharing private code.
PR Impact Analysis
PR impact views highlight changed files and their import dependents. Review these as potential structural impact, not a prediction that execution will fail.
Status Labels
| Status | Color | Meaning |
|---|---|---|
modified | 🟠 Orange | This file is directly changed in the PR |
impacted | 🔴 Red | This file imports a changed file, directly or transitively |
safe | 🟢 Green | No resolved import path connects it to changed files; runtime safety is not established |
VS Code Extension
A VS Code extension is in development and will ship with Pro.
API Reference
Xolvyn exposes a single REST endpoint for programmatic analysis.
POST /api/analyze
Analyzes a GitHub or GitLab repository and returns a dependency graph plus an audit report.
curl -X POST https://your-domain.com/api/analyze \
-H "Content-Type: application/json" \
-d '{"repo_url": "https://github.com/expressjs/express"}'Request Body
| Field | Type | Required | Description |
|---|---|---|---|
repo_url | string | Yes | Full GitHub or GitLab repository URL |
github_url | string | No | Legacy alias for repo_url (backwards compatible) |
Response
{
"dependency_graph": {
"nodes": [{ "id": "src/app.ts", "layer": "core" }],
"edges": [{ "from": "src/app.ts", "to": "src/routes.ts" }],
"stats": { "total_modules": 47 }
},
"audit_report": {
"summary": {
"score": 82,
"grade": "A",
"total_files": 47,
"security_issues": 2,
"style_violations": 5,
"scan_duration": "1.2s"
}
},
"persisted": true
}Error Codes
| Status | Meaning |
|---|---|
400 | Invalid URL format |
402 | Insufficient credits |
403 | Private repo — login required |
404 | Repository not found |
413 | Repository exceeds the current analysis limits |
429 | Rate limit exceeded |
504 | GitHub/GitLab API timeout |
Credits & Billing
Xolvyn uses a credit-based system. Each analysis costs 1 credit.
Credit Allocation
Check the pricing page for current plan allowances and your dashboard for available credits. Limits differ by plan and analysis type.
How Credits Are Deducted
1 credit is deducted after a successful analysis. If the analysis fails (e.g., timeout, clone error), no credit is deducted. You can view your balance on the Dashboard.
FAQ
What languages does Xolvyn support?
Is there a repo size limit?
Does Xolvyn store my source code?
Can I self-host Xolvyn?
Can I use both GitHub and GitLab?
How do I get more credits?
Still have questions?
We're here to help. Reach out to our team or try the product for free.