What is PrivyCode?
PrivyCode is a secure platform that allows developers to share read-only access to their private GitHub repositories with recruiters, collaborators, or anyone who needs to view your code - without making repositories public or exposing sensitive information. Perfect for job applications, code reviews, and portfolio showcases, PrivyCode gives you complete control over who sees your code and for how long.Key Features
Expiring Viewer Links
Generate time-limited links that automatically expire after your specified duration (default 3 days)
View Limit Control
Set maximum view counts to restrict how many times your repository can be accessed
Read-Only Access
Viewers can browse your code but cannot fork, clone, or make any modifications
GitHub OAuth Integration
Secure authentication via GitHub OAuth2 - no separate account needed
Developer Dashboard
Manage all your viewer links in one place - create, edit, copy, and delete with ease
No Login Required for Viewers
Recipients can view your code immediately without creating an account or logging in
How It Works
Authenticate with GitHub
Sign in to PrivyCode using your GitHub account via OAuth2. Your GitHub token is securely stored and used to access your private repositories.
Generate a Viewer Link
Select a private repository, set an expiration time (in days), and optionally set a maximum view count. PrivyCode generates a unique token for secure access.
Share the Link
Send the generated viewer link to anyone you want to share your code with. No GitHub account required for viewers!
Architecture Overview
PrivyCode is built with a modern tech stack designed for security and performance:Backend
Go with
net/http and GORM for efficient API handling and database operationsDatabase
PostgreSQL for reliable data persistence with GORM migrations
Authentication
GitHub OAuth2 for secure user authentication and JWT-style tokens for API access
Frontend
React + TypeScript with TailwindCSS and Monaco Editor for code viewing
Use Cases
Job Applications
Job Applications
Share your private projects with recruiters during the hiring process without making them public. Set expiration dates to automatically revoke access after the interview period.
Code Reviews
Code Reviews
Allow mentors or colleagues to review your private code without granting full repository access or collaborator permissions.
Portfolio Showcases
Portfolio Showcases
Include links to your private work in your portfolio or resume. Control how long the links remain active and track engagement.
Client Demonstrations
Client Demonstrations
Show work-in-progress to clients without exposing your entire codebase or development environment.
Security First
PrivyCode prioritizes security at every level:
- All GitHub tokens are securely stored and never exposed
- Viewer links use unique, cryptographically secure tokens
- Read-only access prevents any modifications to your repositories
- Automatic expiration and view limits provide time-bound access control
- CORS middleware ensures proper cross-origin request handling
Quick Links
Quick Start
Get up and running in 5 minutes
API Reference
Explore all API endpoints
Setup Guide
Set up your local development environment
Ready to Get Started?
Check out the Quick Start guide to set up PrivyCode and create your first viewer link, or explore the API documentation to integrate PrivyCode into your workflow.Live Demo
Experience PrivyCode in action at privycode.com