Display SLOC on GitHub

Latest Version

Version
1.4.0
Update
August 20, 2020
Size
826KiB
Developer
Category
Users
387
Rating
3.83333 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
*://*.github.com/*
See more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "GitHub SLOC", "version": "1.4.0", "description": "Display SLOC on GitHub", "icons": { "16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png" }, "options_ui": { "page": "options.html", "chrome_style": true }, "options_page": "options.html", "web_accessible_resources": ["options.html"], "content_scripts": [ { "matches": ["*://github.com/*"], "js": ["js/jquery.min.js", "js/inject.js"] } ], "background": { "scripts": ["js/background.js"], "persistent": false }, "permissions": ["storage", "*://*.github.com/*"]}
Read more

How to download and manually install GitHub SLOC extension for Chrome

Looking for a way to install GitHub SLOC 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 GitHub SLOC extensions manually, this article outlines two simple methods to effortlessly install GitHub SLOC extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download GitHub SLOC extension and manually install through Drag &Drop

If you ever need to manually install a GitHub SLOC 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 GitHub SLOC Extension by clicking the "Download CRX" button on the website.

Look for the GitHub SLOC extension you wish to install. Go to the website and download the GitHub SLOC extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for GitHub SLOC 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 GitHub SLOC 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 GitHub SLOC extension for Chrome and install in Developer Mode

This is another method to install GitHub SLOC 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 GitHub SLOC extension file

Select and download the GitHub SLOC 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 GitHub SLOC 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 GitHub SLOC 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 GitHub SLOC 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 GitHub SLOC extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Markdown Menu for GitHub Extension · Developer Tools 387 9 ★ 5.8KiB

icon

Enhanced GitHub Extension · Developer Tools 387 59 ★ 47.01KiB

icon

github-find Extension · Productivity 387 1 ★ 40.7KiB

icon

Make GitHub Great Again Extension · Developer Tools 387 38 ★ 528KiB

icon

github npm stats Extension · Developer Tools 387 4 ★ 65.86KiB

icon

GitHub Repository Size Extension · Developer Tools 387 80 ★ 12.9KiB

icon

Github Package.json Enhancer Extension · Developer Tools 387 0 ★ 18.89KiB

icon

GitHub submodule links Extension · Developer Tools 387 2 ★ 17.49KiB

icon

Github diff helper Extension · Developer Tools 387 3 ★ 137KiB

icon

GitHub Gloc Extension · Developer Tools 387 53 ★ 955KiB

icon

OctoLinker Extension · Developer Tools 387 110 ★ 184KiB

icon

GitHub Highlight Selected Extension · Developer Tools 387 17 ★ 156KiB

icon

GitHub Hovercard Extension · Developer Tools 387 41 ★ 121KiB

icon

GitHub Code Folding Extension · Developer Tools 387 16 ★ 1.06MiB

icon

GitHub Mention Highlighter Extension · Productivity 387 1 ★ 201KiB

icon

Refined GitHub Extension · Developer Tools 387 213 ★ 572KiB

icon

Table of Contents for GitHub Extension · Developer Tools 387 4 ★ 11.44KiB

icon

Github Super Search Extension · Developer Tools 387 0 ★ 46.74KiB

icon

GitHub Dark Theme Extension · Developer Tools 387 173 ★ 246KiB

icon

GitHub EditorConfig Extension · Developer Tools 387 4 ★ 83.14KiB

icon

Package Hub Extension · Developer Tools 387 2 ★ 28.3KiB

icon

GitHub Inline SVG Extension · Developer Tools 387 3 ★ 10.42KiB

icon

Github Original Streak Extension · Productivity 387 11 ★ 213KiB

icon

GitHub Release Downloads Extension · Developer Tools 387 9 ★ 15.76KiB

User reviews

icon

Jason Zhou (ID: 00000002c0d2b7cc) Voted 4 ★ - Updated 12/04/2019 very helpfull~ but not that precise, for example https://github.com/plantuml/plantuml: cloc's result is 254K, while sloc's result is 452K.

icon

Nabil Elqatib (ID: 000000bebd4e5e3d) Voted 4 ★ - Updated 01/21/2018 Nice extension. Would have gave 5 stars if it counted wisely (i.e. without including license files etc.), still helpful.