Skip to content

Commit aa1ded2

Browse files
committed
feat: merge web dashboard into main repo
- Next.js web dashboard under web/ directory - Python serverless API with static analysis and LLM roasts - Security, accessibility, and quality audit fixes - Updated README with web dashboard docs - Updated .gitignore for Next.js artifacts
1 parent a23ac84 commit aa1ded2

23 files changed

Lines changed: 3964 additions & 2 deletions

‎.gitignore‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ env/
1717

1818
# Environment files
1919
.env
20-
.env.*
20+
.env.local
21+
.env*.local
2122

2223
# Test / coverage
2324
.pytest_cache/
@@ -28,4 +29,12 @@ htmlcov/
2829
# Editor / OS
2930
.DS_Store
3031
.vscode/
31-
.idea/
32+
.idea/
33+
34+
# Next.js (web dashboard)
35+
web/node_modules/
36+
web/.next/
37+
web/out/
38+
web/.vercel/
39+
web/*.tsbuildinfo
40+
web/next-env.d.ts

‎README.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,36 @@ What changed in `0.2.0`:
7070

7171
_Recorded with VHS._
7272

73+
## Web Dashboard
74+
75+
A Next.js web dashboard is included in the `web/` directory. It provides a browser-based UI for roasting repos via GitHub URL.
76+
77+
**Live**: https://roast-web-six.vercel.app
78+
79+
### Running locally
80+
81+
```bash
82+
cd web
83+
npm install
84+
npm run dev
85+
```
86+
87+
### Environment variables
88+
89+
Copy `.env.example` to `.env.local`:
90+
91+
```bash
92+
cp .env.example .env.local
93+
```
94+
95+
Required for LLM roasts:
96+
- `NVIDIA_NIM_API_KEY` — NVIDIA NIM API key (optional, fallback roasts work without it)
97+
- `GITHUB_TOKEN` — GitHub token for higher API rate limits (optional)
98+
99+
### Deploy to Vercel
100+
101+
The `web/` directory is configured for Vercel deployment. Connect your repo to Vercel and set the root directory to `web/`.
102+
73103
## Famous Repo Roasts (2026-02-28)
74104

75105
- [requests HTML report](./famous-roasts/2026-02-28/requests/requests.html)

‎web/.env.example‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Environment Variables
2+
# Copy this to .env.local for local development
3+
4+
# NVIDIA NIM API Key for LLM-powered roasts (optional - fallback roasts work without it)
5+
NVIDIA_NIM_API_KEY=
6+
7+
# GitHub token for higher API rate limits (optional)
8+
GITHUB_TOKEN=

‎web/api/requirements.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jinja2==3.1.4
2+
pyyaml==6.0.1

0 commit comments

Comments
 (0)