Enhanced GitHub
Featured

Enhanced GitHub

Adds repo size, file sizes, download links, and copy-to-clipboard to GitHub.

★★★★☆ 4.5 58 reviews 40K+ users · Developer Tools
Developer varun2902
Install from Chrome Web Store ↗

Description

Enhanced GitHub is a Chrome extension that adds useful information and actions directly to GitHub's web interface. It helps developers quickly understand repository and file sizes, download files individually, and copy file contents without leaving the page. The extension works on all GitHub pages, including private repositories when a GitHub access token is provided.

Key Features

  • Repository Size Display: Shows the total size of any repository next to the repository name. This is useful when evaluating whether to clone a repo or when managing storage space.
  • File Size per Branch: For each file in any active branch (except folders and symlinks), the extension displays its size. This helps in identifying large files that may impact clone times or storage.
  • Download Link for Individual Files: Adds a download button next to each file (excluding folders and symlinks). Clicking the button while holding Alt (Windows/Linux) or Cmd (Mac) triggers a direct download. This is helpful when you need only a single file from a repository without cloning the whole thing.
  • Copy File Contents to Clipboard: A button to copy the entire content of a file directly to your clipboard. This works for most file types but does not function on Markdown files due to their rendered preview. It's convenient for quickly grabbing code snippets or configuration files.
  • Download File: Provides an alternative download method that works with GitHub's new design and SPA behavior. The extension uses webRequest and webNavigation permissions to ensure the download feature works even as GitHub navigates without full page reloads.
  • Private Repository Support: For private repos or when hitting GitHub API rate limits, you can provide a GitHub access token. The token is stored locally using the storage permission and is never sent to any third party.
  • Secure and Privacy-Focused: The extension does not collect, share, or transmit any user data. Permissions are strictly limited to what is necessary: access to github.com domains, local storage for the token, and webRequest/webNavigation to handle GitHub's single-page application architecture.

Enhanced GitHub is open source under the MIT License, and its source code is available on GitHub. Users can report issues or suggest features by opening an issue on the project repository. The extension is regularly updated to support GitHub's evolving interface, with a detailed changelog available online. For any questions, you can contact the developer via email or the GitHub issues page.

Related