Go to file
Buu Nguyen e4908daa33 Release 2015-12-29 12:53:47 -08:00
dist Release 2015-12-29 12:53:47 -08:00
docs Remove promo images from extension packages 2015-12-20 08:33:38 -10:00
icons Remove promo images from extension packages 2015-12-20 08:33:38 -10:00
libs Update jquery-ui to latest version and bump to release to Mozilla store 2015-12-20 08:14:33 -10:00
src Release 2015-12-29 12:53:47 -08:00
test Fix testcase for v2 2015-12-23 02:24:59 +09:00
.babelrc Refactor gulp script & Chrome background 2015-11-14 22:05:57 -08:00
.editorconfig Add editorconfig 2014-06-06 17:38:50 -07:00
.gitignore GitLab 7.5.3 b656b85: fix display unfriendly 2015-12-27 14:33:58 +08:00
.jshintrc Initial test suite 2014-12-16 14:40:07 -08:00
HISTORY.md Release 2015-12-29 12:53:47 -08:00
LICENSE Starting point for v2 2015-09-22 15:17:49 -07:00
README.md Release 2015-12-29 12:53:47 -08:00
gulpfile.babel.js Refactor build scripts 2015-12-10 11:18:04 -08:00
package.json Minor refactor 2015-12-28 17:58:49 -08:00

README.md

Octotree

Browser extensions (Chrome, Firefox, Opera and Safari) to display GitHub and GitLab code in tree format. Useful for developers who frequently read source and do not want to download or checkout too many repositories. Features:

  • Easy-to-navigate code tree like IDEs
  • Fast browsing with pjax and Turbolinks
  • Support private repositories (see instructions)
  • Support GitHub and GitLab Enterprise (Chrome and Opera only, see instructions)

Octotree on GitHub Octotree on GitLab

Install on Chrome, Firefox and Opera

Install on Safari

Octotree is not available on the Safari gallery. Instead, you must use the prebuilt package or build one from source.

Install prebuilt packages (all browsers)

Prebuilt packages are available in the dist folder. For security reason, only download Octotree from this location.

Firefox 43+ requires add-ons to be signed. Therefore, you should install Octotree from the Mozilla store. For some reason if you want to install the prebuilt package instead, you have to disable sign-check.

Settings

Access Token

GitHub

Octotree uses GitHub API 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. If you don't already have one, create one, 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).

GitLab

Octotree uses GitLab API to retrieve repository metadata. By default, Octotree attempts to retrieve the access token embedded in the GitLab DOM and use the token to authenticate against the GitLab API. If Octotree cannot retrieve the token, it will prompt you to create one.

Enterprise URLs

By default, Octotree only works on github.com and gitlab.com. To support enterprise version on Chrome and Opera, you must grant Octotree sufficient permissions. Follow these steps to do so:

  • Navigate to any GitHub or GitLab repository
  • Open Octotree's settings panel
  • Fill in the Enterprise URLs textbox, one URL per line
  • Click Save and accept any permission prompt
  • Navigate to your GitHub or GitLab Enterprise site
  • You might be asked to create an access token

Others

  • Hotkeys: Octotree uses keymaster to register hotkeys. Checkout the supported keys.
  • Remember sidebar visibility: if checked, show or hide Octotree based on its last visibility.
  • Show in non-code pages: if checked, allow Octotree to show in non-code pages such as Issues and Pull Requests.
  • Load entire tree at once: if checked, load and render the entire code tree at once. To avoid long loading, this should be unchecked if you frequently work with very large repos.

Credits

  • @crashbell for helping GitLab and others
  • @Ephemera for fixing many bugs
  • @athaeryn and @letunglam for the UI design
  • @pstadler for the extension icon
  • And many other people who submit bug fixes and reports