Skip to content

Instantly share code, notes, and snippets.

@eesheesh
Created January 24, 2021 17:51
Show Gist options
  • Save eesheesh/e2da0e61a85e50ebf23651eb1921517f to your computer and use it in GitHub Desktop.
Save eesheesh/e2da0e61a85e50ebf23651eb1921517f to your computer and use it in GitHub Desktop.

There's a workaround that might be useful for some people - use the Shadowsocks app for Android TV. Because that app only accepts a JSON configuration file, you need to convert the Outline key to JSON.

  1. Take the following JSON file template:
    {
        "server":"YOUR-SERVER",
        "server_port":12345,
        "local_port":1080,
        "password":"YOUR-PASSWORD",
        "method":"chacha20-ietf-poly1305",
        "remarks": "Outline Server"
    }
  2. From the Outline key (ss://...), take the server name/IP and port and put them in place of YOUR-SERVER and 12345 (respectively).
  3. Take the base64 part of the Outline key (everything after ss:// and before @) and decode it using a base64 decoder.
  4. The resulting string is the method and password, separated by a colon (e.g. chacha20-ietf-poly1305:56gsef6zr5). Take the password and put it in place of YOUR-PASSWORD in the JSON file. If the method isn't chacha20-ietf-poly1305, update it in the JSON "method" field.
  5. Install the Shadowsocks app for Android TV on your Android TV / Google TV device.
  6. Copy the JSON file to your device. If you don't have a way to do that, there are many file managers available for Android TV. If you already have Kodi installed, it has a built-in file manager in Settings, that can be used to copy from network shares as well.
  7. Open the Shadowsocks app on your device and select "Replace from file".
    • If you get a "No application can handle this action" error, you also need to install a file manager that can handle selecting a file from the file system. Not all file managers can do this. On Chromecast with Google TV, I found that it works after installing this app.
  8. You should now be able to connect to your Outline server from the app.

References: Outline Linux docs, Shadowsocks configuration format.

@alar1
Copy link

alar1 commented Sep 5, 2024

Guys, I made a simple client for TV Outline, everything works for me. If anyone has any edits, please send PR https://github.com/agolyud/VPN_Outline_TV

thanks!

@maxim5050
Copy link

Ребята, я сделал простой клиент для TV Outline, у меня все работает. Если у кого-то есть правки, напишите пиар https://github.com/agolyud/VPN_Outline_TV

Спасибо!

Добрый день, не подскажите как вставить ключ , что-то не получается. Заранее спасибо

@maxim5050
Copy link

@Bansher here: https://github.com/agolyud/VPN_Outline_TV/releases

Добрый день, не подскажите как вставить ключ , что-то не получается. Заранее спасибо

@Bansher
Copy link

Bansher commented Sep 11, 2024

@Bansher here: https://github.com/agolyud/VPN_Outline_TV/releases

Добрый день, не подскажите как вставить ключ , что-то не получается. Заранее спасибо

Создайте файл с расширением json со следующим содержимым:
{
"server" : mail.swishadelfa.cfd ,
"server_port" : 48402 ,
"local_port" : 1080 ,
"password" : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ,
"method" : chacha20-ietf-poly1305 ,
"remarks" : Соблазнительный+Энштейн
}
Всё остальное по инструкции. У меня проблема была именно с конфиг файлом т.к. в инструкции в шапке он с ошибками.

@maxim5050
Copy link

@Bansherздесь: https://github.com/agolyud/VPN_Outline_TV/releases

Добрый день, не подскажите как вставить ключ, что-то не получается. Заранее спасибо

создать файл с расширением json со следующим содержимым: { "server": mail.swishadelfa.cfd, "server_port": 48402, "local_port": 1080, "password": XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, "method": chacha20-ietf-poly1305, замечания " : Соблазнительный+Энштейн } Всё остальное по инструкции. У меня проблема была именно с конфиг-файлом т.к. в инструкции в шапке он с ошибками.

Спасибо

@Sergey9694
Copy link

Hello, in what format should the outline key be entered? The key is entered, I press connect and after a second it automatically disconnects? I am talking about the android tv app https://github.com/agolyud/VPN_Outline_TV

@agolyud
Copy link

agolyud commented Sep 16, 2024

Hello, in what format should the outline key be entered? The key is entered, I press connect and after a second it automatically disconnects? I am talking about the android tv app https://github.com/agolyud/VPN_Outline_TV

Hi. format ss:// and ssconf://

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment