An open API service indexing awesome lists of open source software.

https://github.com/lib-pack/ghseek

这是一个github加速器通过hosts实现
https://github.com/lib-pack/ghseek

github hosts

Last synced: 6 days ago
JSON representation

这是一个github加速器通过hosts实现

Awesome Lists containing this project

README

          

Ghseek

这是一个github加速器通过hosts实现




👪 All Contributors: 1


🤝 Code of Conduct: Kept
🧪 Coverage
📝 License: MIT
📦 npm version
💪 TypeScript: Strict

## Feature

- 下载克隆 github 资源加速
- Github DNS 加速支持
- gist DNS 加速支持

## Usage

> 注意目前只支持 linux、macos 系统。

```shell
npm i -g ghseek
```

```shell
ghseek seek # 更新本地的 hosts 文件来加速 github 的 push、pull、clone 等操作

ghseek clone [目录位置] # 加速克隆代码
ghseek down [文件名称] # 加速下载github文件,github url可以是 release url、raw url
```

## Append Hosts

添加的 hosts 类似于下面的内容,IP是通过 https://sites.ipaddress.com 获取的最新 DNS IP.

```
# ghseek github
140.82.112.3 github.com
151.101.65.194 github.global.ssl.fastly.net
185.199.109.133 raw.githubusercontent.com
140.82.112.4 gist.github.com
185.199.109.133 camo.githubusercontent.com
140.82.112.22 collector.github.com
140.82.114.5 api.github.com
185.199.109.133 avatars.githubusercontent.com
185.199.109.133 raw.github.com
# ghseek end
```

## Contributors



WumaCoder
WumaCoder

💻 🖋 📖 🤔 🚇 🚧 📆 🔧

> 💙 This package was templated with [`create-typescript-app`](https://github.com/JoshuaKGoldberg/create-typescript-app).