Skip to content

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. Importing Encrypted Config (Anti-Grep)

To protect against automated traffic scanning systems, Mole supports encrypted payloads.

mole://crypt1/<base64_payload>

This format is used to transmit configs via messengers without the risk of them being blocked by keywords.

3. Direct Protocol Import

Mole is also a system handler for standard links: * vless:// * vmess:// * trojan:// * ss:// * hysteria2://