Hello, everyone.Xiaofan.
Many programmer partners like to listen to music while knocking code, especially in a noisy environment, a good idea, good thinking may be lost because of a moment of interference.
At this time, if the headset once put on, listening to music can better focus; encountered bugs can also be in a crisis, come up with better solutions;
NetEase Cloud Music, is kind of a relatively simple and interesting player.
But in recent years, there have been more and more fancy features, and some songs have lost their copyrights, which can be both loved and hated.
The other day I was strollingGitHub
When I discovered a [high value third-party NetEase cloud playerYesPlayMusic
]Recommended for everyone.
I. The Charm of YesPlayMusic
YesPlayMusic
It's not a simple "skinning" software, it's based on NetEase Cloud Music'sAPI
UseWhole family bucket development.
Realizes all the core features of NetEase Cloud Music and removes those cumbersome features that you may not even use.
No social features either, simple, clean and focused on listening.
The author claims to be a source of inspirationApple Music
、YouTube Music
、Spotify
、NetEase Cloud Music
。
the reason whyYesPlayMusic
It can be said to have successfully captured the hearts of a large number of users just by its high value interface design.
Currently inGitHub
first (of multiple parts)stars
already have28.9k
I've got it.
The interface is simple but elegant, full-featured but not bloated, for programmers who like simplicity can be a good choice!
GitHub
The address is here:/qier222/YesPlayMusic
Second, YesPlayMusic function
The Sparrow is small, but has all the essentials. It has all the features it should and shouldn't have, but it's not bloated.
Some useless features are taken out directly, and the authors have also made various adaptations for different devices and different regions.
You can log in with your Netflix account and synchronize your Netflix collection over.
The following features can you use.
Third, download and install
The authors have thought it through and made adaptations for various operating systems and various devices. And the release ofElectron version
, so that it is inmacOS
、Windows
、Linux
All get adapted.
Some of you may not knowElectron
What is it?
In fact, we usually use theVisual Studio Code
、NetEase Cloud Music
、obscure or illegible writing
、xmind
And so on all throughElectron
Developed. Now that's not strange.
put it simplyElectron
It is through web technology (HTML
、CSS
cap (a poem) JavaScript
) to rapidly develop tools for cross-platform desktop applications.
What about installing it on a different platform?
-
macOS
Users can use theHomebrew
to install:brew install --cask yesplaymusic
-
Windows
Users can use theScoop
to install:scoop install extras/yesplaymusic
Xiaofan used it.Windows
operating system, the following is an example of thewindows
As an example, I'll briefly explain how to download and install it.
① Jump to the Releases page.
The latest version is currentlyv0.4.8releases
/qier222/YesPlayMusic/releases
② Select the windows exe to download.
If you don't find an installer for your device on the Release page, you can follow the steps below to package your own client.
-
Packaging Electron requires the
cap (a poem)
Yarn
The following is a list of the most popular websites in the world. You can go to the official website./zh-cn/ Download the installation package.mounting
Afterwards, you can execute the
npm install -g yarn
to install Yarn. -
utilization
git clone --recursive /qier222/
Clone this warehouse to local. -
utilization
yarn install
Install project dependencies. -
make a copy of
/.
file is/.env
。 -
Select the commands in the following table to package your installation package as appropriate, and the packaged files are available in the
/dist_electron
Catalog. To learn more you can visitelectron-builder documentation
command | clarification |
---|---|
yarn electron:build --windows nsis:ia32 |
Windows 32 bit |
yarn electron:build --windows nsis:arm64 |
Windows ARM |
yarn electron:build --linux deb:armv7l |
Debian armv7l (Raspberry Pi, etc.) |
yarn electron:build --macos dir:arm64 |
macOS ARM |
Here are some screenshots of Xiaofan's open after installation
IV. Local deployment
In addition to downloading the installer and using it, guys can also deploy this project to theVercel
or on your own server.
The author has provided a total of ① on the front page of the program.Vercel
Deployment ② Deployment on your own server ③Docker
Deployment ④Replit
Deployment Four types of deployment
As for how to deploy it, the authors inGitHub
It's been covered in great detail on.
The steps given for each deployment method are very detailed and will not be listed here due to willingness of the length of the article.
For those who are interested, go to/qier222/YesPlayMusic Just check it out.
V. Development of new features
If the above features don't satisfy you, you can go ahead and make a second opening on this basis
Clone the project locally and run this project
# Install dependencies
yarn install
# Create local environment variables
cp . .env
# Run (web-based)
yarn serve
# Run (electron)
yarn electron:serve
That's the end of this installment.★,°:.☆( ̄▽ ̄)/$:.°★ 。
I hope this helps.
We'll see you next issue ヾ(-ω-`)o (●'◡'●)