Giter Club home page Giter Club logo

catya's Introduction

Catya

有一说一,虎牙的4k 60fps直播源画质真高,达到了YouTube的水平,但是感觉在浏览器上面打开比较卡,很吃资源,于是,我写了这个工具,通过抓取实际直播源地址,然后通过本地播放器打开,我用的是SMPlayer,效果非常好,贼流畅。

软件界面UI这块使用了fyne这个开源图形库,这个库功能还挺强大的,基于opengl,基本的组件都有,就是不是布局太好用,贵在是原生UI,而且跨平台,甚至连安卓也能跑。

用法

我自己用的Ubuntu桌面,所以我只打包编译了Linux的版本,需要的从realse页面下载,Mac或者Windows的自行编译吧。。。编译打包的可以参考官方文档,其实还是有点麻烦,不像是普通的Go应用,一个交叉编译解决。有人编译成功的话,可以告诉我,我放上去。

官方编译打包文档:https://developer.fyne.io/started/packaging

只需复制虎牙直播间地址,或者直接输入直播间号,比如lpl,或者s4k(4k直播间号),点击提交,下面就会列出所有源地址,但是不是所有源都可以用,我也不清楚为啥有的用不了。

然后只要点击列表可以复制地址到粘贴板,如果你安装了SMPlayer、MPV的话,则会自动打开直播,没安装的话就自己手动打开吧,现在很多视频播放软件都支持网络播放。

软件支持保存最近最多8个访问过的直播间号,方便快速查询使用,点击即可一键查询,另外,我还特地准备了icon,放上去毫无违和感!

备注

如果你觉得浏览器看4k比较占资源,同时不喜欢看弹幕撕逼带节奏的话,这个非常适合你,另外如果你是4k屏幕,可能需要设置一下缩放,通过导入一个环境变量,比如我设置成1.75。

export FYNE_SCALE=1.75

最后,此软件只是本人兴趣爱好开发,献给爱看LOL直播、喜欢theshy的玩家,如果有版权问题,侵权秒删,感谢支持!

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.