Giter Site home page Giter Site logo

iptv-go's Introduction

iptv-go

使用 Vercel 部署 https://github.com/youshandefeiyang/LiveRedirectGolang脚本

部署后详细使用说明参考: https://github.com/youshandefeiyang/LiveRedirect/blob/main/Golang/README.md

部署

方式一(推荐)

点击下方按钮一键部署,还没注册的可以选择github登陆然后绑定手机即可

Vercel

方式二

没必要fork了,一键部署更方便 1. Fork项目到自己的仓库 2. 在Vercel创建Project并选择`iptv-go` 3. Build&Deploy 4. Enjoy~

访问路径

现在访问路径不需要加多一层了,和肥羊仓库的方式一致,如果是以前部署的,也不需要改,也是正常用的

直播

https://<你的域名>/live/平台/id

注意路径多了一层live

一起看

https://<你的域名>/yqk/xxx.m3u

注意路径多了一层yqk

高级设置

  1. Vercel的Function Region设置为香港服务器看直播可以延迟会低一点 Vercel设置

设置完需要重新部署生效

其他可选设置
  1. Vercel分配的子域名访问有困难的话可以自定义域名CNAMEcname-china.vercel-dns.com

非必要步骤且需要有自己的域名

  1. 设置Vercel的环境变量LIVE_URL可以替换返回的m3u直播链接,就不用通过请求连接的url参数设置了

非必要步骤

例如设置环境变量为: https://www.baidu.com/live 环境变量设置 返回文件的效果 环境变量设置

优先级:链接的url参数 > 环境变量LIVE_URL > 默认域名

iptv-go's People

Contributors

papagaye744 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.