1 Star 0 Fork 0

Winnie / SaltPlayerConverterBackEnd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

中文 / English

cover

椒盐歌单助手

前后端重构版——后端仓库


项目介绍

原项目前后端重构版的后端代码仓库。

项目功能的使用教程在原项目的README,本README只包含如何自行运行本项目

重构版 前端仓库:SaltPlayerConverterFrontEnd

需要使用的硬件与软件

必须:

  • 电脑或服务器

任选:

  • Java IDE
  • JDK (版本 >= 17)
  • JRE (版本 >= 17)
  • Maven

项目的使用与运行(三选一即可)

1. 使用Java IDE(如IntelliJ IDEA、Eclipse等)从源码运行

  1. 克隆或下载本项目的源码。
git clone git@gitee.com:winnie0408/SaltPlayerConverterBackEnd.git
  1. 使用Java IDE打开本并信任项目。
  2. 打开项目根目录下的pom.xml文件,使用IDE自带的Maven工具下载项目所需的依赖。(推荐配置Maven源为阿里云或其他国内镜像,以加快下载速度)。
  3. (可选)在src/main/resources/application.yml文件的port节点,修改后端服务运行的端口(默认为8082)。
  4. 运行项目中的src/main/java/Main.java文件。

2. 使用Maven从源码编译、并运行JAR包

  1. 克隆或下载本项目的源码。
git clone git@gitee.com:winnie0408/SaltPlayerConverterBackEnd.git
  1. (可选)在src/main/resources/application.yml文件的port节点,修改后端服务运行的端口(默认为8082)。
  2. 进入项目目录,使用Maven编译项目。(推荐配置Maven源为阿里云或其他国内镜像,以加快下载速度)。
mvn clean package
  1. 等待编译完成,控制台输出BUILD SUCCESS,进入项目中的target目录,运行以.jar结尾的文件。
java -jar [FileName].jar

3. 下载并运行JAR包(默认占用8082端口)

  1. 在项目的Release页面,找到最新版本,下载以.jar结尾的文件。
  2. 运行刚刚下载的JAR包。
java -jar [FileName].jar

配置Maven镜像源

Windows

  • 使用自行安装的Maven
    1. 在Maven的安装目录中,找到并打开conf/settings.xml文件(没有的话就自行创建一个)。
    2. 在该文件的<mirrors></mirrors>节点中添加子节点。
  • 使用IDE自带的Maven
    1. 进入C:\Users\[Username]\.m2目录,找到并打开settings.xml文件(没有的话就自行创建一个)。
    2. 在该文件的<mirrors></mirrors>节点中添加子节点。

Linux

  1. 进入/etc/maven/conf目录,找到并打开settings.xml文件。
  2. 在该文件的<mirrors></mirrors>节点中添加子节点。

可用子节点(添加一个或多个皆可)

  • 阿里云

<mirror>
    <id>aliyunmaven</id>
    <mirrorOf>*</mirrorOf>
    <name>阿里云公共仓库</name>
    <url>https://maven.aliyun.com/repository/public</url>
</mirror>
  • 网易

<mirror>
    <id>netease</id>
    <url>http://maven.netease.com/repository/public/</url>
    <mirrorOf>central</mirrorOf>
</mirror>
  • 中国科学技术大学USTC

<mirror>
    <id>ustc</id>
    <url>http://mirrors.ustc.edu.cn/maven/maven2/</url>
    <mirrorOf>central</mirrorOf>
</mirror>

完整配置文件示例

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <mirrors>
        <!-- 阿里云仓库 -->
        <mirror>
            <id>alimaven</id>
            <mirrorOf>central</mirrorOf>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
        </mirror>


        <!-- 中央仓库1 -->
        <mirror>
            <id>repo1</id>
            <mirrorOf>central</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>https://repo1.maven.org/maven2/</url>
        </mirror>


        <!-- 中央仓库2 -->
        <mirror>
            <id>repo2</id>
            <mirrorOf>central</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>https://repo2.maven.org/maven2/</url>
        </mirror>

        <mirror>
            <id>repo2</id>
            <mirrorOf>central</mirrorOf>
            <name>Human Readable Name for this Mirror.</name>
            <url>https://search.maven.org/</url>
        </mirror>
    </mirrors>

</settings>

赞助与支持

🥰🥰🥰

如果这个项目对您有所帮助,您可以给我一颗免费的⭐,或者请我喝杯咖啡!
非常感谢您的支持!
⬇️⬇️⬇️
Sponsorship.jpg

MIT License Copyright (c) 2023 HWinZnieJ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

前后端重构版:后端仓库。从网易云音乐、QQ音乐等在线音乐平台,获取歌单,并转换成椒盐音乐可识别的歌单格式,方便用户快速跨平台迁移歌单。Refactored version: back-end repository. From online music platforms such as NetEase Cloud Music, QQ Music, etc., get the song list and convert it to Salt Player recognisable song list format, which is convenient for users to migrate the song list quickly and cross-platform. 展开 收起
Java
MIT
取消

发行版 (2)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/winnie0408/SaltPlayerConverterBackEnd.git
git@gitee.com:winnie0408/SaltPlayerConverterBackEnd.git
winnie0408
SaltPlayerConverterBackEnd
SaltPlayerConverterBackEnd
master

搜索帮助