{"id":26284521,"url":"https://github.com/imrostami/matchconfig","last_synced_at":"2026-05-20T06:03:51.252Z","repository":{"id":227072509,"uuid":"770090870","full_name":"imrostami/MatchConfig","owner":"imrostami","description":"A small library to extract the list of Vmess Vless Telegram Proxy Shadowsocks Trojan configs from texts","archived":false,"fork":false,"pushed_at":"2024-03-31T17:04:08.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-27T18:48:26.052Z","etag":null,"topics":["csharp","library","proxy","regex","regexp","shadowsocks","telegram","telegram-proxy","trojan","vless","vmess"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imrostami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-03-10T22:04:44.000Z","updated_at":"2024-08-27T16:02:45.000Z","dependencies_parsed_at":"2024-08-28T05:31:11.020Z","dependency_job_id":null,"html_url":"https://github.com/imrostami/MatchConfig","commit_stats":null,"previous_names":["sapurtcomputer30/matchconfig","imrostami/matchconfig"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FMatchConfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FMatchConfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FMatchConfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FMatchConfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imrostami","download_url":"https://codeload.github.com/imrostami/MatchConfig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243625358,"owners_count":20321279,"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":["csharp","library","proxy","regex","regexp","shadowsocks","telegram","telegram-proxy","trojan","vless","vmess"],"created_at":"2025-03-14T18:35:18.025Z","updated_at":"2026-05-20T06:03:46.230Z","avatar_url":"https://github.com/imrostami.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatchConfig\n\n\n\u003cimg src=\"https://camo.githubusercontent.com/ac5e5db04f4acca5ed971d5fb6cf91c816b8985cab254a0b8d8eca963bd764e8/68747470733a2f2f6d6c2e676c6f62656e657773776972652e636f6d2f5265736f757263652f446f776e6c6f61642f64336230313830362d316264392d346139362d613937322d3738376431623662653931333f73697a653d32\"\u003e\n\n\nیک لایبرری کوچیک و ساده برای استخراج کانفیگ های\n\u003cul\u003e\n  \u003cli\u003eVLESS\u003c/li\u003e\n  \u003cli\u003eVMESS\u003c/li\u003e\n  \u003cli\u003eTrojan\u003c/li\u003e\n  \u003cli\u003eShaodwSocks\u003c/li\u003e\n  \u003cli\u003eTelegramProxy\u003c/li\u003e\n  \n\u003c/ul\u003e\n\nاز داخل متن ها\n\nروش نصب به این صورته که توی آدرس گیت هاب وارد بخش ریلیز ها بشین و آخرین dll که منتشر میشه رو دانلود کنین و به پروژتون اضافه کنید (بعدا Nuget هم براش منتشر میکنم برای راحتی کار)\n\n\nروش استفاده ازش بسیار راحته و به دو صورت قابل استفاده اس \n\n📌 1- به صورت Single Match یا استخراج لیست تکی به این صورت \n\n```csharp\nvar data = File.ReadAllText(\"یه فایل متنی با یه عالمه پروکسی.txt\");\n\nConfigMatcher matcher = new ();\n\n//استخراج Vless\nList\u003cstring\u003e vlessProxys = matcher.Vless.Match(data);\n\n\n//استخراج Vmess\nList\u003cstring\u003e vmessProxys = matcher.Vmess.Match(data);\n\n// و الباقی چیز ها\n```\n\n\n📌 به صورت Multi Match (استخراج لیست چند تایی)\n```csharp\nvar data = File.ReadAllText(\"proxy.txt\");\nConfigMatcher matcher = new();\nvar builder = new MatchEngineBuilder();\n\n\n//استخراج لیست پروکسی های تلگرام و vless و vmess از متن\n\nvar matchEngine = builder.AppendMatch(matcher.TelegramProxy)\n.AppenMatch(matcher.Vless)\n.AppendMatch(matcher.Vmess)\n    .Build();\n\n\n//گرفتن خروجی\nList\u003cMatchEngineResult\u003e results = matchEngine.GetMatches(data);\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrostami%2Fmatchconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrostami%2Fmatchconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrostami%2Fmatchconfig/lists"}