You are here

Browse files of GitHub repositories comfortably for Github is a browser extension for the Google Chrome web browser that adds a directory tree structure to Github repositories to browse all files of the repository comfortably.

Browsing repositories on GitHub is not the most pleasant experience that you can have; you can only select one directory to open to display the file it contains. The loading takes a bit of time and going back to open another directory takes time as well.

Also, this is quite bad for keeping an overview of the files of the project. While you can download the repository to your system or use GitHub's desktop application, it is not always the best course of action especially if you are just interested in a couple of files (to download or check).

Tip: The Ghacks user.js for Firefox is on GitHub. If you download a lot, check out GitHub Plus for Chrome. for Github

github browse tree directory files for Github is a Chrome extension that adds an option to GitHub to display all folders and files in a tree directory structure.

One of the main advantages of the tree structure is that switching between different folders is near instant as there is virtually no delay when you do so. It is a lot easier to open a folder, switch to another one that is on the root level, or dive deep into a folder without having to wait whenever you switch to a different folder or need to go back.

The extension displays an icon on GitHub that you can click on to toggle the directory structure. It displays the root level by default but you can click on any folder to browse it. Each folder lists subfolders and files it contains.

Any directory change made using the default browser is reflected automatically in the directory tree.

A click on a file opens it directly on the site. GitHub jumps to the file and displays it in its main interface so that you can check out code, download it, or manage it in other ways depending on your access rights.

The extension adds a handful of keyboard shortcuts that power its functionality. Use Windows-Shift-B (Command-Shift-F on Mac) to toggle the directory structure. You can change shortcuts in the options to something that you may prefer. Options to use and set shortcuts to hide the entire structure and to toggle the Settings are provided as well.

Note that you do need to provide a personal access token to access private repositories using the extension.

Closing Words

You may find the extension for Chrome useful if you browse files and folders regularly on GitHub as it provides a better overview of the structure, supports faster changing of folders and faster loading of individual files on GitHub. (Via

Now You: Are you a GitHub user?

This article was first seen on ComTek's "TekBits" Technology News


Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer