🎵 Yandex.Music Desktop (un-official port of website). Please note: this is only webview port of Yandex.Music website as desktop app for macOS, Windows 10 and GNU/Linux!
MIT License
I love listen music 🥰 and always want to do it as easy as possible. Concept of Yandex.Music service (web for desktop clients and app for mobile) are great, but not so really.
Therefore, I was very upset that Yandex.Music does not have a macOS (or Windows/Linux) desktop application... and created this port of the official Yandex.Music website! 😉
.dmg
, 2.39 MB).tar.gz
, 1.7 MB).zip
, 2.11 MB)Since this is an open source project, you can easily see how it all actually works. The code is written with Go (Golang) 1.11.x
and using Go Modules
.
package main
import "github.com/zserge/webview"
func main() {
// URL params
p := "origin=music_button-header&retpath=https%3A%2F%2Fmusic.yandex.com%2Fhome"
// Init app
w := webview.New(false)
defer w.Destroy()
// Settings
w.SetTitle("Yandex.Music Desktop")
w.SetSize(800, 960, webview.HintNone)
w.Navigate("https://passport.yandex.com/auth?" + p)
// Run app
w.Run()
}
But all magic is done by absolutely awesome webview module by Serge Zaitsev.
A tiny cross-platform webview library for C/C++/Golang to build modern cross-platform GUIs. Also, there are Rust bindings, Python bindings, Nim bindings, Haskell and C# bindings available.
It supports two-way JavaScript bindings (to call JavaScript from C/C++/Go and to call C/C++/Go from JavaScript).
It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and MSHTML (IE10/11) on Windows.
Installation .dmg
images for macOS was created by node-appdmg (many thx to Linus Unnebäck).
MS Windows 10 version available thanks to xgo (Go CGO cross compiler by Péter Szilágyi).
GNU/Linux version compiled and tested at Arch Linux (Manjaro 20).
yandex-music-desktop
:git clone https://github.com/koddr/yandex-music-desktop.git
cd yandex-music-desktop
Go
1.11+):make build-macos # build .app for macOS
make build-linux # build binary file for Linux
go get github.com/karalabe/xgo # install xgo cross compiler
make build-windows # build .exe for Windows 10
./build/<macOS|Linux|Windows>
folderYandex.Music Desktop.app
to your /Applications
folder on macOS:sudo cp -R ./build/macOS/Yandex.Music\ Desktop.app /Applications
yamusic_desktop
binary to your Linux system (/usr/share/bin
) and create symlink to it.Yandex.Music Desktop.exe
to anything you want on Windows 10 system!node-appdmg
(required Node.js
and npm
):npm install -g appdmg
.dmg
):make installer-macos # for macOS 10.11+
./releases/macOS
folder.make archive-tar-linux # for Linux
./releases/Linux
folder.make archive-zip-windows # for Windows 10
./releases/Windows
folder.At ./static/macOS
folder you can found layered Adobe Photoshop source file (.psd
) of macOS installation image: yamusic_desktop.background.psd
(CC0 1.0 Universal).
Yandex.Music Desktop app running from default OS webview layer, if you removed Edge browser — webview layer is Internet Explorer 11 (not Google Chrome/FireFox/Opera/etc., because it's third-party software for Windows!).
On screen (from left to right): Yandex.Music Desktop app, Internet Explorer 11, MS Edge 18:
And, I thought, web site Yandex.Music not working in Internet Explorer 11 without Flash player (see this), who not installed by default with system.
The author (Vic Shóstak) of this Yandex.Music desktop port is not responsible for work of this desktop application, because YANDEX LLC may changes the way it provides content and/or releases its own desktop application.
If you want to say «thank you» or/and support active development Yandex.Music Desktop
:
Thanks for your support! 😘 Together, we make this project better every day.
All logos, images and Yandex.Music service website — belong to their respective owners, namely YANDEX LLC.
If you download, install and run Yandex.Music Desktop application from current repository, you're already agree with official Terms of Use of Yandex.Music: EN, RU, BY, KZ.
Yandex.Music Desktop by Vic Shóstak is an open source software under MIT license.
Background image for macOS installer is designed by Vic Shóstak and under CC0 1.0 Universal license protection.