nwHacks 2026
Multi-agent security vulnerability scanner.
npm installnpm run devThe server will start at http://localhost:3000
Option A: Using curl
curl -X POST http://localhost:3000/api/clone \
-H "Content-Type: application/json" \
-d '{"githubUrl": "https://github.com/vercel/next.js"}'Option B: Using a REST client (Postman, Insomnia, etc.)
- Method:
POST - URL:
http://localhost:3000/api/clone - Headers:
Content-Type: application/json - Body:
{
"githubUrl": "https://github.com/vercel/next.js"
}Option C: Using the browser
Visit http://localhost:3000 to see the homepage with instructions.
Clones a GitHub repository locally.
Request Body:
{
"githubUrl": "https://github.com/user/repo"
}Response:
{
"success": true,
"sessionId": "uuid-here",
"repoPath": "/tmp/trojan_repos/uuid-here",
"message": "Repository cloned successfully"
}Supported URL formats:
https://github.com/user/repogithub.com/user/repogit@github.com:user/repo.git