#NavTree for Github Displays the repo structure and file contents quickly.
This extension is saves you time when you want to take a peek at the repo code and you don't want to navigate back and forth between directories in the GitHub interface and losing the context of the code.
##Screenshots
##Version Current version 1.5.1
- Clone this and load the unpacked extension into Chrome or install through the Chrome Web Store
- Install the extension
- Navigate to a GitHub repo.
- Click the new icon in the bottom-right corner, click on extention icon or use the
CTRL+E
keyboard shortcut. - Download file doing
ALT+click
in file or doing click in cloud image - NavTree pops up
- To close the overlay
- To exit, click on the icon again, click on extention icon to use manually or use
ESC
.
To can use NavTree in private repos, this app needs a Token from Github https://github.com/settings/tokens with following scopes
- This a quick n' dirty proof of concept. The extension is using the free GitHub API quota. If you make heavy use of it, it may get blocked for a day. I'll add GitHub authentication sometime in the future to prevent this.
- The code is nothing to be proud of, I just wanted to get this out there and see if anybody else finds this extension useful.
Add Github API integration.√Try to implement it for Bitbucket too.X- Improve code. (continue)
Add file type icons on the tree view.√Center images.√- Open multiple files in different tabs.
Improve icon.√
This project is open source, so please, feel free to send in pull request or file issues with feature requests, I will try to implement them and give you proper credit.
- Syntax highlighting done with https://highlightjs.org
The MIT License (MIT)
Copyright (c) 2016 Dimas López [email protected] @dimaslz https://dimaslz.io · https://dimaslz.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.