Browser extensions (Chrome, Firefox, Safari and Opera) to display GitHub code in tree format. Useful for developers who frequently read source in GitHub and do not want to download or checkout too many repositories. Features:
* Download and install Octotree from [Chrome Web Store](https://chrome.google.com/webstore/detail/octotree/bkhaagjahfmjljalopjnoealnfndnagc) or [Mozilla Add-ons Store](https://addons.mozilla.org/en-US/firefox/addon/octotree/)
You can install the prebuilt extensions located in the [dist](https://github.com/buunguyen/octotree/tree/master/dist) folder. For security reason, only download Octotree from this location.
Octotree uses [GitHub API](https://developer.github.com/v3/) to retrieve repository metadata. By default, it makes unauthenticated requests to the GitHub API. However, there are two situations when requests must be authenticated:
When that happens, Octotree will ask for your [GitHub personal access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use). If you don't already have one, [create one](https://github.com/settings/tokens/new), then copy and paste it into the textbox. Note that the minimal scopes that should be granted are `public_repo` and `repo` (if you need access to private repositories).
Note: if you use GitHub Enterprise, each site will need a separate access token. Therefore, Octotree access token setting is per-site basis.
## GitHub Enterprise
By default, Octotree only works on `github.com`. To support GitHub Enterprise on Chrome or Opera, you must allow Octotoree to inject code into your GitHub Enterprise deployment. Follow these steps to do so:
* Navigate to any GitHub repository
* Open Octotree's setting panel
* Fill in the GitHub Enterprise URLs textbox, one base URL per line
* Click Save and accept any permission prompt
* Navigate to your GitHub Enterprise site (or refresh if you're already in one)
* You might be asked to create an [access token](#github-access-token)
Octotree started out as a weekend project to [scratch my own itch](https://news.ycombinator.com/item?id=7740226). Since then, I have spent a lot of time adding features, fixing bugs and handling pull requests. If you find Octotree useful or want to support its development, please consider [donating a small amount](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=buunguyen@gmail.com¤cy_code=USD&amount=&return=https://github.com/buunguyen/octotree&item_name=Support+Octotree).