Back to directory
ineo6 avatar
ineo6 / git-master

git-master

Git Master Extension for git file tree, support GitHub、GitLab 、 Gitee、Gitea、Gogs

502

Stars

40

Forks

5

Watchers

MIT

License

🚀 Git Master

Git code tree extension.

Chrome Web Store Chrome Web Store Chrome Web Store GitHub

🙋‍♂️ Made by neo

English | 简体中文

Install

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Edge Web Store Firefox Addon Chrome Web Store

Features

  • Git file tree (GitHub && GitLab && Gitee && Gitea && Gogs)
  • File search
  • Show GitHub repo size and file download support
  • GitHub notifications
  • GitHub dark mode, also work for gist
  • Code Snippet
  • Browse the history of files (GitHub && GitLab)

Usage

By default, the extension only loads on domains below. You can manually enable the extension for your custom domain by clicking the extension icon and choosing Enable xxx.

  • github.com
  • gitlab.com
  • git.oschina.net, gitee.com
  • gitea.com, try.gitea.io

Pin first

guide-pin-en.png

Mark site

guide-mark-en.png

Settings

Access Token

By default, GitMaster makes unauthenticated requests to get repository metadata. However, there are two situations when GitHub require such requests to be authenticated:

  • You access a private repository
  • You exceed the API rate limit

When that happens, GitMaster will ask for your GitHub personal access token. If you don't already have one, create one, then copy and paste it into the token textbox in the Settings screen. Note that the minimal scopes that should be granted are public_repo and repo.

GitLab and Gitee have same configuration.

Access tokens are stored in the browser's local storage, only enter access tokens when you use a trusted computer.

Hotkeys

Hotkeys to pin or unpin the sidebar. You can enter multiple hotkeys by separating them with a comma.

  • Supported modifiers: , shift, option, , alt, ctrl, control, command, and .
  • Supported special keys: backspace, tab, clear, enter, return, esc, escape, space, up, down, left, right, home, end, pageup, pagedown, del, delete and f1 through f19.

Learn more at keymaster.

Contribute

We welcome all contributions. Please read CONTRIBUTING.md first.

Coffee or Star

Give a ⭐️ if this project helped you!

Coffee is also welcome.

WeChat
wechat-like

Licence

Code released under the MIT License.

Releases

1.17.1 (2022-01-24) Bug Fixes

add prefix for download class (a84d9cb)

1.17.0 (2021-12-16) Bug Fixes

some dark mode style problems (a79ea93)

Features

add option for file size and download (64c4f7d) new toggle ui (bf8131b)

1.16.1 (2021-09-01) Bug Fixes

disableFirefox config for firefox (8388439) input placeholder color (111de61) only enable lazy load for gogs (c6aa843) remove token input pattern rule (f5be197)

1.16.0 (2021-08-12) Bug Fixes

mirror url (89ea5ad)

Features

close github copy (299e7aa)

1.15.0 (2021-08-12) Features

improve gogs code (b939cee) replace gogs.png (cf3fbd7) sanitize html string by dompurify (249d1dc) support gogs (15e5466) use easy ga for firefox,but disabled now (11aef6...