# HHSendPro
**Repository Path**: sh_huahui/hhsend-pro
## Basic Information
- **Project Name**: HHSendPro
- **Description**: 付费版局域网快传
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-09-08
- **Last Updated**: 2026-09-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 龙传企业离线授权
本分支已接入共享离线授权签发器,支持一机一码、硬件容错、时钟防回拨以及 UI / Rust 传输门禁。激活页提供机器码,并显示联系人 **刘江(liujiang@icnecc.com.cn)**。
授权核心集中维护于同级 [DragonKey](../DragonKey/README.md),开发前需准备该相邻仓库。开发、交付和测试见 [企业授权说明](docs/enterprise-license.md)。正式签发器位于既有会议项目的 `deploy/license-issuer/EncryptedMeetingTerminalLicenseIssuer.exe`,选择“龙传(单机授权)”。
# LocalSend
> 🇨🇳 **本项目为 LocalSend 的本地定制分支 (hhsend-pro)**
>
> LocalSend 是一款免费、开源的跨平台文件互传工具,无需互联网即可在
> 同一局域网内的设备之间安全地传输文件与文件夹(端到端加密)。
> 本分支基于官方源码进行本地化定制与二次开发,可自行编译 Windows 版本。
>
> 源码同步源: https://github.com/localsend/localsend
[![CI status][ci-badge]][ci-workflow]
[![Translations][translate-badge]][translate-link]
[![Packaging status][packaging-badge]][packaging-link]
[ci-badge]: https://github.com/localsend/localsend/actions/workflows/ci.yml/badge.svg
[ci-workflow]: https://github.com/localsend/localsend/actions/workflows/ci.yml
[translate-badge]: https://hosted.weblate.org/widget/localsend/app/svg-badge.svg
[translate-link]: https://hosted.weblate.org/engage/localsend/
[packaging-badge]: https://repology.org/badge/tiny-repos/localsend.svg
[packaging-link]: https://repology.org/project/localsend/versions
[Homepage][homepage] • [Discord][discord] • [GitHub][github] • [Codeberg][codeberg]
[English (Default)](README.md) • [中文](/support/readme/README_ZH.md)
[homepage]: https://localsend.org
[discord]: https://discord.gg/GSRWmQNP87
[github]: https://github.com/localsend/localsend
[codeberg]: https://codeberg.org/localsend/localsend
LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection.
- [About](#about)
- [Sponsors](#sponsors)
- [Screenshots](#screenshots)
- [Download](#download)
- [How It Works](#how-it-works)
- [Dependency Hierarchy](#dependency-hierarchy)
- [Getting Started](#getting-started)
- [Command Line Interface](#command-line-interface)
- [Contributing](#contributing)
- [Translation](#translation)
- [Bug Fixes and Improvements](#bug-fixes-and-improvements)
- [Troubleshooting](#troubleshooting)
- [Building](#building)
- [Android](#android)
- [iOS](#ios)
- [macOS](#macos)
- [Windows](#windows)
- [Linux](#linux)
## About
LocalSend is a cross-platform app that enables secure communication between devices using a REST API and HTTPS encryption. Unlike other messaging apps that rely on external servers, LocalSend doesn't require an internet connection or third-party servers, making it a fast and reliable solution for local communication.
## Sponsors
Browser testing via
## Screenshots
## Download
[](https://repology.org/project/localsend/versions)
It is recommended to download the app either from an app store or from a package manager because the app does not have an auto-update.
| Windows | macOS | Linux | Android | iOS | Fire OS |
|-------------------------|-------------------------|--------------------|----------------|---------------|------------|
| [Winget][] | [App Store][] | [Flathub][] | [Play Store][] | [App Store][] | [Amazon][] |
| [Scoop][] | [Homebrew][] | [Nixpkgs][] | [F-Droid][] | | |
| [Chocolatey][] | [DMG Installer][latest] | [Snap][] | [APK][latest] | | |
| [EXE Installer][latest] | | [AUR][] | | | |
| [Portable ZIP][latest] | | [TAR][latest] | | | |
| | | [DEB][latest] | | | |
| | | [AppImage][latest] | | | |
Read more about [distribution channels][].
Windows binaries are signed. Read more about the [Code signing policy][].
> [!CAUTION]
> **Unofficial MSIX preview:** you can try builds from the latest commits at [localsend.ob-buff.dev](https://localsend.ob-buff.dev/). Stability is not guaranteed and all custom code tweaks are listed on that site.
[windows store]: https://www.microsoft.com/store/apps/9NCB4Z0TZ6RR
[app store]: https://apps.apple.com/us/app/localsend/id1661733229
[play store]: https://play.google.com/store/apps/details?id=org.localsend.localsend_app
[f-droid]: https://f-droid.org/packages/org.localsend.localsend_app
[amazon]: https://www.amazon.com/dp/B0BW6MP732
[winget]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/l/LocalSend/LocalSend
[scoop]: https://scoop.sh/#/apps?s=0&d=1&o=true&q=localsend&id=fb88113be361ca32c0dcac423cb4afdeda0b0c66
[chocolatey]: https://community.chocolatey.org/packages/localsend
[homebrew]: https://formulae.brew.sh/cask/localsend
[flathub]: https://flathub.org/apps/details/org.localsend.localsend_app
[nixpkgs]: https://search.nixos.org/packages?show=localsend
[snap]: https://snapcraft.io/localsend
[aur]: https://aur.archlinux.org/packages/localsend-bin
[latest]: https://github.com/localsend/localsend/releases/latest
[distribution channels]: https://github.com/localsend/localsend/blob/main/CONTRIBUTING.md#distribution
[code signing policy]: https://github.com/localsend/localsend/blob/main/CODE_SIGNING.md
**Compatibility**
| Platform | Minimum Version | Note |
|----------|-----------------|-----------------------------------------------------------------------------------------------------------------------------|
| Android | 5.0 | - |
| iOS | 12.0 | - |
| macOS | 11 Big Sur | Use OpenCore Legacy Patcher 2.0.2 (See [#1005](https://github.com/localsend/localsend/issues/1005#issuecomment-2449899384)) |
| Windows | 10 | The last version to support Windows 7 is v1.15.4. There might be backports of newer versions for Windows 7 in the future. |
| Linux | N.A. | Deps: Gnome: `xdg-desktop-portal` and `xdg-desktop-portal-gtk`, KDE: `xdg-desktop-portal` and `xdg-desktop-portal-kde` |
## Setup
In most cases, LocalSend should work out of the box. However, if you are having trouble sending or receiving files, you may need to configure your firewall to allow LocalSend to communicate over your local network.
| Traffic Type | Protocol | Port | Action |
|--------------|----------|-------|--------|
| Incoming | TCP, UDP | 53317 | Allow |
| Outgoing | TCP, UDP | Any | Allow |
On Linux, for example with `ufw`: `sudo ufw allow 53317`. With `firewalld`: `sudo firewall-cmd --permanent --add-port=53317/tcp`, `sudo firewall-cmd --permanent --add-port=53317/udp`, then `sudo firewall-cmd --reload`.
Also make sure to disable AP isolation on your router. It should be usually disabled by default but some routers may have it enabled (especially guest networks).
See [troubleshooting](#troubleshooting) for more information.
**Portable Mode**
(Introduced in v1.13.0)
Create a file named `settings.json` located in the same directory as the executable.
This file can be empty.
The app will use this file to store settings instead of the default location.
**Start hidden**
(Updated in v1.15.0)
To start the app hidden (only in tray), use the `--hidden` flag (example: `localsend_app.exe --hidden`).
On v1.14.0 and earlier, the app starts hidden if `autostart` flag is set, and the hidden setting is enabled.
## How It Works
LocalSend uses a secure communication protocol that allows devices to communicate with each other using a REST API. All data is sent securely over HTTPS, and the TLS/SSL certificate is generated on the fly on each device, ensuring maximum security.
For more information on the LocalSend Protocol, see the [documentation](https://github.com/localsend/protocol).
## Dependency Hierarchy

## Getting Started
To compile LocalSend from the source code, follow these steps:
1. Install Flutter [directly](https://flutter.dev) or using [fvm](https://fvm.app) (see [version required](.fvmrc))
2. Install [Rust](https://www.rust-lang.org/tools/install)
3. Clone the `LocalSend` repository
4. Run `cd app` to enter the app directory
5. Run `flutter pub get` to download dependencies
6. Run `flutter run` to start the app
> [!NOTE]
> LocalSend currently requires an older Flutter version (specified in [.fvmrc](.fvmrc))
> and thus build issues may be caused by a mismatch between the required and the (system-wide) installed Flutter version.
> To make development more consistent, LocalSend uses [fvm](https://fvm.app) to manage the project Flutter version.
> After installing `fvm`, run `fvm flutter` instead of `flutter`.
## Command Line Interface
The LocalSend CLI is a terminal client built on LocalSend Protocol v2.
Run `localsend-cli --help` to see every available option and hotkey.
Use the `send` command with one or more files, directories, or a mixture of both:
```shell
localsend-cli send report.pdf photo.jpg ./project-backup
```
The command opens the discovered-device list; select the destination interactively
and press Enter to start the transfer.
To select the destination without an interactive device list, pass its exact alias
or IP address:
```shell
localsend-cli send --to "Cute Tomato" report.pdf
localsend-cli send --to 192.168.27.26 report.pdf
```
An alias must uniquely identify a discovered device. An IP address is probed directly
over HTTPS on LocalSend's default port (`53317`).
Directories are collected recursively. Their selected root names and nested paths
are preserved on the receiver. Empty directories are not sent because LocalSend
transfers file entries rather than directory entries.
## Contributing
We welcome contributions from anyone interested in helping improve LocalSend. If you'd like to contribute, there are a few ways to get involved:
### Translation
You can help translate LocalSend into other languages. We use the [Weblate](https://hosted.weblate.org/projects/localsend/app) platform to manage translations.
Alternatively, you can also contribute by forking this repository and adding translations manually.
The translations are located in the [app/assets/i18n](https://github.com/localsend/localsend/tree/main/app/assets/i18n) directory. Edit the `_missing_translations_.json` or `strings_.i18n.json` file to add or update translations.
**_Take note:_ Fields decorated with `@` are not meant to be translated; they are not used in the app in any way, being merely informative text about the file or to give context to the translator.**
### Bug Fixes and Improvements
- **Bug Fixes:** If you find a bug, please create a pull request with a clear description of the issue and how to fix it.
- **Improvements:** Have an idea for how to improve LocalSend? Please create an issue first to discuss why the improvement is needed.
For more information, see the [contributing guide](https://github.com/localsend/localsend/blob/main/CONTRIBUTING.md).
## Troubleshooting
| Issue | Platform (Sending) | Platform (Receiving) | Solution |
|--------------------|--------------------|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| Device not visible | Any | Any | Make sure to disable AP-Isolation on your router. If it is enabled, connections between devices are forbidden. |
| Device not visible | Any | Windows | Make sure to configure your network as a "private" network. Windows might be more restrictive when the network is configured as public. |
| Device not visible | macOS, iOS | Any | You can try to toggle the "Local Network" permission under "Privacy" in the OS settings. |
| Device not visible | Any | Any | If a VPN is active, allow local/LAN traffic or temporarily disable the VPN. Some VPNs block local network connections by default. |
| Device not visible | Any | Any | Use manual sending to enter the receiver's IP address directly. If that works, add the device to favorites so it is probed directly. |
| Speed too slow | Any | Any | Use 5 Ghz; Disable encryption on both devices |
| Speed too slow | Any | Android | Known issue. https://github.com/flutter-cavalry/saf_stream/issues/4 |
## Building
These commands are intended for maintainers only. Make sure to run them from the `app` directory.
### Android
Traditional APK
```bash
flutter build apk
```
AppBundle for Google Play
```bash
flutter build appbundle
```
### iOS
```bash
flutter build ipa
```
### macOS
```bash
flutter build macos
```
### Windows
**Traditional**
```bash
flutter build windows
```
**Local MSIX App**
```bash
flutter pub run msix:create
```
**Store ready**
```bash
flutter pub run msix:create --store
```
### Linux
**Traditional**
```bash
flutter build linux
```
**AppImage**
```bash
appimage-builder --recipe AppImageBuilder.yml
```
**Snap**
Instructions in [localsend/snap/README.md](https://github.com/localsend/snap/blob/main/README.md)
## Contributors