Skip to content

Commit

Permalink
Merge pull request #1 from ZZHow1024/develop
Browse files Browse the repository at this point in the history
MagicShare1.0.0
  • Loading branch information
ZZHow1024 authored Jan 19, 2025
2 parents f790bc1 + f5e5a37 commit 413a613
Show file tree
Hide file tree
Showing 86 changed files with 8,088 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Official website
url: https://www.zzhow.com/MagicShare
about: Please read the official documentation before submitting an issue, and if that doesn't solve your problem, then ask an issue.
- name: 官方网站
url: https://www.zzhow.com/MagicShare
about: 请在提交问题之前先阅读官方文档,如果还不能解决问题,则再提问题。
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/issue-template-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Bug Report | Bug反馈
about: Create a "Bug Report" | 创建一个"Bug反馈"
title: ''
labels: ["bug"]
assignees: ''
---

<!-- Please fill in these questions. | 请填写以下这些问题。 -->

### Bug description | bug 描述

### Desired outcome | 期望的结果

### MagicEncoding version | MagicEncoding 版本

### Operating system version | 操作系统版本

### Screenshot | 截图
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/template-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Desired functionality | 期望的功能
about: Tell us what features you would like | 告诉我们您期望的功能
title: ''
labels: ["enhancement"]
assignees: ''
---

<!-- Please answer these questions before you submit the desired feature. | 请在您提交期望的功能之前,回答以下这些问题。 -->

### Scenes to be used | 使用场景

### Functional Description | 功能描述
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/template-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Question Exchange | 问题交流
about: Create a "Question Exchange" | 创建一个“问题交流”
title: ''
labels: ["question"]
assignees: ''
---

<!-- Please fill in these questions. | 请填写以下这些问题。 -->

### Question description | 问题描述

### Desired outcome | 期望的结果

### MagicEncoding version | MagicEncoding 版本

### Operating system version | 操作系统版本

### Screenshot | 截图
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

/.idea
/backend/out
/backend/src/main/resources/META-INF
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

126 changes: 124 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,124 @@
# MagicShare
MagicShare
# [C/S项目]神奇分享_**MagicShare**(中文说明)

---

Website:

[[C/S项目]神奇分享_MagicShare | ZZHow](https://www.zzhow.com/MagicShare)

Source Code:

https://github.com/ZZHow1024/MagicShare

Releases:

https://github.com/ZZHow1024/MagicShare/releases

---

## 它是什么?

MagicShare 是一款跨平台的内网文件分享工具,发送方使用桌面客户端选择需要分享的文件,接收方使用 Web 页面下载分享的文件。

---

## 技术路线

![TechnicalRoute.png](./TechnicalRoute.png)

- 编程语言:Java 和 JavaScript

---

## 许可证

该项目根据 GNU 通用公共许可证 v3.0 获得许可 - 有关详细信息,请参阅 [LICENSE](./LICENSE) 文件。

---

## 用户许可协议

**使用本软件前,请仔细阅读:**

- 合法使用:本软件仅限于合法文件分享,严禁分享任何侵犯版权、涉及色情、暴力、欺诈、违法或其他有害内容的文件。
- 个人责任:您对分享内容的合法性负全部责任,请确保您拥有分享文件的合法授权。
- 风险提示:本软件无法保证所分享文件的安全性,请您自行检查文件的安全性。
- 免责声明:软件作者不对因使用本软件造成的任何直接或间接损失承担责任。

使用 MagicShare 须同意并遵守以上内容。

---

## 使用说明

下载地址:

https://github.com/ZZHow1024/MagicShare/releases

### 桌面客户端

- 确定您使用的操作系统。
- Linux:
- 选择 .deb安装包(Debian, Ubuntu) / .rpm(Red Hat, Fedora, SUSE)安装包。
- macOS:
- 确定您使用的 Mac 的芯片(Apple Silicon / Intel)。
- 选择 .dmg磁盘镜像 / .pkg安装包。
- Windows:
- 选择 .zip压缩包 / .exe安装包 / .msi安装包。
- 通用:
- 选择 .jar包(计算机需要配置好 JRE)
- 下载对应的文件。
- Linux 和 macOS 需要执行安装操作后再运行,Windows 可直接运行 .zip 压缩包中的 .exe 可执行程序或选择 .exe 安装包与 .msi 安装包执行安装操作,.jar 包可直接通过 `java -jar` 命令运行。
- 启动 MagicShare 并认真阅读启动页说明,同意 “用户许可协议” 可继续使用。
- 自定义端口后单击 “启动服务” 按钮
- 若提示 “启动成功”,则表示服务正常启动,可将 ”分享URL“ 提供给接收方。
- 若提示 ”端口被占用“,请尝试更换端口号。
- 若提示 “端口号错误”,请检查自定义的端口号是否为 1~65535 的整数。
- 将待分享的文件添加进分享列表中
- 方式一:拖拽待分享的文件/文件夹至软件主界面上半部分。
- 方式二:单击 “选择文件夹” 按钮选择待分享的文件夹。
- 方式三:在 “分享的文件/文件夹” 文本输入框中输入待分享的文件/文件夹路径,按下 “Enter” 键。
- 按下 “停止服务” 按钮可立即终止分享。
- 按下 “清空分享列表” 按钮可立即清空分享列表。

### Web端

- 打开浏览器,访问 ”分享URL“。
- 启动 MagicShare 并认真阅读启动页说明,同意 “用户许可协议” 可继续使用。
- 下载文件
- 单击 ”快速下载“ 使用浏览器下载器通过 HTTP 协议快速下载文件。
- 单击 ”加密下载“ 使用 MagicShare 加密下载器通过 WebSocket 协议并使用 RSA+AES 混合加密下载文件,不支持同时加密下载多个文件。
- 单击 “查看加密下载进度” 按钮,页面下方将弹出加密下载进度抽屉。

---

## 依赖项

该项目需要以下库:

- [**Vue.js**](https://github.com/vuejs) 及配套组件:用于构建 Web 前端程序。
- [**Spring Boot**](https://github.com/spring-projects/spring-boot) 及配套组件:用于构建 Web 后端程序。
- [**OpenJFX**](https://openjfx.io/):用于构建图形用户界面的 JavaFX 库。

---

## 各版本功能介绍

- MagicShare1.0.0
- 自定义端口启动服务。
- 按文件夹/文件路径查找文件并生成列表。
- Web 网页下载文件。
- 支持通过 HTTP 协议快速下载文件
- 支持通过 WebSocket 协议并使用 RSA+AES 混合加密下载文件

---

## 各版本主界面

![MagicShare1.0.0-Desktop](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4b165318-6383-451c-8845-110b786c9f0a%2Fcc029b9b-e911-4cd4-b9c7-4b0853fa6d04%2FMagicShare1.0.0-Desktop.png?table=block&id=17fe64bd-e40f-8066-8c2d-f5f8b1ab0a23&t=17fe64bd-e40f-8066-8c2d-f5f8b1ab0a23&width=707&cache=v2)

MagicShare1.0.0-Desktop

![MagicShare1.0.0-Web](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4b165318-6383-451c-8845-110b786c9f0a%2Fa457bfec-f826-4936-8721-75fc46632fc2%2FMagicShare1.0.0-Web.png?table=block&id=17fe64bd-e40f-80d7-9c7c-fca929d6904d&t=17fe64bd-e40f-80d7-9c7c-fca929d6904d&width=707&cache=v2)

MagicShare1.0.0-Web
Binary file added TechnicalRoute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions backend/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/mvnw text eol=lf
*.cmd text eol=crlf
33 changes: 33 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/
19 changes: 19 additions & 0 deletions backend/.mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
Loading

0 comments on commit 413a613

Please sign in to comment.