Coder Social home page Coder Social logo

iptv-go's Introduction

iptv-go

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

部署步骤

  1. Fork项目到自己的仓库
  2. 在Vercel创建Project并选择iptv-go
  3. Build&Deploy
  4. Enjoy~

国内优化指南:

  1. 自定义域名CNAMEcname-china.vercel-dns.com加速访问

  2. Vercel的Function Region设置为香港服务器可以获得更低延迟 Vercel设置 设置完需要重新部署生效

访问路径

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

注意路径多了一层live

一起看访问路径

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

注意路径多了一层yqk

可选设置

  1. 设置Vercel的环境变量LIVE_URL可以替换返回的m3u直播链接,就不用通过请求连接的url参数设置了 例如设置环境变量为: https://www.baidu.com/live 环境变量设置 返回文件的效果 环境变量设置 优先级:链接的url参数 > 环境变量LIVE_URL > 默认域名

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

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.