Skip to content

antonkad/llm-check-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Run as an API server

export GROQ_API_KEY='<Token>'
uvicorn main:app --reload

curl -X POST "http://localhost:8000/analyse" \
     -H "Content-Type: application/json" \
     -d '{
           "repo_url": "https://github.com/vercel/vercel",
           "ref": "main",
           "mono_path": "examples/vue"
         }'

Try with as a client tool

docker run --rm -e GROQ_API_KEY='<Token>' \
            -v $(pwd)/main.py:/app/check-repo.py \
            -v $(pwd)/requirements.txt:/app/requirements.txt \
            python:3.10 sh -c "pip install -r /app/requirements.txt && python /app/check-repo.py https://github.com/vercel/vercel main --mono_path examples/vue"

Result

{'language': 'javascript', 'framework': 'vue'}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages