GithubHelp home page GithubHelp logo

xajist / clashrules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helmiau/clashrules

0.0 0.0 0.0 358 KB

This repo contains OpenClash, Clash for Android and Stash for iOS rules provider also Shadowrocket for iOS configurations.

License: MIT License

clashrules's Introduction

Rule Providers for Clash (OpenWrt, iOS)

Aplikasi yang digunakan:

  • OpenClash for OpenWrt

    aplikasi Clash ini sudah jelas untuk OpenWrt.

  • Stash for iOS

    aplikasi ini UI nya bagus, bisa menggunakan config dan rule dari OpenClash. Tapi UI yang bagus dapat menyebabkan baterai iOS lebih boros.

  • Shadowrocket for iOS

    aplikasi ini UI nya simple jadi tidak terlalu boros baterai, tapi butuh penyesuaian jika menggunakan config dari OpenClash/Stash. Beberapa contoh konfigurasinya bisa di lihat di contoh config.conf Shadowrocket, untuk rule providernya bisa dilihat disini.


Repository ini berisi rule provider dari beberapa sumber yang sering dipakai di Indonesia, digunakan untuk pisah trafik koneksi. Rule yang tersedia saat ini bisa dilihat disini

HARAP MEMBACA DAN MEMAHAMI TIAP BARIS YANG ADA, AGAR KESALAHAN SEPELE BISA DIATASI SENDIRI !

Cara Pakai

  1. Ubah file config.yaml yang kamu punya.

  2. Salin script dibawah ini, lalu letakkan di bawah barisan proxy_groups (baris dibawah ini hanya contoh, selebihnya silahkan improvisasi sendiri)

    # Rule Providers
    # Check time conversion here https://www.timecalculator.net/hours-to-seconds
    rule-providers:
      XL_Akrab:
        type: http
        behavior: classical
        path: "./rule_provider/XL_Akrab.yaml"
        url: https://raw.githubusercontent.com/helmiau/clashrules/main/rule_provider/XL_Akrab.yaml
        interval: 86400 # Update rules every 24 hours
      Microsoft_Teams:
        type: http
        behavior: classical
        path: "./rule_provider/Microsoft_Teams.yaml"
        url: https://raw.githubusercontent.com/helmiau/clashrules/main/rule_provider/Microsoft_Teams.yaml
        interval: 86400 # Update rules every 24 hours
    rules:
    # Rules before match global
    - RULE-SET,XL_Akrab,DIRECT
    - RULE-SET,Microsoft_Teams,DIRECT
    # Listen all connections to GLOBAL proxy
    - MATCH,GLOBAL
    
  3. Buka OpenClash > Settings > General Settings lalu atur seperti contoh di bawah ini

    image

  4. Lalu tekan tombol ENABLE OPENCLASH di bagian bawah halaman Overview OpenClash

Credits

clashrules's People

Contributors

helmiau avatar github-actions[bot] 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.