Expand Up @@ -561,12 +561,3 @@ export const generateConfigFile = async (profile: ProfileType) => { await Writefile(KernelConfigFilePath, JSON.stringify(config, null, 2)) } export const addToRuleSet = async (ruleset: 'direct' | 'reject' | 'block', payload: string) => { // TODO...
generate_config() {openssl ecparam -genkey -name prime256v1 -out "private.key" openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN=$USERNAME.serv00.net"cat >config.json <<EOF { "log": { "disabled": true, "level": "info", ...
@@ -145,13 +147,15 @@ const generateRuleDesc = (rule: ProfileType['dnsRulesConfig'][0]) => { </Card> <Button type="link" @click="handleAddRule">{{ t('common.add') }}</Button> <Modal v-model:open="showModal" @ok="handleAddEnd" max-width="80" max-height="80...
OnGenerate) { arg1 = '{}' arg2 = '{}' } else if (event === PluginTriggerEvent.OnConfigure) { arg1 = metadata arg2 = metadata } const fn = new AsyncFunction( `const Plugin = ${JSON.stringify(metadata)};\n${code.value}\nreturn await ${event}(${arg1}, ${arg2})` `const ...
http://127.0.0.1:25500/sub?target=%TARGET%&url=%URL%&config=%CONFIG% Description If you need to merge two or more subscription, you should join them with '|' before the URLEncode process. Example: You have 2 subscriptions and you want to merge them and generate a Clash subscription: 1...
You have 2 subscriptions and you want to merge them and generate a Clash subscription: 1. https://dler.cloud/subscribe/ABCDE?clash=vmess 2. https://rich.cloud/subscribe/ABCDE?clash=vmess First use '|' to separate 2 subscriptions: https://dler.cloud/subscribe/ABCDE?clash=vmess|https://rich...
url: 'https://www.gstatic.com/generate_204', url, timeout: 5000 }) } export const getProxyDelay = (proxy: string) => { export const getProxyDelay = (proxy: string, url: string) => { return request.get<Record<string, number>>(Api.ProxyDelay.replace('{0}', proxy), { url: '...
"UDP":null))}function xn(n){const{markProxySelected:t}=de(),[s]=O(Ze),{data:o}=me(),a=z(),{config:l}=n;async function r(E){if(await a.changeProxySelected(n.config.name,E),t(n.config.name,E),o.breakConnections){const f=[],p=await a.getConnections();for(const d of ...
Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} hiddify / hiddify-app Public ...
Expand Down Expand Up @@ -247,6 +248,9 @@ const generateRuleDesc = (rule: ProfileType['rulesConfig'][0]) => { width: calc(33.3333% - 16px); margin: 8px; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } Expand Down 17 changes: 10 additi...