Skip to content

Commit c9a89bc

Browse files
andreakirokalil0321giordano-lucas
committed
ui, infra hardening, and benchmark results
Co-Authored-By: kalil0321 <kalil.bouzigues@gmail.com> Co-Authored-By: Lucas Giordano <43466781+giordano-lucas@users.noreply.github.com>
1 parent ee8d29b commit c9a89bc

68 files changed

Lines changed: 2285 additions & 1339 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
root:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
17+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
18+
with:
19+
node-version: 20
20+
cache: npm
21+
cache-dependency-path: package-lock.json
22+
- run: npm ci
23+
- run: npm run build
24+
- run: npm audit --package-lock-only
25+
26+
web:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
30+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
31+
with:
32+
node-version: 20
33+
cache: npm
34+
cache-dependency-path: web/package-lock.json
35+
- run: npm ci
36+
working-directory: web
37+
- run: npm run build
38+
working-directory: web
39+
- run: npm audit --package-lock-only
40+
working-directory: web

.github/workflows/hello-browser.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.github/workflows/secrets.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Secret Scan
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
scan:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
17+
- name: Scan tracked files for common secrets
18+
run: |
19+
set -euo pipefail
20+
21+
pattern='(ghp_[A-Za-z0-9]{36}|github_pat_[A-Za-z0-9_]{20,}|AKIA[0-9A-Z]{16}|-----BEGIN (RSA|EC|OPENSSH|DSA|PGP) PRIVATE KEY-----|xox[baprs]-[A-Za-z0-9-]{10,}|sk_live_[A-Za-z0-9]{16,}|sk-[A-Za-z0-9]{48,}|(OPENAI_API_KEY|ANTHROPIC_API_KEY)[[:space:]]*[:=][[:space:]]*[^[:space:]]+)'
22+
23+
if git ls-files -z | xargs -0 grep -nIE "$pattern"; then
24+
echo "Potential secret material detected"
25+
exit 1
26+
fi
27+
28+
echo "No known secret patterns detected"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Browser Arena contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)