Importing configurations

Ways to add a subscription or a profile to Letakof and what is supported.

Method Where Notes
Subscription link All platforms An http:// or https:// address. Updated automatically.
Individual proxy key Windows, macOS, Android Paste a proxy link or a complete WireGuard configuration into the add screen. No subscription required; see Subscriptions and proxy keys.
letakof://add/ link All platforms letakof://add/https://host/path. Opens Letakof and asks Add subscription? Opening the same link again updates that subscription.
From file All platforms A .yaml, .yml or .conf profile (up to 10 MB, UTF-8). It has no link, so it does not update over the network. To send it to a TV, you can copy its YAML into the website form. On iPhone you can also use Share → Letakof or Open in… from Files.
Scan QR Android, iPhone A QR code with a plain link or a letakof://add/ link.
Website Android TV tv.letakof.app: enter the TV code, send a link or complete Mihomo YAML (up to 8 MiB), then confirm on the TV. A shared local network is not required. See First connection.
TV activation Android TV The phone (Android or iPhone) sends its subscription link to the TV. See First connection.

On Windows, macOS and Android, open Settings → Subscriptions and keys → Add subscription or key to add more sources and choose the active subscription or Keys only. The subscription menu on Home also switches profiles. On iPhone, use Add provider in that menu.

Individual proxy keys

Version 0.9.0 accepts vless://, vmess://, trojan://, ss://, hysteria://, hysteria2:// (also hy2://), tuic://, wireguard:// (also wg://) and WireGuard configurations with [Interface] / [Peer] sections. Paste several proxy links one per line; a WireGuard configuration is one complete key. Not every protocol extension is supported: the app reports an error for an unsupported key.

Keys are credentials, just like subscription links. Use Keys only to connect with all saved keys, or select a subscription and check the keys to include in it. See Subscriptions and proxy keys.

Base64 (B64) and Xray JSON subscriptions

Since 0.9.1 on Windows, macOS and Android, you can use the provider’s usual https:// subscription URL even if it returns a Base64-encoded proxy-link list, a plain-text list of proxy links, or Xray JSON. Xray JSON can contain one configuration, an array of configurations or an array of outbounds.

  1. Copy the subscription URL from your provider.
  2. Open Settings → Subscriptions and keys → Add subscription or key, paste the URL and confirm. For a source already saved, refresh it.
  3. Choose a server from the generated Proxy group and connect. The subscription keeps its URL and can update automatically.

No external converter or separate format switch is needed. Letakof first tries to obtain Mihomo YAML, including requests with fallback User-Agent values, then converts supported nodes from the received responses locally. If you have only the subscription contents rather than a URL, import them as a local profile file; it will not update automatically. To add individual proxy links directly, use the key workflow above.

Conversion limits: Base64 and Xray JSON are converted into nodes, one Proxy selection group and a MATCH,Proxy rule. Xray routing, DNS, inbounds and other application settings are not imported; provider routing rules and groups are not recreated. Not every protocol or extension can be converted. For the provider’s full routing configuration, prefer Mihomo YAML. sing-box JSON remains unsupported.

For fallback request details and HWID behaviour, see Device identifier (HWID).

What is read

Servers, proxy groups, rules, rule providers, and the DNS and GEO sections of the profile, plus provider data from the response headers; see Available headers.

Full routing configuration is read from Clash/Mihomo YAML; Base64 and Xray JSON import only the supported nodes as described above. Also unsupported in YAML: proxy-providers (Letakof reports an error), and desktop-client keys such as external-controller, allow-lan and listening ports, which are ignored.

A subscription link is a secret. Letakof does not write it to its log. With TV activation, the link travels over plain HTTP inside your local network. With the website, the link or YAML is temporarily relayed through the Letakof service over HTTPS; adding it requires confirmation on the TV.

Found a mistake? Open an issue on GitHub.