Skip to content
ogutdgnPublic

About

QuickVis is a Chrome extension that simplifies GitHub repository management by allowing users to toggle repository visibility between public and private directly from repository lists and pages. It integrates seamlessly into GitHub’s UI and uses secure OAuth authentication with the official GitHub REST API to make visibility changes reliable.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

57 Commits

Folders and files

Repository files navigation

QuickVis 🚀

The easiest way to manage GitHub repository visibility - Switch between public and private with a single click!

Chrome Web Store License: MIT

🎯 What is QuickVis?

QuickVis is a Chrome extension that simplifies GitHub repository management by allowing you to change repository visibility (public ↔ private) directly from your GitHub profile pages. No more navigating through settings menus - just one click!

✨ Key Features

  • One-Click Visibility Toggle: Change repository visibility instantly from your repositories list or individual repo pages
  • Beautiful UI Integration: Seamlessly integrated buttons that match GitHub's design language
  • Smart Access Control: Toggle switch in the header to grant or revoke access anytime
  • Secure OAuth Authentication: Uses GitHub OAuth for secure, token-based authentication
  • Visual Feedback: Real-time badge updates and elegant notifications
  • Inactive State Support: All buttons remain visible even without access, just styled differently to indicate status

🎨 How It Works

1. Grant Access

On your GitHub profile, you'll see a QuickVis toggle switch at the right end of the profile navigation bar. QuickVis never interrupts you with pop-ups — nothing happens until you click the toggle yourself to authorize QuickVis with your GitHub account via OAuth.

2. Change Visibility

Once authorized, you'll see "Change Visibility" buttons next to each of your repositories. Click any button to instantly toggle between public and private.

3. Manage Access

Use the header toggle to revoke access anytime. QuickVis will show a confirmation modal, and all buttons will transition to an inactive state with pale colors.

🔧 Technical Architecture

Frontend (Extension)

  • Manifest V3: Modern Chrome extension architecture
  • Content Script: Injects UI elements and handles interactions on GitHub pages
  • Background Worker: Manages OAuth flow and token storage
  • Local Storage: Securely stores access tokens with automatic expiration (7 days)

Backend (OAuth Proxy)

  • Express.js Server: Deployed on Vercel for serverless OAuth token exchange
  • Security Features:
    • Rate limiting to prevent abuse
    • Extension ID validation
    • Redirect URI validation
    • Environment-based configuration

OAuth Flow

User → QuickVis → GitHub OAuth → Proxy Server → GitHub API → Access Token → QuickVis

The proxy server never stores your token - it only facilitates the secure exchange between GitHub and the extension.

🛠️ Installation

For Users

Option A: Chrome Web Store (recommended)

  1. Install from the Chrome Web Store
  2. Go to your GitHub profile
  3. Click the QuickVis toggle in the profile navigation bar to authorize
  4. Start managing your repository visibility!

Chrome updates Web Store extensions automatically. To update right away, open chrome://extensions, turn on Developer mode, and click Update.

Option B: Manual install from a release zip

  1. Download the latest quickvis-vX.Y.Z.zip from Releases
  2. Unzip it into a folder you'll keep (for example ~/QuickVis)
  3. Open chrome://extensions and turn on Developer mode (top right)
  4. Click Load unpacked and select the unzipped folder

Updating a manual install

  1. Download the new zip from Releases
  2. Unzip it and replace the contents of your existing QuickVis folder (keep the same folder location)
  3. Open chrome://extensions and click the reload icon (↻) on the QuickVis card
  4. Refresh any open GitHub tabs

Your GitHub authorization is kept across updates, so you don't need to reconnect.

For Developers

Prerequisites

  • Node.js 16+
  • Chrome browser
  • GitHub account

Setup

  1. Clone the repository
git clone https://github.com/ogutdgn/quickvis.git
cd quickvis
  1. Set up the OAuth Proxy Server
cd server
npm install

Create a .env file:

GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
ALLOWED_EXTENSION_ID=your_extension_id
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX=60

Deploy to Vercel:

vercel deploy --prod
  1. Configure the Extension

Update extension/config.js:

export const CONFIG = {
  CLIENT_ID: 'your_github_client_id',
  PROXY_SERVER_URL: 'https://your-project.vercel.app',
  SCOPES: 'repo user',
  AUTH_URL: 'https://github.com/login/oauth/authorize',
  API_BASE: 'https://api.github.com'
};
  1. Load the Extension
  • Open Chrome → chrome://extensions/
  • Enable "Developer mode"
  • Click "Load unpacked"
  • Select the extension folder

🔒 Security & Privacy

  • Zero Data Collection: We don't collect any analytics or personal data
  • Local-Only Storage: Tokens are stored only in your browser
  • Minimal Permissions: Only runs on github.com domains
  • Automatic Expiration: Tokens expire after 7 days for security
  • Open Source: Full transparency - audit the code yourself!

Read our complete Privacy Policy

🎨 UI Features

Modern Design

  • Gradient backgrounds with backdrop blur effects
  • Smooth animations and transitions
  • Responsive hover states
  • Dark mode support

Inactive State Design

When not authorized, buttons remain visible but styled with:

  • Pale purple colors (#ddd6fe background)
  • Reduced opacity (0.75)
  • Clear visual distinction from active state
  • Clicking opens the authorization modal

Modal Dialogs

  • Grant Access Modal: Purple gradient with lock icon
  • Revoke Access Modal: Warning gradient with alert icon
  • Both feature smooth animations and backdrop blur

📦 Project Structure

quickvis/
├── extension/              # Chrome extension files
│   ├── manifest.json      # Extension manifest (v3)
│   ├── background.js      # Background service worker
│   ├── content.js         # Main content script
│   ├── content.css        # Styles for injected UI
│   └── config.js          # Configuration constants
├── server/                # OAuth proxy server
│   ├── server.js          # Express server
│   ├── package.json       # Dependencies
│   └── vercel.json        # Vercel configuration
├── README.md              # You are here!
└── PRIVACY.md             # Privacy policy

🔧 Development

Branch Strategy

  • production: Production-ready code, connected to Chrome Web Store
  • development: Development code with local OAuth setup

Version Management

Bump the "version" field in extension/manifest.json by hand, following semver:

  • Patch (1.1.8 → 1.1.9): bug fixes
  • Minor (1.1.9 → 1.2.0): new features
  • Major (1.2.0 → 2.0.0): breaking changes

Every release needs a new version — both the release workflow and the Chrome Web Store reject a version that already exists.

Release Process

  1. Make changes in development branch

  2. Bump version in extension/manifest.json (see Version Management)

  3. Push to development: git push origin development

  4. Merge to production:

    git checkout production
    git merge development --no-commit --no-ff
    # Restore production configs
    git checkout production -- extension/config.js extension/manifest.json
    git commit -m "merge: development into production"
    git push origin production
  5. GitHub Actions automatically:

    • Creates extension zip file
    • Adds to versions/ directory
    • Creates GitHub Release with download link

    ⚠️ Don't build or commit the zip yourself. The workflow skips the release if versions/quickvis-vX.Y.Z.zip is already committed.

  6. Pull the zip: git pull origin production

  7. Publish to the Chrome Web Store: in the Developer Dashboard, open QuickVis → Package → Upload new package, choose versions/quickvis-vX.Y.Z.zip, then Submit for review. Users receive the update automatically once it's approved.

Local Development Setup

  1. Clone and checkout development branch:

    git clone https://github.com/ogutdgn/quickvis.git
    git checkout development
  2. Setup OAuth App on GitHub:

    • Authorization callback URL: https://<EXTENSION_ID>.chromiumapp.org/
  3. Configure server (server/.env):

    GITHUB_CLIENT_ID=your_dev_client_id
    GITHUB_CLIENT_SECRET=your_dev_secret
    ALLOWED_EXTENSION_ID=your_extension_id
  4. Start local server:

    cd server
    npm install
    npm start
  5. Load extension in Chrome:

    • Go to chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked"
    • Select the extension/ directory

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🐛 Bug Reports & Feature Requests

Found a bug or have a feature request? Please open an issue on GitHub Issues.

💡 Why QuickVis?

Managing repository visibility on GitHub requires multiple clicks through settings pages. QuickVis reduces this to a single click, saving time and improving workflow efficiency. Whether you're:

  • 🎓 A student managing coursework repositories
  • 👨‍💻 A developer organizing project visibility
  • 🏢 A professional managing multiple repos
  • 🔧 Anyone who frequently toggles repository visibility

QuickVis makes your life easier!

🙏 Acknowledgments

Built with ❤️ using:


Made by Dogan Ogut | Star ⭐ this repo if you find it useful!

About

QuickVis is a Chrome extension that simplifies GitHub repository management by allowing users to toggle repository visibility between public and private directly from repository lists and pages. It integrates seamlessly into GitHub’s UI and uses secure OAuth authentication with the official GitHub REST API to make visibility changes reliable.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages