公众号关注 「奇妙的 Linux 世界」
设为「星标」,每天带你玩转 Linux !
localsend
是一个使用 Flutter 开发的 AirDrop
开源跨平台替代品,可以将文件共享到附近的设备,该应用允许你通过本地 LAN 网络发送文件和消息。不需要互联网,不需要外部服务器。一切都在 wifi 网络中本地发生。
设备之前使用 REST API 相互通信,一切都通过 HTTPS 安全发送,TLS/SSL 证书是在每台设备上即时生成的,所以具有非常高的安全性。
安装
安装 Flutter 后,可以通过以下命令来启动此应用程序:
flutter pub get
flutter pub run build_runner build
flutter run
当然我们也可以自己根据需求修改代码后打包应用,请确保 flutter pub run build_runner build
命令已经运行了,否则文件将丢失。
Android

传统 APK:
flutter build apk
用于 Google Play 的 AppBundle:
flutter build appbundle
iOS

flutter build ipa
MacOS

flutter build macos
Windows
传统应用:
flutter build windows
本地 MSIX 应用:
flutter pub run msix:create
应用商店:
flutter pub run msix:create --store
Linux
传统应用:
flutter build linux
AppImage:
appimage-builder --recipe AppImageBuilder.yml
当然我们也可以直接从官网获取各个平台的安装包:https://localsend.org/
。
GitHub 仓库:https://github.com/localsend/localsend
本文转载自:「Github爱好者」,原文:https://url.hi-linux.com/StfMD,版权归原作者所有。欢迎投稿,投稿邮箱: editor@hi-linux.com。
最近,我们建立了一个技术交流微信群。目前群里已加入了不少行业内的大神,有兴趣的同学可以加入和我们一起交流技术,在 「奇妙的 Linux 世界」 公众号直接回复 「加群」 邀请你入群。
你可能还喜欢
点击下方图片即可阅读
如何使用 Kindling 观测 Kubernetes 应用网络连接状态
点击上方图片,『美团|饿了么』外卖红包天天免费领
更多有趣的互联网新鲜事,关注「奇妙的互联网」视频号全了解!