Search: #加速

  1. Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务虽然是写着玩的 但是也要加点功能▎对上游 30x 重定向添加 allowlist/denylist 校验与代理重写 原消息 服务器合集 频道资源合集 恰饭推荐 群组 #github #加速 #代理 #正向代理

    Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务

    虽然是写着玩的 但是也要加点功能

    ▎对上游 30x 重定向添加 allowlist/denylist 校验与代理重写

    原消息

    服务器合集 频道资源合集 恰饭推荐 群组

    #github #加速 #代理 #正向代理

    • ❤️1
  2. Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务虽然是写着玩的 但是也要加点功能▎支持配置自定义路径, User-Agent 黑白名单, 错误信息例如仅限自己使用的代理 App 拉取之类的如果不想部署后被滥用,建议同时配置:- 严格的 URL allowlist/denylist 和 userAgentAllowlist/userAgentDenylist- 复杂的 proxyPath, 避免根路径 / 直接暴露代理能力- 更通用的 localRejectionResponse 响应体,例如返回普通的 404 Not Found▎更新依赖和 bun 版本 原消息 服务器合集 频道资源合集 恰饭推荐 群组 #github #加速 #代理 #正向代理

    Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务

    虽然是写着玩的 但是也要加点功能

    ▎支持配置自定义路径, User-Agent 黑白名单, 错误信息

    例如仅限自己使用的代理 App 拉取之类的

    如果不想部署后被滥用,建议同时配置:

    - 严格的 URL allowlist/denylistuserAgentAllowlist/userAgentDenylist

    - 复杂的 proxyPath, 避免根路径 / 直接暴露代理能力

    - 更通用的 localRejectionResponse 响应体,例如返回普通的 404 Not Found

    ▎更新依赖和 bun 版本

    原消息

    服务器合集 频道资源合集 恰饭推荐 群组

    #github #加速 #代理 #正向代理

    • ❤️4
  3. Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务▎使用场景GitHub 加速等 比如用于 Sub-Store 的这个配置本项目为纯 AI 辅助实验品,仅供学习交流使用,请勿用于商业用途

    Yet Another HTTP Proxy Server (yahps): 基于 Bun 的正向代理服务

    ▎使用场景

    GitHub 加速等 比如用于 Sub-Store 的这个配置

    本项目为纯 AI 辅助实验品,仅供学习交流使用,请勿用于商业用途。

    没有缓存等功能,仅做最简单的请求转发。

    ▎支持配置自定义路径, URL 黑白名单正则, User-Agent 黑白名单, 错误信息

    例如仅限自己使用的代理 App 拉取之类的

    如果不想部署后被滥用,建议同时配置:

    - 严格的 URL allowlist/denylistuserAgentAllowlist/userAgentDenylist

    - 复杂的 proxyPath, 避免根路径 / 直接暴露代理能力

    - 更通用的 localRejectionResponse 响应体,例如返回普通的 404 Not Found

    ▎支持上游 30x 重定向

    ▎支持按规则自动注入请求头 适合拉私库或防止 429

    xream/yahps

    服务器合集 频道资源合集 恰饭推荐 群组

    #github #加速 #代理 #正向代理 GitHub - xream/yahps: Yet Another HTTP Proxy Server

    • 1
    • ❤️3
    • 😁3
  4. Github 加速汇总备用吧 也可以自建常见使用场景:外部资源用加速, 策略直连加速域名分流直连⭐️ 最出名的(?)

    Github 加速汇总

    备用吧 也可以自建

    常见使用场景:

    外部资源用加速, 策略直连

    加速域名分流直连

    ⭐️ 最出名的(?) https://ghgo.xyz

    它的 GitHub Proxy 最新地址发布页 https://ghproxy.link

    其他:

    https://gh.api.99988866.xyz
    https://ghp.ml1.one
    https://doget.nocsdn.com
    https://ghgo.xyz
    https://slink.ltd
    https://ghps.cc
    https://gh-proxy.com
    https://ghproxy.cc
    https://cf.ghproxy.cc
    https://github.tmby.shop
    https://gh-proxy.ygxz.in
    https://ghproxy.net
    https://ghproxy.cn
    https://github.moeyy.xyz

    #GitHub #加速

    • ❤️12
  5. Sub-Store 小课堂: 使用文件功能, 实现多加速服务拉取 GitHub 资源1. 创建文件(按图操作)2. 脚本部分 见此文件已经配置了默认的 GitHub 加速服务和参数3. 使用时a. $options 为通过链接传入的参数例如: { arg1: 'a', arg2: 'b' }先这样处理 encodeURIComponent(JSON.stringify({ arg1: 'a', arg2: 'b' }))然后这样用 /api/file/foo?$options=%7B%22arg1%22%3A%22a%22%2C%22arg2%22%3A%22b%22%7Db. 或这样处理 encodeURIComponent('arg1=a&arg2=b')然后这样用 /api/file/foo?$options=arg1%3Da%26arg2%3Db例如: { url: '

    Sub-Store 小课堂: 使用文件功能, 实现多加速服务拉取 GitHub 资源

    1. 创建文件(按图操作)

    2. 脚本部分 见此文件

    已经配置了默认的 GitHub 加速服务和参数

    3. 使用时

    a. $options 为通过链接传入的参数
    例如: { arg1: 'a', arg2: 'b' }
    先这样处理 encodeURIComponent(JSON.stringify({ arg1: 'a', arg2: 'b' }))
    然后这样用 /api/file/foo?$options=%7B%22arg1%22%3A%22a%22%2C%22arg2%22%3A%22b%22%7D

    b. 或这样处理 encodeURIComponent('arg1=a&arg2=b')
    然后这样用 /api/file/foo?$options=arg1%3Da%26arg2%3Db

    例如:
    { url: 'https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/ligeicon.json' }
    ->
    /api/file/fetch?$options=%7B"url"%3A"https%3A%2F%2Fraw.githubusercontent.com%2Flige47%2FQuanX-icon-rule%2Fmain%2Fligeicon.json"%7D

    同时兼容 $arguments. 但是用的时候, 需要你自己改了.

    4. 其他参数

    支持 timeout , headers 等参数, 会覆盖默认参数. 也可以直接修改脚本里的默认参数


    Sub-Store 合集 频道资源合集 恰饭推荐 群组

    #SubStore #Sub-Store #小课堂 #tips #加速 #GitHub #下载 #拉取 #文件 #脚本

    • ❤️4
  6. #Surge #模块 #脚本 #代理 #加速 #GitHub #镜像 #配置 #订阅 #Sub-Store #分流 #简化 Surge 分流配置超简化从此以后你只需要这样写:# > 自己 Gist 的分流

    #Surge #模块 #脚本 #代理 #加速 #GitHub #镜像 #配置 #订阅 #Sub-Store #分流 #简化

    Surge 分流配置超简化

    从此以后你只需要这样写:

    # > 自己 Gist 的分流
    RULE-SET,http://self/direct,DIRECT
    # > skk 佬的分流
    RULE-SET,http://skk/non_ip/lan,DIRECT
    # > bm7 仓库的分流
    RULE-SET,http://bm7/Global_All,Proxy
    # > 自建服务端 Sub-Store 的组合订阅
    订阅 01 = select, policy-path=http://sub/01


    转换规则:
    http://bm7/Global_All
    ->
    https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global_All.list

    http://self/direct
    ->
    https://gist.githubusercontent.com/your_username/your_gist_id/raw/direct.list

    http://sub/01
    ->
    https://your_sub_store_api.com/xxxxxx/download/collection/01?target=Surge

    配置:

    [URL Rewrite]
    ^http:\/\/bm7\/(.*?)(_.*)?$ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/$1/$1$2.list 302
    
    ^http:\/\/skk\/(.*?)$ https://ruleset.skk.moe/List/$1.conf 302
    
    ^http:\/\/self\/(.*)$ https://gist.githubusercontent.com/your_username/your_gist_id/raw/$1.list 302
    
    ^http:\/\/sub\/(.*)$ https://your_sub_store_api.com/xxxxxx/download/collection/$1?target=Surge 302


    福利:

    薯薯

    RULE-SET,http://❤️🍟/HTTPDNS,Reject


    ^http:\/\/xn--qeiz318m\/HTTPDNS http://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/HTTPDNS.Block.list 302


    如果你要添加更多自定义的 建议不要使用大写 或 自己注意正则中大小写同时匹配 讨论

    • 👍18
    • ❤️14
  7. #Surge #模块 #脚本 #代理 #加速 #GitHub #Gist #镜像 自动使用 mirror.ghproxy.com 加速支持 raw, gist, archive, release 等各种链接 去除了 github.com 的 Content-Security-Policy 现在 github readme 之类的页面上 图片应该可以显示了 可能会违反 Content-Security-Policy 导致某些网页的图片无法加载

    #Surge #模块 #脚本 #代理 #加速 #GitHub #Gist #镜像

    自动使用 mirror.ghproxy.com 加速

    支持 raw, gist, archive, release 等各种链接

    去除了 github.com 的 Content-Security-Policy 现在 github readme 之类的页面上 图片应该可以显示了

    可能会违反 Content-Security-Policy 导致某些网页的图片无法加载
    
    #!name=GitHub 加速
    #!desc=自动使用 mirror.ghproxy.com 加速, 去除 github.com 的 Content-Security-Policy
    
    [URL Rewrite]
    ^(https?:\/\/(raw\.githubusercontent\.com|gist\.githubusercontent\.com|github\.com\/[^/]+\/[^/]+(\/releases\/download|\/archive))\/.+?)$ https://mirror.ghproxy.com/$1 302
    
    [Header Rewrite]
    http-response ^https:\/\/github\.com\/.+?$ header-del Content-Security-Policy
    
    [MITM]
    hostname = %APPEND% raw.githubusercontent.com, gist.githubusercontent.com, github.com

    • ❤️13
    • 👍2
    • 🔥1
    • 🥰1