Location>code7788 >text

For those of you who like a clean and simple music player, check it out!

Popularity:589 ℃/2024-09-10 08:19:49

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 strollingGitHubWhen I discovered a [high value third-party NetEase cloud playerYesPlayMusic]Recommended for everyone.

YesPlayMusic

I. The Charm of YesPlayMusic

YesPlayMusicIt's not a simple "skinning" software, it's based on NetEase Cloud Music'sAPIUseWhole 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 MusicYouTube MusicSpotifyNetEase Cloud Music

the reason whyYesPlayMusicIt can be said to have successfully captured the hearts of a large number of users just by its high value interface design.

Currently inGitHubfirst (of multiple parts)starsalready have28.9kI'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地址

GitHubThe 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.

image-20240908102713709

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 inmacOSWindowsLinuxAll get adapted.

Some of you may not knowElectron What is it?

In fact, we usually use theVisual Studio CodeNetEase Cloud Musicobscure or illegible writingxmind And so on all throughElectronDeveloped. Now that's not strange.

put it simplyElectron It is through web technology (HTMLCSS 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.Windowsoperating system, the following is an example of thewindowsAs 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

image-20240908104710282

② Select the windows exe to download.

image-20240908104828964

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.

  1. Packaging Electron requires the cap (a poem)YarnThe 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 thenpm install -g yarn to install Yarn.

  2. utilizationgit clone --recursive /qier222/ Clone this warehouse to local.

  3. utilizationyarn install Install project dependencies.

  4. make a copy of/. file is/.env

  5. 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

首页

发现页面

歌曲搜索

mv播放

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.VercelDeployment ② Deployment on your own server ③Docker Deployment ④Replit Deployment Four types of deployment

As for how to deploy it, the authors inGitHubIt'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 (●'◡'●)