A simple browser tool changes file's icon on GitHub, GitLab, gitea and gogs.
File Icons for GitHub and GitLab Extension
Therefore, I build a simple extension to replace original file icon with filetype-specific icons. This improves visual recognition on GitHub, GitLab, etc.
Hope you like it!
**This extension is not a project of GitHub or any company**
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"description":"A simple browser tool changes file's icon on GitHub, GitLab, gitea and gogs.",
"version":"1.5.2",
"manifest_version":2,
"name":"File Icons for GitHub and GitLab",
"author":"homerchen19",
"homepage_url":"https://github.com/homerchen19/github-file-icons",
"background":{"scripts":["background.bundle.js"],
"persistent":false},
"content_scripts":[{"matches":["https://github.com/*",
"https://gitlab.com/*",
"https://*.gogs.io/*",
"https://*.gitea.io/*"],
"js":["content.bundle.js"],
"css":["content.css"],
"run_at":"document_start"}],
"icons":{"16":"img/icon-16.png",
"64":"img/icon-64.png",
"128":"img/icon-128.png"},
"browser_action":{"default_icon":"img/icon-64.png"},
"content_security_policy":"script-src 'self'; object-src 'self'",
"web_accessible_resources":["*.woff2"],
"permissions":["contextMenus",
"storage",
"activeTab",
"https://github.com/*",
"https://gitlab.com/*",
"https://*.gogs.io/*",
"https://*.gitea.io/*"],
"optional_permissions":["http://*/*",
"https://*/*"]}
How to download and manually install File Icons for GitHub and GitLab extension for Chrome
Looking for a way to install File Icons for GitHub and GitLab extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install File Icons for GitHub and GitLab extensions manually, this article outlines two simple methods to effortlessly install File Icons for GitHub and GitLab extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download File Icons for GitHub and GitLab extension and manually install through Drag &Drop
If you ever need to manually install a File Icons for GitHub and GitLab extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the File Icons for GitHub and GitLab Extension by clicking the "Download CRX" button on the website.
Look for the File Icons for GitHub and GitLab extension you wish to install. Go to the website and download the File Icons for GitHub and GitLab extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for File Icons for GitHub and GitLab extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the File Icons for GitHub and GitLab extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download File Icons for GitHub and GitLab extension for Chrome and install in Developer Mode
This is another method to install File Icons for GitHub and GitLab extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the File Icons for GitHub and GitLab extension file
Select and download the File Icons for GitHub and GitLab extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the File Icons for GitHub and GitLab extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your File Icons for GitHub and GitLab extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the File Icons for GitHub and GitLab extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install File Icons for GitHub and GitLab extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
GitHub File Icons 20,000+ 8 ★ 435KiB
Enhanced GitHub 20,000+ 59 ★ 47.01KiB
Refined GitHub 20,000+ 213 ★ 572KiB
GitHub Code Folding 20,000+ 16 ★ 1.06MiB
Octotree - GitHub code tree 20,000+ 1139 ★ 3.54MiB
github-vscode-icons 20,000+ 16 ★ 1.71MiB
OctoLinker 20,000+ 110 ★ 184KiB
GitHub Highlight Selected 20,000+ 17 ★ 156KiB
GitHub Hovercard 20,000+ 41 ★ 121KiB
CodeWing - GitHub code navigation 20,000+ 3 ★ 166KiB
Material Icons for GitHub 20,000+ 77 ★ 1.05MiB
npmhub 20,000+ 19 ★ 77.19KiB
Octohint 20,000+ 10 ★ 1.26MiB
Lovely forks 20,000+ 13 ★ 945KiB
GitHub Issue Link Status 20,000+ 12 ★ 629KiB

Markdown Menu for GitHub 20,000+ 9 ★ 5.8KiB
Sourcegraph 20,000+ 169 ★ 8.22MiB
GitHub Isometric Contributions 20,000+ 102 ★ 101KiB
GitHub Repository Size 20,000+ 80 ★ 12.9KiB
Gitako - GitHub file tree 20,000+ 78 ★ 1.96MiB
Git History Browser Extension 20,000+ 8 ★ 19.4KiB
GitHub Dark Theme 20,000+ 173 ★ 246KiB
github.expandinizr 20,000+ 29 ★ 68.69KiB
Widescreen for GitHub 20,000+ 24 ★ 1.94MiB
User reviews
Nick Schneider (ID: 00000086e31c764e) Voted 5 ★ - Updated 06/13/2023
Kfir Goldfarb (ID: 000000eceba62f52) Voted 5 ★ - Updated 01/05/2023
Tyson Fernee (ID: 00000026499729e7) Voted 5 ★ - Updated 09/08/2022
Daily MindBytes (ID: 00000065a7c59abe) Voted 5 ★ - Updated 12/27/2021
Robert Parson (ID: 000000dd2afa4781) Voted 4 ★ - Updated 11/16/2021