File size: 871 Bytes
529f411
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: Skill Analyzer
emoji: ๐Ÿš€
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
---

# Skill Analyzer ๐Ÿš€

A FastAPI application that analyzes GitHub profiles to evaluate coding skills against professional standards.

## Features
- **Semantic Code Analysis**: Uses `CodeBERTa` (quantized) to understand code logic.
- **Streaming Response**: Returns analysis results in real-time.
- **Memory Optimized**: Runs efficiently within 512MB RAM (Render Free Tier / Spaces Basic).

## Usage
Send a POST request to `/analyze/github`:

```bash
curl -N -X POST "https://your-space-url.hf.space/analyze/github" \
     -H "Content-Type: application/json" \
     -d '{
           "github_username": "torvalds",
           "skills": ["C", "Linux"]
         }'
```

## Environment Variables
- `GITHUB_TOKEN`: Required for higher rate limits and accessing repositories.