Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "🔧 Running pre-commit checks..."

# Run comprehensive security check
echo "🔒 Checking for secrets..."
if ! ./scripts/check-secrets.sh; then
echo "❌ Security check failed!"
exit 1
fi

# Run basic formatting on staged files only
echo "💅 Formatting staged files..."
STAGED_FILES=$(git diff --cached --name-only)
if [ -n "$STAGED_FILES" ]; then
npx prettier --write --ignore-unknown $STAGED_FILES
# Add formatted files back to staging
git add $STAGED_FILES
fi
Comment thread
swoosh1337 marked this conversation as resolved.

echo "✅ Pre-commit checks passed!"
Binary file modified bun.lockb
Binary file not shown.
330 changes: 287 additions & 43 deletions code-executor-api/server.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@
<meta name="author" content="SimplyAlgo" />

<!-- Favicon -->
<link rel="icon" type="image/png" href="/src/assets/simplyalgo-logo.png" />
<link rel="apple-touch-icon" href="/src/assets/simplyalgo-logo.png" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/simplyalgo-logo.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/simplyalgo-logo.png" />

<meta property="og:title" content="SimplyAlgo - Master Coding Interviews" />
<meta property="og:description" content="Master coding patterns and solve problems to sharpen your programming skills. Interactive coding platform with AI-powered assistance." />
<meta property="og:type" content="website" />
<meta property="og:image" content="/src/assets/simplyalgo-logo.png" />
<meta property="og:image" content="/simplyalgo-logo.png" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="SimplyAlgo - Master Coding Interviews" />
<meta name="twitter:description" content="Master coding patterns and solve problems to sharpen your programming skills." />
<meta name="twitter:image" content="/src/assets/simplyalgo-logo.png" />
<meta name="twitter:image" content="/simplyalgo-logo.png" />
</head>

<body>
Expand Down
Loading