Giter VIP home page Giter VIP logo

socratscc / profiles_for_clash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from letsshareall/profiles_for_clash

0.0 0.0 0.0 17.1 MB

可自动生成一些能够用于 Clash for Windows、Clash for Android 等应用的配置文件的 Python 脚本。Python script can be used to generate some profiles for Clash for Windows、Clash for Android and so on.

License: MIT License

Python 65.97% Smarty 33.54% Shell 0.28% PowerShell 0.21%

profiles_for_clash's Introduction

使用 Python 自动获取一些可用于 Clash for WindowsClash for Android 等应用的配置文件。

警告:通过使用特殊方式访问外网时请严格遵守当地法律法规禁止借此进行传播“黄、赌、毒”等违法犯罪活动。节点均来自网络收集,由网友免费提供,请勿使用节点进行 BT 下载

脚本使用教程

基本使用

Github_Actions

  1. 进入 Settings -> Personal access tokens 设置。
  2. 点击 Generate new token
  3. 输入密码并点击 Confirm passwrod
  4. 至少勾选 repoworkflowgist 项。
  5. 点击 Generate token 并复制 Token
  6. Fork 本仓库。
  7. 进入你 Fork 的仓库。
  8. 进入仓库 Settings 页面。
  9. 找到并进入 Security -> Secrets -> Actions 分页。
  10. 点击 New repository secret
  11. NameACCESS TOKENValue 为刚刚复制的 Token
  12. 点击 Add secret
  13. 进入 Actions 页面。
  14. 选择任意一个 workflow
  15. 右侧点击 Run workflow
  16. 等待脚本执行完成。

本地执行

下载发布的版本后执行
  1. 前往 Release 页面。
  2. 下载 Profile for Clash Auto Getter.zip
  3. 解压 Profile for Clash Auto Getter.zip
  4. 根据系统双击 run 脚本运行。
    • Linux or macOS:运行 run.sh
    • Windows:运行 run.ps1
克隆本项目后执行
  1. 克隆本项目。

    git clone https://github.com/Shuery-Shuai/Profiles_for_Clash.git
  2. 进入 auto_getter 目录。

    cd ./Profiles_for_Clash/auto-getter
  3. 安装 Python 依赖包。

    pip install -r requirements.txt
  4. 运行脚本

    python ./main.py
  5. 等待脚本运行完成。

高级使用

即在运行脚本前根据脚本设置设置项目后运行本项目。

配置使用教程

配置文件 WIKI

profiles_for_clash's People

Contributors

shuery-shuai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.