
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
homework-grader
Advanced tools
A high-performance CLI for grading homework submissions from CSV files and Notion databases with ultra-fast GitHub repository analysis
A high-performance TypeScript CLI for processing homework submissions from CSV files and Notion databases with ultra-fast GitHub repository analysis.
# From NPM (public)
npm install -g homework-grader
# From GitHub Packages (alternative)
npm install -g @trancethehuman/homework-grader
# From NPM (public)
npx homework-grader
# From GitHub Packages (alternative)
npx @trancethehuman/homework-grader
git clone https://github.com/trancethehuman/homework-grader.git
cd homework-grader
pnpm install
pnpm build
pnpm start
After installation, simply run:
homework-grader
The CLI will guide you through:
The CLI includes a built-in update checker that:
Example notification:
📦 Update available!
Current: 1.0.0
Latest: 1.1.0
Run the following to update:
npm install -g homework-grader@latest
pnpm build - Build TypeScript (required first)pnpm start - Run interactive modepnpm run dev - Development mode (no build needed)pnpm start file.csv - Legacy mode with CSV fileCreate a .env file in the project root with the following required variables:
# AI Provider API Keys (at least one required)
OPENAI_API_KEY="your-openai-api-key"
ANTHROPIC_API_KEY="your-anthropic-api-key"
GOOGLE_GENERATIVE_AI_API_KEY="your-google-ai-api-key"
# Notion OAuth (required for Notion access)
# Deploy `notion-proxy/` to Render and set env vars:
# NOTION_CLIENT_ID=234d872b-594c-80ec-9dac-00379870e655
# NOTION_CLIENT_SECRET=******
# REDIRECT_URI=https://<your-render-service>.onrender.com/callback
# Optional override (defaults to hosted proxy if omitted):
# NOTION_PROXY_URL=https://<your-render-service>.onrender.com
# Sandbox (required for ultra-fast processing)
E2B_API_KEY="your-e2b-api-key"
# Optional GitHub API settings
GITHUB_TOKEN="your-github-token"
GITHUB_API_ONLY=true # Force GitHub API mode (skip sandbox)
Setup Instructions:
/notion-proxy) to start OAuth; client secret lives only on the proxy./auth/start, /auth/status/:state, /callback, /refresh.https://<render>/callback (prod) or http://localhost:8765/callback (local)./health first to warm up if OAuth feels slow.If you encounter permission errors during global installation:
# On macOS/Linux - use sudo if needed
sudo npm install -g homework-grader
# Or use npx instead (no installation required)
npx homework-grader
Ensure you're using Node.js 22 or higher:
node --version # Should be >= 22.0.0
npx homework-grader insteadnpm install -g homework-grader --forceIf you prefer to disable update checking:
# Set environment variable to disable update checks
export NO_UPDATE_NOTIFIER=true
homework-grader
This package uses fully automated publishing - no manual steps required!
Every push to main branch automatically:
homework-grader@trancethehuman/homework-grader# Just push your changes to main
git add .
git commit -m "Add new feature"
git push origin main
# GitHub Actions automatically:
# - Detects if version exists on NPM
# - Increments patch version if needed (1.0.0 → 1.0.1)
# - Publishes to both NPM and GitHub Packages
# - Creates release notes
package.json (currently 1.0.0)package.json version manually for major/minor releasesFor automated publishing, add NPM_TOKEN to repository secrets:
Get NPM Token:
homework-gradernpm_...)Add to GitHub:
NPM_TOKEN with your token valueRelease Process:
# Update version and create git tag
npm version patch # or minor/major
# Push to trigger automated release
git push --follow-tags
This repository auto-publishes on pushes to main. If the current package.json version already exists on NPM, CI will bump the patch version and push a bot commit back to main. As a result, your local branch can become behind immediately after you push.
Recommended setup (one-time):
git config --global pull.rebase true
git config --global rebase.autostash true
# optional convenience
git config --global alias.up 'pull --rebase --autostash'
Project-only setup (repo-local, not global):
git config pull.rebase true
git config rebase.autostash true
git config alias.up 'pull --rebase --autostash'
# optional
git config pull.ff only
# verify local settings
git config --local --list | grep -E 'pull.rebase|rebase.autostash|alias.up|pull.ff'
Everyday flow:
# before pushing more changes after a prior push
git pull --rebase
git push
If you prefer to avoid CI pushing to main, switch to a tag-based release flow (create a tag locally with npm version and push tags) or a PR-based version bump workflow.
GNU
FAQs
A high-performance CLI for grading homework submissions from CSV files and Notion databases with ultra-fast GitHub repository analysis
We found that homework-grader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.