Top Related Projects
:cake: Wow, such a powerful music API framework
one for all free music in china (chrome extension, also works for firefox)
高颜值的第三方网易云播放器,支持 Windows / macOS / Linux :electron:
网易云音乐 Node.js API service
一个基于 electron 的音乐软件
Material Design 3(Material You) UI components using Web Components.
Quick Overview
The maicong/music
repository is a web-based music player that allows users to search for and listen to music from various online sources. It provides a user-friendly interface for browsing and playing music, as well as features for creating playlists and managing your music library.
Pros
- Comprehensive Music Library: The project integrates with multiple music sources, allowing users to access a wide range of music content.
- User-Friendly Interface: The web-based player offers a clean and intuitive design, making it easy for users to navigate and interact with the music.
- Playlist Management: Users can create and manage their own playlists, allowing them to customize their listening experience.
- Cross-Platform Accessibility: As a web-based application, the music player can be accessed from any device with a web browser, providing a consistent experience across different platforms.
Cons
- Limited Music Sources: While the project integrates with multiple sources, the selection may be limited compared to dedicated music streaming services.
- Potential Legal Concerns: Depending on the music sources used, there may be legal or licensing issues that could impact the long-term sustainability of the project.
- Maintenance and Updates: As an open-source project, the ongoing maintenance and updates may rely on the availability and contributions of the community.
- Privacy and Security: As a web-based application, there may be concerns about user data privacy and the security of the platform.
Code Examples
N/A (This is not a code library)
Getting Started
N/A (This is not a code library)
Competitor Comparisons
:cake: Wow, such a powerful music API framework
Pros of Meting
- More actively maintained with recent updates
- Supports a wider range of music platforms (10+)
- Better documentation and examples for integration
Cons of Meting
- Requires PHP 5.4+ while Music works with PHP 5.3+
- More complex setup process
- Larger codebase, potentially harder to customize
Code Comparison
Music:
$api = new \Metowolf\Meting('netease');
$data = $api->format(true)->search('Hello');
Meting:
$api = new \Meting\Core();
$api->setFormat('json');
$data = $api->netease()->search('Hello');
Key Differences
- Meting uses a more object-oriented approach
- Music focuses primarily on Chinese music platforms
- Meting offers more flexibility in output formats
- Music has a simpler API but fewer features
Use Cases
- Choose Music for basic integration with Chinese platforms
- Opt for Meting for a more comprehensive, multi-platform solution
Community and Support
- Meting has a larger user base and more active issues/discussions
- Music has fewer contributors but a simpler codebase for quick fixes
one for all free music in china (chrome extension, also works for firefox)
Pros of listen1_chrome_extension
- Cross-platform compatibility as a Chrome extension
- Supports multiple music streaming services in one interface
- Active development with frequent updates
Cons of listen1_chrome_extension
- Limited to Chrome browser environment
- May require more system resources as a browser extension
- Potential for breakage if streaming services change their APIs
Code Comparison
listen1_chrome_extension:
const playlistTypes = {
'netease': 'netease_playlist',
'qq': 'qq_playlist',
'kugou': 'kugou_playlist',
'kuwo': 'kuwo_playlist',
'bilibili': 'bilibili_playlist',
};
music:
$music_type = [
'netease' => '网易',
'tencent' => 'QQ',
'xiami' => '虾米',
'kugou' => '酷狗',
'baidu' => '百度',
];
Both projects use similar approaches to define music service types, but listen1_chrome_extension is implemented in JavaScript for browser environments, while music uses PHP for server-side processing.
listen1_chrome_extension offers a more comprehensive solution for cross-platform music streaming, integrating multiple services into a single interface. However, it's limited to Chrome users. music, on the other hand, provides a server-side solution that can be integrated into various web applications but may require more setup and maintenance.
高颜值的第三方网易云播放器,支持 Windows / macOS / Linux :electron:
Pros of YesPlayMusic
- More active development with frequent updates and bug fixes
- Modern and visually appealing user interface
- Cross-platform support (Windows, macOS, Linux)
Cons of YesPlayMusic
- Larger codebase and potentially more complex to contribute to
- Focused primarily on NetEase Music, less flexibility for other sources
Code Comparison
YesPlayMusic (Vue.js):
<template>
<div class="player">
<Cover :url="currentTrack.al.picUrl" :playing="isPlaying" />
<div class="info">
<div class="title">{{ currentTrack.name }}</div>
<div class="artist">{{ currentTrack.ar[0].name }}</div>
</div>
</div>
</template>
music (PHP):
<?php
function mc_song_urls($value, $type = 'query', $site = 'netease', $page = 1)
{
if (!$value) {
return;
}
$result = mc_get_song_by_id($value, $type, $site, $page);
if (empty($result['url'])) {
return;
}
return $result;
}
Summary
YesPlayMusic offers a more polished and actively maintained solution with cross-platform support, while music provides a simpler PHP-based implementation. YesPlayMusic's modern interface and frequent updates make it more appealing for end-users, but its larger codebase may be more challenging for contributors. The music project, being PHP-based, might be easier to integrate into existing web applications but lacks the rich features and UI of YesPlayMusic.
网易云音乐 Node.js API service
Pros of NeteaseCloudMusicApi
- More comprehensive API coverage for NetEase Cloud Music
- Actively maintained with frequent updates
- Extensive documentation and examples
Cons of NeteaseCloudMusicApi
- Focused solely on NetEase Cloud Music, lacking multi-platform support
- More complex setup and usage compared to music
Code Comparison
music:
$api = new \Metowolf\Meting('netease');
$data = $api->format(true)->search('Hello');
NeteaseCloudMusicApi:
const { login_cellphone, user_cloud } = require('NeteaseCloudMusicApi')
login_cellphone({
phone: '手机号',
password: '密码'
}).then(result => {
console.log(result)
user_cloud({
cookie: result.body.cookie
}).then(result => {
console.log(result)
})
})
Summary
NeteaseCloudMusicApi offers a more comprehensive and up-to-date API for NetEase Cloud Music, with better documentation and active maintenance. However, it's limited to a single platform and has a steeper learning curve. In contrast, music provides a simpler interface and supports multiple music platforms but may lack some of the advanced features and regular updates found in NeteaseCloudMusicApi.
一个基于 electron 的音乐软件
Pros of lx-music-desktop
- Cross-platform desktop application (Windows, macOS, Linux)
- More feature-rich UI with playlist management and lyrics display
- Regular updates and active development
Cons of lx-music-desktop
- Larger file size and resource usage due to being a desktop application
- More complex setup compared to the web-based music project
Code Comparison
lx-music-desktop (Vue.js):
import { createApp } from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
createApp(App).use(store).use(router).mount('#app')
music (PHP):
<?php
require 'vendor/autoload.php';
$api = new Meting('netease');
$data = $api->format(true)->search('Hello');
echo json_encode($data);
Summary
lx-music-desktop is a comprehensive desktop application for music streaming, offering a rich feature set and cross-platform support. It provides a more robust user experience with playlist management and lyrics display. However, it requires more system resources and has a more complex setup compared to the web-based music project.
The music project is a simpler, web-based solution that can be easily integrated into existing websites. It has a smaller footprint but offers fewer features compared to lx-music-desktop.
Both projects serve different use cases, with lx-music-desktop being more suitable for users looking for a standalone music player, while music is better for web developers wanting to add music functionality to their sites.
Material Design 3(Material You) UI components using Web Components.
Pros of mdui
- More comprehensive UI framework with a wider range of components
- Better documentation and examples for developers
- Actively maintained with regular updates and improvements
Cons of mdui
- Larger file size and potentially more complex to implement
- Focused on Material Design, which may not suit all project styles
- Steeper learning curve for developers new to the framework
Code Comparison
mdui:
mdui.snackbar({
message: 'Hello, world!',
timeout: 3000,
position: 'bottom'
});
music:
$music = new Music();
$result = $music->search('Song Title', 'netease');
Summary
mdui is a comprehensive Material Design UI framework for web development, offering a wide range of components and tools. It provides better documentation and is actively maintained, but may be more complex to implement and has a steeper learning curve.
music is a simpler, more focused project for searching and playing music from various sources. It's easier to integrate for specific music-related functionality but lacks the broader UI components and design system offered by mdui.
The choice between these repositories depends on the project's specific needs: mdui for a full-featured UI framework, or music for a targeted music search and playback solution.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
é³ä¹æç´¢å¨
说æ
â ï¸ æ¬é¡¹ç®å·²æåç»´æ¤ï¼å档代ç ä» ä¾å¦ä¹ 交æµï¼ä¸å¾ç¨äºåä¸ç¨é
å¤ç«åä¸é³ä¹æ索解å³æ¹æ¡ï¼æ¯ææç´¢è¯å¬ä»¥ä¸ç½ç«é³ä¹ï¼
ç½æäºé³ä¹ QQé³ä¹ é ·çé³ä¹ é ·æé³ä¹ è¾ç±³é³ä¹ ç¾åº¦é³ä¹ ä¸å¬é³ä¹ åªåé³ä¹ èæFM è»èFM å马æé FM å ¨æ°Kæ 5singåå 5singç¿»å±
æ°æ®è°ç¨çæ¯åç½ç«ç API æ¥å£ï¼æçæ¥å£å¹¶ä¸æ¯å¼æ¾çï¼éæ¶å¯è½å¤±æï¼æ¬é¡¹ç®ç¸å ³ä»£ç ä» ä¾åèã
æ¼ç¤º
æ¼ç¤ºç«ç¹æåç»´æ¤ï¼2018å¹´11æ01æ¥èµ·ä¸åæä¾æ¼ç¤ºç«ç¹æå¡ã
å¦ææéè¦æ¹è¿çå°æ¹ï¼æ¬¢è¿æ交 Pull Requests
ä¸è½½
ð¦ ä¸è½½å¼åç ð¦ è·å稳å®ç
解å³æ¹æ¡
1. æ示æ°æ®è·å失败
æ¹æ¡1ï¼
ä¿®æ¹ index.php æ件éç MC_PROXY 为æ¨ç代çå°å
å° core/music.php ééè¦ä»£çç URL 'proxy' => false æ¹ä¸º 'proxy' => true
æ¹æ¡2ï¼
å¨ core/music.php éæ¥æ¾ setTimeoutï¼å°å
¶åé¢çæ°å¼ 20 æ¹ä¸ºæ´å¤§ã
å¨ static/js/music.js éæ¥æ¾ `timeout`ï¼å°å
¶æ°å¼ 30000 æ¹ä¸ºæ´å¤§ã
æ¹æ¡3ï¼
æå¡å¨è¦æ¯æ curlã
æ´æ¢æå¡å¨ï¼éæ©å»¶è¿æ´ä½çæå¡å¨ã
2. ææ¾å¨æ¾ç¤º Error happens â¥ï¹â¥
é³ä¹é¾æ¥ä¸ºç©º
1. é³ä¹éè¦ä»è´¹æè½æ¶å¬
2. çæéå¶ï¼å¤ç«æ æ³è·å
3. æå¡å¨ IP æå¨å°ä¸å¨æºç«å
许çåºå
4. é³ä¹ä¸æ¶äºï¼é¾æ¥è¢«å»é¤
é³ä¹é¾æ¥ä¸ä¸ºç©º
1. å½å IP æå¨å°å çæéå¶èæ æ³ææ¾
2. é³ä¹æ ¼å¼æµè§å¨æ æ³æ£å¸¸è§£æ
3. å½å æ¥å£ä¼å
å¦æä½ çç½ç«å¨å½å
ï¼æå¼ /index.phpï¼å° define('MC_INTERNAL', 0);
ä¿®æ¹ä¸º define('MC_INTERNAL', 1);
ï¼è¿æ ·å°±å¯ä»¥åå°åªååç½æäºé³ä¹ç 320k é³é¢äºã
æ´æ°æ¥å¿
请æ¥ç CHANGELOG.md
å 责声æ
- æ¬ç«é³é¢æ件æ¥èªåç½ç«æ¥å£ï¼æ¬ç«ä¸ä¼ä¿®æ¹ä»»ä½é³é¢æ件
- é³é¢çææ¥èªåç½ç«ï¼æ¬ç«åªæä¾æ°æ®æ¥è¯¢æå¡ï¼ä¸æä¾ä»»ä½é³é¢åå¨åè´©åæå¡
- æ¬é¡¹ç®ä»£ç ä» ä¾å¦ä¹ 交æµï¼ä¸å¾ç¨äºåä¸ç¨éï¼å¦æä¾µç¯ä¸ä»£ç è´¡ç®äººåæ å ³
å¼æºåè®®
The MIT License (MIT)
Top Related Projects
:cake: Wow, such a powerful music API framework
one for all free music in china (chrome extension, also works for firefox)
高颜值的第三方网易云播放器,支持 Windows / macOS / Linux :electron:
网易云音乐 Node.js API service
一个基于 electron 的音乐软件
Material Design 3(Material You) UI components using Web Components.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot