GithubHelp home page GithubHelp logo

nasen23 / netease-cloud-music-gtk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gmg137/netease-cloud-music-gtk

0.0 1.0 0.0 592 KB

Linux 平台下基于 Rust + GTK 开发的网易云音乐播放器

License: GNU General Public License v3.0

Rust 100.00%

netease-cloud-music-gtk's Introduction

netease-cloud-music-gtk

Actions Status

netease-cloud-music-gtk 是基于 Rust + GTK 开发的网易云音乐播放器,专为 Linux 系统打造,已在 openSUSE Tumbleweed + GNOME 环境下测试。

特点

  • 稳定:专为 Linux 系统打造,相比官方版本拥有更好的兼容与稳定性。
  • 极速:相比 Node/python 版,Rust + GTK 带给你如丝般的顺滑体验。
  • 可靠:除了断网或网易 API 限制,不会出现运行时问题。
  • 简洁:仿 GNOME Music 风格,GTK 原生界面,纯粹得令人发指。
  • 轻量:安装文件不到 2 M,只需最简单的运行时依赖。

功能

  • 网易邮箱/手机账号登录
  • 私人歌单管理
  • 个性推荐
  • 私人 FM
  • 音乐云盘
  • 热门排行榜
  • 歌曲搜索
  • 简易歌词
  • 桌面歌词(依赖于 OSDLyrics)
  • 热门歌单
  • 新碟上架

运行依赖

openssl, gstreamer, gstreamer-plugins-base, gstreamer-plugins-good, gstreamer-plugins-bad, gstreamer-plugins-ugly

安装

openSUSE Tumbleweed

sudo zypper in netease-cloud-music-gtk

Arch Linux

使用方法:在 /etc/pacman.conf 文件末尾添加以下两行(或者选择其它镜像):

[archlinuxcn]
Server = https://repo.archlinuxcn.org/$arch

Debian

echo "deb https://dl.bintray.com/debianopt/debianopt buster main" | sudo tee -a /etc/apt/sources.list

curl -o bintray-public.key.asc https://bintray.com/user/downloadSubjectPublicKey?username=bintray

sudo apt-key add bintray-public.key.asc

sudo apt install netease-cloud-music-gtk

openSUSE Leap / Ubuntu

从源码安装

openSUSE 安装依赖

sudo zypper in git gcc dbus-1-devel gtk3-devel libopenssl-1_1-devel gstreamer-devel \
      gstreamer-plugins-bad gstreamer-plugins-bad-devel \
      gstreamer-plugins-base gstreamer-plugins-base-devel \
      gstreamer-plugins-good gstreamer-plugins-ugly cairo-devel

ubuntu 安装依赖

sudo apt install git gcc libdbus-1-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
      gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
      gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
      gstreamer1.0-libav libgtk-3-dev libatk1.0-dev libcogl-pango-dev \
      libssl-dev libcairo2-dev libgstreamer-plugins-bad1.0-dev

编译/打包

git clone https://github.com/gmg137/netease-cloud-music-gtk.git
cd netease-cloud-music-gtk

// 编译
cargo build --release
// 编译指定 gtk 版本(Leap 15.1 / Ubuntu 18.04)
cargo build --release --no-default-features --features gtk_3_18

// 打包 rpm
cargo install cargo-rpm
cargo rpm build

// 打包 deb
cargo install cargo-deb
cargo deb

截图

home found mine

参考

netease-cloud-music-gtk's People

Contributors

fplust avatar gmg137 avatar zyw271828 avatar

Watchers

 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.