oe / Download github repo online

Published:

Version: 0.7.1+45519e5 updated

Summary: download github sub-folder via one click, copy the single file's source code easily

Groups:

Homepage: https://github.com/oe/download-git-userscript

Support: https://github.com/oe/download-git-userscript/issues

License: MIT

中文说明

Features

  • download github source code online: allow you to download whole repo, a sub-folder of a repo or a single file online without git clone locally
  • copy source code content by one click: allow you to copy source code in repo's single file view
  • seamless integration: seamless integrated with Github, and works great with octotree.

If you have any issues with this script, please create an issue on Github

Download Github screenshot

Usage

Install this user script

click here to install this script

Configure DownGit web app(not required)

Due to github api requests rate limit, if you use DownGit frequently, you may failed to download files with it. Then you can click Github Auth button in the center of DownGit to auth your account with this app.

中文说明

功能特性

  • 在线下载Github仓库源码: 你可以在线下载整个仓库、仓库的某个文件夹、单个文件的代码, 无需在机器上使用git clone命令下载完整仓库
  • 一键复制源代码: 在浏览单个文件时, 可以快速一键复制源码
  • 无缝集成: 与 GitHub 无缝集成, 看起来就像是原生功能, 与 Github 增强扩展 octotree 也能无缝配合

如果你使用中遇到任何问题, 欢迎在Github 上提交 issue

Download Github screenshot

credits: 在线下载Github仓库的文件夹功能使用开源项目 downgit(源码) 实现

使用说明

安装脚本管理器

Chrome 用户推荐安装浏览器扩展: Tampermonkey 

其他选择可参考: 安装一个用户脚本管理器

安装脚本

点此来安装脚本

DownGit 网站配置(非必须)

因为Github对第三方应用调用API频率有限制, 如果你经常使用DownGit下载文件, 则可能出现下载失败的情况.

此时就建议你点击网站中间的 Github Auth 按钮进行 Auth 授权, 这样 DownGit 可以拥有更多api调用次数, 能下载更多的文件.

Rating: 0