A Next.js application that uses web proofs / zkTLS to verify GitHub contributions through vlayer's Web Prover API.
This tool allows users to cryptographically prove and verify their contributions to GitHub repositories. It creates tamper-proof attestations of contributor data from GitHub's API.
- Node.js 20+
- npm or pnpm
- vlayer Web Prover API credentials
npm installCreate a .env.local file with your vlayer API credentials:
WEB_PROVER_API_CLIENT_ID=your_client_id
WEB_PROVER_API_SECRET=your_api_secret
- Start the development server:
npm run dev-
Enter a GitHub API contributors URL (e.g.,
https://api.github.com/repos/owner/repo/contributors) -
For private repositories, provide a GitHub Personal Access Token
-
Enter your GitHub username
-
Click "Prove Contributions" to generate a cryptographic proof
-
Click "Verify Proof" to verify your contributions
POST /api/prove- Generate cryptographic proof of GitHub API dataPOST /api/verify- Verify the generated proof and extract contribution dataGET /api/verify-all- Verify all webproofs stored in the/app/webproofsfolder
After generating a proof, you can download it as a JSON file to your local machine for safekeeping or sharing.
Navigate to /verify-all to see all verified contributors from stored webproofs. This page automatically:
- Reads all webproof JSON files from the
/app/webproofsfolder - Verifies each proof using vlayer's API
- Displays contributor information including username, profile picture, GitHub URL, and contribution count
- Shows aggregated statistics
For more information about vlayer and the Web Prover API, visit the official documentation: