Deep Links
Deep Links allow you to automate actions in Mole, such as adding a subscription or switching a server, simply by following a link.
URL Scheme
Primary scheme: mole://
1. Adding a Subscription
mole://subscription/add?url=<url>&name=<name>
url: URL-encoded subscription link.name: (Optional) Subscription name.
2. Obfuscated import (anti-grep)
mole://crypt1/<base64_payload>
The payload is one or more share links, base64-encoded and newline-separated. The format exists so links are not caught by naive filters looking for substrings like vless://.
This is encoding, not encryption
Base64 is reversible by anyone. crypt1 defeats keyword matching; it does not make the configuration confidential.
3. Direct Protocol Import
Mole is also a system handler for standard links:
* vless://
* vmess://
* trojan://
* ss://
* hysteria2:// and hy2://