Connect

One-tap playlist setup

Create a Connect link that opens Teevu with the user's Xtream Codes or M3U details pre-filled. Credentials stay in the URL fragment, so they are not sent to server logs.

  1. 1Build a link per user
  2. 2User opens it on their device
  3. 3Teevu adds the playlist

Watching on a TV? Users open the link on their phone and send it to the TV, no typing with a remote.

Generate a test link

Use real-looking test credentials and verify the exact user flow.

Integration spec

Build links from your own system. No API key, nothing to call.

Link format

URL
https://teevu.app/connect/open#type=<xtream|m3u>&data=<base64>

Parameters

xtreamserver username password name optional
m3uurl name optional
  • Join the parameters as a URL query string, base64-encode it, then percent-encode the result into data.
  • Everything goes after the #. Browsers never send the fragment to a server, so credentials stay out of access logs, CDN logs and Referer headers.
  • Base64 is encoding, not encryption: anyone with the link can read the credentials. Send each link only to its user.

Examples

JavaScript
const params = new URLSearchParams({
  name: 'My IPTV',                       // optional
  server: 'http://provider.example:8080',
  username: user.username,
  password: user.password,
});
const link = 'https://teevu.app/connect/open#type=xtream&data='
  + encodeURIComponent(btoa(params.toString()));
PHP
$params = http_build_query([
    'name'     => 'My IPTV',             // optional
    'server'   => 'http://provider.example:8080',
    'username' => $user->username,
    'password' => $user->password,
]);
$link = 'https://teevu.app/connect/open#type=xtream&data='
      . rawurlencode(base64_encode($params));