Skip to content
GitHubSupport

Subscription page and apps

A subscription link opened in a browser, or in Telegram as a Mini App, shows the subscription page: expiry, traffic, the “Separate limits” block (server groups with a limit of their own), devices and the “Connect a device” section. The platform is detected automatically, the first app in the tab is marked “Recommended”, and the “Add” button opens the subscription straight in the app.

Further down the page: a step-by-step “How to connect” guide, the link itself and a QR code for another device, the “Contact support” button (the link is set in Settings → Subscription → Support), “Open in Telegram”, and a “My devices” section if device binding is on: there a device can be unbound or given a name of its own.

Platform Apps on the page
iPhone Happ, INCY, Streisand, v2RayTun
Android Mikan, Happ, ClashFest, INCY, v2RayTun, Hiddify
Windows Kabosu, Koala Clash, SlothClash, Hiddify, Clash Verge Rev
Mac Kabosu, Clash Verge Rev, SlothClash, Happ, Hiddify
Linux Kabosu, SlothClash, Clash Verge Rev, Hiddify

The subscription recognizes the app by its User-Agent header and serves the matching format:

  • Clash apps on mihomo (Mikan, Kabosu, Koala Clash, Clash Verge, FlClash, ClashFest, SlothClash and others) and Stash get a Clash YAML profile with groups and routes.
  • Xray apps (Happ, v2RayTun, INCY, v2rayNG) and sing-box apps (Hiddify, Karing) get a list of links. INCY with autoselect on gets a whole Xray config, see below.
  • A browser gets the subscription page.

Each app gets only the protocols it can run, see the table in presets. You can also set the format by hand with the parameter ?format=clash, uri or html.

Apps refresh the subscription hourly, which is how new ports and keys reach clients on their own.

Unlike Clash apps, INCY has no autoselect group: it gets a flat list of servers. The Settings → Subscription → In the apps → Full config with autoselect in INCY switch changes that. It is off by default, and INCY gets the same link list as every other Xray app.

Switched on, it serves INCY a whole Xray config: each server is imported as an entry of its own, as before, and an autoselect entry named after the auto group (“Auto”) joins the list. It measures the latency of the servers and keeps the fastest one; a server that does not answer drops out of the choice. The probe interval comes from Settings → Routing → Server choice → Test servers (five minutes by default).

Routes in this mode come from the config itself: the route mode, services, direct lists, your own rules and DNS from Settings → Routing are carried into Xray’s rules. The routing header is not sent then, so there are never two sources of routes. What is not carried: rules by app (process) name — Xray cannot match them; your own list files — Xray does not download Clash lists; geosite and geoip categories the app’s geodata does not have. A service sent to a particular server gets a balancer of that server’s servers.

Only the protocols Xray runs are in the config: VLESS, Trojan and Shadowsocks. So the config is built only when every server of the subscription is one of them: a subscription with Hysteria2 or TUIC is served as the ordinary link list instead — otherwise those servers would disappear from the app. Remove such servers from the subscription (or turn the switch off) to get the autoselect back.

If the app does not take the config, just turn the switch off: the server list comes back at the next subscription update. Nodes that serve subscriptions themselves (Settings → Subscription → Subscriptions from nodes) keep handing out the link list: only the panel serves the full config.

The “YouTube without ads” exit in INCY

Section titled “The “YouTube without ads” exit in INCY”

The offer from Settings → Routing → YouTube without ads also has an exit of its own: the entry node’s own address (the offer’s point — the Russian YouTube has no ads) or another node. The choice is in the card, not in each connection, so a node that carries the whole cascade never has its traffic moved out by a click.

INCY gets this exit in its full config when the switch above is on and the exit is another node: the configs name that node by its address and end every rule on it, and the list gets an item of the offer named after the auto group and the node (“Auto · Russia”). INCY then reaches the Russian YouTube through the cascade, and its rules cannot send that traffic out of the node’s own address in between. An exit by the entry’s own address is not something INCY can reach as an outbound: the configs end on the auto group there, as before. Clash apps get the exit from the routing profile; Happ and the other Xray apps from their own profile.

Settings → Subscription:

  • Service name: your brand on the subscription page and in apps.
  • Main group (default “VPN”) and Auto select (“Auto”): group names in Clash apps.
  • Full config with autoselect in INCY: an autoselect entry for INCY, see Autoselect in INCY.
  • Default TLS fingerprint for all protocols.
  • Support: a Telegram or website link.
  • Devices: binding a subscription to devices, see Plans and users.
  • Subscription port: see Domain and certificates.
  • A domain of its own for subscriptions (since 0.5.2.0): see A domain of its own for subscriptions.
  • When a subscription does not work (since 0.5.2.0): an entry in place of the servers, see below.

The Subscription name in apps field sets the profile name that Happ, v2RayTun and Hiddify show. Clash apps (Koala Clash, Clash Verge, FlClash) use it to name the profile. Empty: the service name is used. You can insert variables into the field:

Variable What it becomes
{brand} the service name
{name} the user’s name
{date} expiry date, DD.MM.YYYY in Moscow time; ∞ if unlimited
{days} days left; ∞ if unlimited
{used} traffic used
{left} traffic left; ∞ if unlimited
{total} traffic limit including packages; ∞ if unlimited
{devices} how many devices are bound, “2/3” with a limit
{tariff} the user’s plan name; empty if there is no plan (since 0.5.2.0)

For example, {brand} · until {date} becomes “Arikan · until 10.11.2026”. An unknown word in curly braces is left as is, and the result is capped at 200 characters.

The Announcement and Announcement link (https:// or tg://) are shown inside Happ, v2RayTun and ClashFest. The variables from the table above work here too.

When the term or traffic is over or the subscription is turned off, an app used to show every server, but none of them connected. Now Settings → Subscription has a When a subscription does not work card. The Show a notice in place of the servers switch replaces the list of servers with one entry that explains what happened and what to do.

While the switch is off, the client sees every server, as before. On, it gives an entry by the reason:

  • the term is over: the subscription must be renewed in the bot;
  • the traffic is used up: buy more traffic or renew in the bot;
  • the subscription is turned off: write to support.

The Own text field replaces these words with yours. Empty: the words by the reason. The variables from the table above work in the text, for example {tariff}, up to 120 characters. An example: ⛔ Plan {tariff} has ended, renew in @your_bot. The subscription page in a browser does not change: it still shows the term, traffic and devices.

The {tariff} variable works in the subscription name and the announcement too, not only in the notice.

Subscription links can be built on a separate domain with its own certificate, see A domain of its own for subscriptions.

The Your brand in the apps switch: ClashFest (Android) and SlothClash (Windows, macOS, Linux) show your name, the user’s name, your logo and color, plus links to support, the bot and renewal. The logo is an https link to a square PNG, WebP or JPEG image, 256×256, up to 512 KB. Other apps don’t read these fields.