{"id":20428560,"url":"https://github.com/dickymuliafiqri/oc_ruler","last_synced_at":"2026-06-06T11:31:49.085Z","repository":{"id":39608085,"uuid":"505145014","full_name":"dickymuliafiqri/oc_ruler","owner":"dickymuliafiqri","description":"Openclash rule_provider based on v2fly geosite","archived":false,"fork":false,"pushed_at":"2023-10-24T00:33:55.000Z","size":1624,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T07:33:02.150Z","etag":null,"topics":["openclash","openwrt","rule","v2fly"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dickymuliafiqri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-19T15:16:40.000Z","updated_at":"2023-10-27T02:42:37.000Z","dependencies_parsed_at":"2024-11-15T07:38:06.357Z","dependency_job_id":null,"html_url":"https://github.com/dickymuliafiqri/oc_ruler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickymuliafiqri%2Foc_ruler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickymuliafiqri%2Foc_ruler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickymuliafiqri%2Foc_ruler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dickymuliafiqri%2Foc_ruler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dickymuliafiqri","download_url":"https://codeload.github.com/dickymuliafiqri/oc_ruler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234067792,"owners_count":18774293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openclash","openwrt","rule","v2fly"],"created_at":"2024-11-15T07:27:39.038Z","updated_at":"2025-01-15T16:23:58.522Z","avatar_url":"https://github.com/dickymuliafiqri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## OC_RULER (Openclash) Rule Providers\n\nMenyediakan rule_provider untuk openclash berdasarkan data dari v2fly\n\n```\nCek ./index.json untuk melihat daftar domain\n```\n\n## Cara Pakai\n\n1. Ubah file **`config.yaml`** yang kamu punya.\n2. Salin script dibawah ini, lalu letakkan di bawah barisan **`proxy_groups`** (baris dibawah ini hanya contoh, selebihnya silahkan improvisasi sendiri)\n\n   ```\n   # Rule Providers\n   # Check time conversion here https://www.timecalculator.net/hours-to-seconds\n   rule-providers:\n     Whatsapp:\n       type: http\n       behavior: classical\n       path: \"./rule_provider/Whatsapp.yaml\"\n       url: https://raw.githubusercontent.com/dickymuliafiqri/oc_ruler/master/data/whatsapp.yaml\n       interval: 86400 # Update rules every 24 hours\n     1337x:\n       type: http\n       behavior: classical\n       path: \"./rule_provider/1337x.yaml\"\n       url: https://raw.githubusercontent.com/dickymuliafiqri/oc_ruler/master/data/1337x.yaml\n       interval: 86400 # Update rules every 24 hours\n   rules:\n   # Rules before match global\n   - RULE-SET,Whatsapp,DIRECT\n   - RULE-SET,1337x,DIRECT\n   # Listen all connections to GLOBAL proxy\n   - MATCH,GLOBAL\n   ```\n\n3. Buka **`OpenClash \u003e Settings \u003e General Settings`** lalu atur seperti contoh di bawah ini\n\n   ![image](https://user-images.githubusercontent.com/20932301/174243963-ae34021c-570d-4847-b693-9ed733ae18b3.png)\n\n4. Lalu tekan tombol **`ENABLE OPENCLASH`** di bagian bawah halaman Overview OpenClash\n\n## Credits\n\n- https://github.com/blackmatrix7/ios_rule_script/tree/master/rule/Clash\n- https://github.com/zzzt27/clashBlock\n- https://github.com/MasterWifiNetworkSolution/PLATINUM-OPENCLASH\n- https://github.com/hillz2/openclash_adblock\n- https://github.com/v2fly/domain-list-community\n- https://github.com/helmiau/clashrules\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdickymuliafiqri%2Foc_ruler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdickymuliafiqri%2Foc_ruler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdickymuliafiqri%2Foc_ruler/lists"}