{"id":13402677,"url":"https://github.com/softvar/enhanced-github","last_synced_at":"2025-05-15T07:07:13.465Z","repository":{"id":41272607,"uuid":"65398224","full_name":"softvar/enhanced-github","owner":"softvar","description":":rocket: Browser extension to display size of each file, download link and copy file contents directly to the clipboard","archived":false,"fork":false,"pushed_at":"2024-06-03T10:02:54.000Z","size":7801,"stargazers_count":2185,"open_issues_count":61,"forks_count":188,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-05-09T21:33:12.234Z","etag":null,"topics":["chrome-browser","chrome-extension","clipboard","copy-paste","file-size","github-extension","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://chromewebstore.google.com/detail/enhanced-github/anlikcnbgdeidpacdbdljnabclhahhmd","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softvar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["softvar"],"patreon":"softvar","open_collective":"softvar","custom":["https://paypal.me/softvar"]}},"created_at":"2016-08-10T16:26:26.000Z","updated_at":"2025-05-09T00:26:27.000Z","dependencies_parsed_at":"2024-11-08T01:22:11.498Z","dependency_job_id":"0d70f8cd-549d-401f-aac0-91708ec016ad","html_url":"https://github.com/softvar/enhanced-github","commit_stats":{"total_commits":162,"total_committers":13,"mean_commits":"12.461538461538462","dds":0.2098765432098766,"last_synced_commit":"e245d813d95faeebc06e07b6eb6fdd72eef60d19"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fenhanced-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fenhanced-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fenhanced-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvar%2Fenhanced-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softvar","download_url":"https://codeload.github.com/softvar/enhanced-github/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254093665,"owners_count":22013435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome-browser","chrome-extension","clipboard","copy-paste","file-size","github-extension","hacktoberfest"],"created_at":"2024-07-30T19:01:19.369Z","updated_at":"2025-05-15T07:07:13.322Z","avatar_url":"https://github.com/softvar.png","language":"JavaScript","readme":"## \u003cimg src=\"icons/enhanced-github128.png\" align=\"center\"\u003e Enhanced GitHub\n\n\u003e Browser extension that adds useful features on GitHub website\n\n\u003cbr/\u003e\n\n[![Chrome Web Store](https://img.shields.io/chrome-web-store/d/anlikcnbgdeidpacdbdljnabclhahhmd.svg?style=for-the-badge\u0026label=Chrome%20users\u0026ogo=google-chrome\u0026logoColor=white)][chrome]\n[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/anlikcnbgdeidpacdbdljnabclhahhmd.svg?style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white)][chrome]\n\n[![Firefox Users](https://img.shields.io/amo/dw/enhanced-github?color=blue\u0026label=Firefox%20Add-on%20Downloads\u0026logo=firefox\u0026style=for-the-badge)][firefox]\n[![Firefox Add-on](https://img.shields.io/amo/v/enhanced-github?logo=firefox\u0026style=for-the-badge\u0026label=Firefox%20add-on)][firefox]\n\n[![Microsoft Edge Add-on](https://img.shields.io/badge/dynamic/json?style=for-the-badge\u0026logo=microsoft-edge\u0026label=microsoft%20edge%20add-on\u0026query=%24.version\u0026url=https%3A%2F%2Fmicrosoftedge.microsoft.com%2Faddons%2Fgetproductdetailsbycrxid%2Feibibhailjcnbpjmemmcaakcookdleon)][edge]\n\n[![Build Status](http://img.shields.io/travis/softvar/enhanced-github/master.svg?style=for-the-badge)](http://travis-ci.org/softvar/enhanced-github)\n\n\u003ca href=\"https://www.producthunt.com/posts/github-plus?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-github-plus\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=72611\u0026theme=dark\" alt=\"github-plus - Chrome Extension to display file size, download \u0026 copy link | Product Hunt Embed\" style=\"width: 250px; height: 54px;\" width=\"250px\" height=\"54px\" /\u003e\u003c/a\u003e\n\n\n## Supported Browsers\n\n\u003cimg alt=\"Chrome\" src=\"https://img.icons8.com/fluent/24/000000/chrome.png\" align=\"center\"/\u003e Install extension from [Chrome Web Store][chrome]\n\n\u003cimg alt=\"Firefox\" src=\"screenshots/firefox.png\" align=\"center\"/\u003e Install add-on from [Firefox Add-ons][firefox]\n\n\u003cimg alt=\"Microsoft Edge\" src=\"https://img.icons8.com/fluent/24/000000/ms-edge-new.png\" align=\"center\"/\u003e Install extension from [Microsoft Edge Add-ons][edge]\n\n\n## Website\n\n[Home](https://varunmalhotra.xyz/enhanced-github/)\n\n\n## Features\n\n- Displays repo size.\n- Displays each file size for every active branch (not applicable for folder / symlink).\n- Show download link for each file (not applicable for folder / symlink).\n- Copy file's contents directly to Clipboard (just won't work for markdown files).\n- Download file while viewing its contents.\n\nThe extension handles the SPA behavior of GitHub website from `v3.0.0` onwards :)\n\n**_Note:_** For private repos([Issue #6](https://github.com/softvar/enhanced-github/issues/6)), GitHub Access Token is required. Follow the steps [mentioned below](#github-api-rate-limiting) to add your GitHub Access Token.\n\n### Permissions required\n\n- `\"*://*.github.com/*\"` - for running on `github.com` domain.\n- `storage` - for storing GitHub access token on your local system. GitHub Access token is required for private repos and for handling API rate-limiting issues.\n- `webRequest` - to support GitHub being a single-page-application now. Read this [detailed blog](https://medium.com/@softvar/making-chrome-extension-smart-by-supporting-spa-websites-1f76593637e8).\n- `webNavigation` - to support GitHub being a single-page-application now. Read this [detailed blog](https://medium.com/@softvar/making-chrome-extension-smart-by-supporting-spa-websites-1f76593637e8).\n\n## Author\n\nVarun Malhotra\n\u003ca href=\"https://varunmalhotra.xyz\"\u003e\u003cimg align=\"center\" alt=\"Varun Malhotra Website\" src=\"https://img.icons8.com/material/24/000000/domain--v1.png\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/s0ftvar\"\u003e\u003cimg align=\"center\" alt=\"𝕏\" src=\"https://img.icons8.com/ios-glyphs/24/twitterx--v2.png\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://stackoverflow.com/users/2494535/softvar\"\u003e\u003cimg align=\"center\" alt=\"StackOverflow\" src=\"https://img.icons8.com/color/24/000000/stackoverflow.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.linkedin.com/in/softvar/\"\u003e\u003cimg align=\"center\" alt=\"LinkedIn\" src=\"https://img.icons8.com/color/24/000000/linkedin.png\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/softvar\"\u003e\u003cimg align=\"center\" alt=\"GitHub\" src=\"https://img.icons8.com/fluent/24/000000/github.png\"/\u003e\u003c/a\u003e\n\n## GitHub API Rate Limiting\n\nSince this extension fetches data using GitHub public v3 API for showing file _size_ and _download_url_, it consumes free quota which is very less [GitHub API Rate Limiting](https://developer.github.com/v3/rate_limit/).\n\nTo tackle this, create a new GitHub Access Token.\n\n1. If logged-in, visit [https://github.com/settings/tokens](https://github.com/settings/tokens)\n2. Generate a new token, select `repo` scope and create a one.\n3. Copy and store the generated token which looks something like: `17c1a8d5b399d66b6212382d98d4c67a94d58955` (a fake one :P).\n4. Click on extension icon and then on `Settings-Options` on top right.\n   \u003cimg src=\"screenshots/extension-popup-screenshot.png\" width=\"380\" /\u003e\n\n   OR\n\n   Right-click on enhanced-github extension and click on `Options` in the dropdown menu.\n\n   \u003cimg src=\"screenshots/2024-redesigned-options.png\" width=\"380\" /\u003e\n\n5. Enter the valid GitHub Access Token\n6. Click on `SAVE` and Enjoy the benefits.\n\nThis browser extension will automatically pick this valid access token and Bingo!\n\n## Screenshots\n\n### 2024 - Updated GitHub UI\n\n#### Screenshot of each file size and it's download link\n\n\u003cimg src=\"screenshots/2024-enhanced-github-new-design.png\"\u003e\n\n### New GitHub Design - [Blog](https://github.blog/changelog/2020-06-23-design-updates-to-repositories-and-github-ui/)\n\n#### Screenshot of each file size and it's download link\n\n\u003cimg src=\"screenshots/github-repo-home-new.png\"\u003e\n\n#### Screenshot of Copy file contents and download link\n\n\u003cimg src=\"screenshots/github-file-new.png\"\u003e\n\n\n### Old GitHub Design\n\n#### Screenshot of each file size and it's download link\n\n\u003cimg src=\"screenshots/github-repo-home.png\"\u003e\n\n#### Screenshot of Copy fle contents and download link\n\n\u003cimg src=\"screenshots/github-file.png\"\u003e\n\n## Libraries Used\n\n- Thanks to [@zenorocha](https://github.com/zenorocha/) for [Clipboard.js](https://github.com/zenorocha/clipboard.js) - Modern copy to clipboard. No Flash. Just 3kb gzipped.\n\n\n## Development\n\n1. Clone this repo\n2. Run `yarn dev` for generating packaged folder specifically for extension stuff.\n3. Go to extension page. For chrome extensions [chrome://extensions](chrome://extensions), Firefox Add-ons [about:debugging](about:debugging), and Microsoft Edge Extensions [edge://extensions/](edge://extensions/).\n4. Enable developer mode\n5. Click on load unpacked extension and select the generated folder.\n6. [Admin Access Only] - run `yarn build` for generating zip file to be uploaded on _Chrome Web Store_, _Firefox Add-ons_, and _Microsoft Edge Addons_.\n\nPRs are most welcome :)\n\n## Changelog\n\n[CHANGELOG.md](https://github.com/softvar/enhanced-github/blob/master/CHANGELOG.md)\n\n## Contributors\n\n**Author:** [Varun Malhotra](https://varunmalhotra.xyz)([@softvar](https://github.com/softvar))\n\n### Code Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n\u003ca href=\"https://github.com/softvar/enhanced-github/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/enhanced-github/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n\n### Financial Contributors\n\nBecome a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/enhanced-github/contribute)]\n\n#### Individuals\n\n\u003ca href=\"https://opencollective.com/enhanced-github\"\u003e\u003cimg src=\"https://opencollective.com/enhanced-github/individuals.svg?width=890\"\u003e\u003c/a\u003e\n\n#### Organizations\n\nSupport this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/enhanced-github/contribute)]\n\n\u003ca href=\"https://opencollective.com/enhanced-github/organization/0/website\"\u003e\u003cimg src=\"https://opencollective.com/enhanced-github/organization/0/avatar.svg\"\u003e\u003c/a\u003e\n\n## Policy\n\nRefer [Privacy Policy](https://varunmalhotra.xyz/enhanced-github/#privacy-policy).\n\n\u003e Enhanced GitHub Extension doesn't collect/share/care about your data at all.\n\u003e\n\u003e Asks for GitHub Access Token for private repos and if Rate Limiting is your concern.\n\n\n## Copyright and License\n\n❗️ This extension is not sponsored by, endorsed by, or an official project of GitHub. This is a personal project and is developed solely for providing additional functionalities on GitHub website.\n\n\u003e The [MIT license](https://opensource.org/licenses/MIT) (MIT)\n\u003e\n\u003e Copyright (c) 2016-2024 Varun Malhotra\n\u003e\n\u003e Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\u003e\n\u003e The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\u003e\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\u003c!-- Links --\u003e\n\n[chrome]: https://chrome.google.com/webstore/detail/enhanced-github/anlikcnbgdeidpacdbdljnabclhahhmd\n[firefox]: https://addons.mozilla.org/en-US/firefox/addon/enhanced-github/\n[edge]: https://microsoftedge.microsoft.com/addons/detail/enhanced-github/eibibhailjcnbpjmemmcaakcookdleon\n","funding_links":["https://github.com/sponsors/softvar","https://patreon.com/softvar","https://opencollective.com/softvar","https://paypal.me/softvar","https://opencollective.com/enhanced-github/contribute","https://opencollective.com/enhanced-github","https://opencollective.com/enhanced-github/organization/0/website"],"categories":["JavaScript","Chrome 扩展","GitHub"],"sub_categories":["Other"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvar%2Fenhanced-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftvar%2Fenhanced-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvar%2Fenhanced-github/lists"}