กลับไปหน้า Tools

GetNotes Tools

localsend/localsend

Tool นี้คืออะไร

LocalSend เป็นแอปพลิเคชันโอเพนซอร์สฟรีที่ช่วยให้คุณสามารถแชร์ไฟล์และข้อความกับอุปกรณ์ใกล้เคียงผ่านเครือข่ายภายในได้อย่างปลอดภัยโดยไม่ต้องเชื่อมต่ออินเทอร์เน็ต เหมาะสำหรับนักพัฒนาและผู้ใช้ทั่วไปที่ต้องการการสื่อสารภายในที่รวดเร็ว ปลอดภัย และใช้งานได้หลากหลายแพลตฟอร์ม

ข้อมูลโปรเจกต์

ดาว

88.2K

Forks

4.9K

License

Apache-2.0

อัปเดต GitHub ล่าสุด

13 ส.ค. 2569

เพิ่มใน GetNotes

17 ส.ค. 2569

Repository

localsend/localsend

Ecosystem

Dart · Flutter

แปลและเรียบเรียงโดย AI

เนื้อหาฉบับภาษาไทย

ใช้อ่านเพื่อทำความเข้าใจเบื้องต้น โปรดตรวจสอบรายละเอียดสำคัญกับเอกสารต้นฉบับด้านล่าง

LocalSend

สถานะ CI การแปล สถานะการแพ็กเกจ

หน้าแรกDiscordGitHubCodeberg

English (Default)БеларускаяEspañolفارسیFilipinoFrançaisIndonesiaItaliano日本語ភាសាខ្មែរ한국어PolskiPortuguês BrasilРусскийภาษาไทยTürkçeУкраїнськаTiếng Việt中文

LocalSend เป็นแอปพลิเคชันโอเพนซอร์สฟรีที่ช่วยให้คุณสามารถแชร์ไฟล์และข้อความกับอุปกรณ์ใกล้เคียงผ่านเครือข่ายภายในของคุณได้อย่างปลอดภัยโดยไม่จำเป็นต้องเชื่อมต่ออินเทอร์เน็ต

เกี่ยวกับ

LocalSend เป็นแอปพลิเคชันข้ามแพลตฟอร์มที่ช่วยให้การสื่อสารระหว่างอุปกรณ์เป็นไปอย่างปลอดภัยโดยใช้ REST API และการเข้ารหัส HTTPS แตกต่างจากแอปส่งข้อความอื่น ๆ ที่ต้องพึ่งพาเซิร์ฟเวอร์ภายนอก LocalSend ไม่จำเป็นต้องเชื่อมต่ออินเทอร์เน็ตหรือเซิร์ฟเวอร์ของบุคคลที่สาม ทำให้เป็นโซลูชันที่รวดเร็วและเชื่อถือได้สำหรับการสื่อสารภายใน

ผู้สนับสนุน

การทดสอบเบราว์เซอร์โดย

ภาพหน้าจอ

iPhone screenshot PC screenshot

ดาวน์โหลด

สถานะการแพ็กเกจ

แนะนำให้ดาวน์โหลดแอปจาก App Store หรือจากตัวจัดการแพ็กเกจ เนื่องจากแอปไม่มีการอัปเดตอัตโนมัติ

อ่านเพิ่มเติมเกี่ยวกับ ช่องทางการจัดจำหน่าย

ไบนารีของ Windows มีการลงนาม อ่านเพิ่มเติมเกี่ยวกับ นโยบายการลงนามโค้ด

ข้อควรระวัง

พรีวิว MSIX ที่ไม่เป็นทางการ: คุณสามารถลองใช้บิลด์จากคอมมิตล่าสุดได้ที่ localsend.ob-buff.dev ความเสถียรไม่รับประกัน และการปรับแต่งโค้ดทั้งหมดจะแสดงอยู่ในเว็บไซต์นั้น

ความเข้ากันได้

แพลตฟอร์มเวอร์ชันขั้นต่ำหมายเหตุ
Android5.0-
iOS12.0-
macOS11 Big Surใช้ OpenCore Legacy Patcher 2.0.2 (ดู #1005)
Windows10เวอร์ชันสุดท้ายที่รองรับ Windows 7 คือ v1.15.4 อาจมีการ backport เวอร์ชันใหม่กว่าสำหรับ Windows 7 ในอนาคต
LinuxN.A.Deps: Gnome: xdg-desktop-portal และ xdg-desktop-portal-gtk, KDE: xdg-desktop-portal และ xdg-desktop-portal-kde

การตั้งค่า

ในกรณีส่วนใหญ่ LocalSend ควรทำงานได้ทันที อย่างไรก็ตาม หากคุณมีปัญหาในการส่งหรือรับไฟล์ คุณอาจต้องกำหนดค่าไฟร์วอลล์ของคุณเพื่ออนุญาตให้ LocalSend สื่อสารผ่านเครือข่ายภายในของคุณ

ประเภททราฟฟิกโปรโตคอลพอร์ตการดำเนินการ
ขาเข้าTCP, UDP53317อนุญาต
ขาออกTCP, UDPใดก็ได้อนุญาต

นอกจากนี้ ตรวจสอบให้แน่ใจว่าได้ปิดใช้งาน AP isolation บนเราเตอร์ของคุณ โดยปกติแล้วควรปิดใช้งานโดยค่าเริ่มต้น แต่เราเตอร์บางตัวอาจเปิดใช้งานอยู่ (โดยเฉพาะเครือข่ายสำหรับแขก) ดู การแก้ไขปัญหา สำหรับข้อมูลเพิ่มเติม

โหมดพกพา (Portable Mode)

(เปิดตัวใน v1.13.0)

สร้างไฟล์ชื่อ settings.json ในไดเรกทอรีเดียวกับ executable ไฟล์นี้สามารถเป็นไฟล์ว่างได้ แอปจะใช้ไฟล์นี้เพื่อจัดเก็บการตั้งค่าแทนตำแหน่งเริ่มต้น

เริ่มแบบซ่อน (Start hidden)

(อัปเดตใน v1.15.0)

หากต้องการเริ่มแอปแบบซ่อน (เฉพาะในถาดระบบ) ให้ใช้แฟล็ก --hidden (ตัวอย่าง: localsend_app.exe --hidden)

ในเวอร์ชัน v1.14.0 และก่อนหน้า แอปจะเริ่มทำงานแบบซ่อนอยู่ หากตั้งค่าแฟล็ก autostart และเปิดใช้งานการตั้งค่าซ่อนอยู่

วิธีการทำงาน

LocalSend ใช้โปรโตคอลการสื่อสารที่ปลอดภัยซึ่งช่วยให้อุปกรณ์ต่างๆ สื่อสารกันได้โดยใช้ REST API ข้อมูลทั้งหมดจะถูกส่งอย่างปลอดภัยผ่าน HTTPS และใบรับรอง TLS/SSL จะถูกสร้างขึ้นแบบเรียลไทม์บนอุปกรณ์แต่ละเครื่อง เพื่อให้มั่นใจถึงความปลอดภัยสูงสุด

สำหรับข้อมูลเพิ่มเติมเกี่ยวกับ LocalSend Protocol โปรดดูที่ เอกสารประกอบ

ลำดับชั้นของ Dependency

Dependency hierarchy

เริ่มต้นใช้งาน

หากต้องการคอมไพล์ LocalSend จากซอร์สโค้ด ให้ทำตามขั้นตอนเหล่านี้:

  1. 1ติดตั้ง Flutter โดยตรง หรือใช้ fvm (ดู เวอร์ชันที่ต้องการ)
  2. 2ติดตั้ง Rust
  3. 3โคลนรีโพซิโทรี LocalSend
  4. 4รัน cd app เพื่อเข้าสู่ไดเรกทอรีแอป
  5. 5รัน flutter pub get เพื่อดาวน์โหลด dependency
  6. 6รัน flutter run เพื่อเริ่มแอป
หมายเหตุ

LocalSend ปัจจุบันต้องการ Flutter เวอร์ชันเก่ากว่า (ระบุไว้ใน .fvmrc) ดังนั้นปัญหาในการบิลด์อาจเกิดจากการไม่ตรงกันระหว่างเวอร์ชัน Flutter ที่ต้องการกับเวอร์ชันที่ติดตั้ง (ทั่วทั้งระบบ) เพื่อให้การพัฒนาสอดคล้องกันมากขึ้น LocalSend ใช้ fvm ในการจัดการเวอร์ชัน Flutter ของโปรเจกต์ หลังจากติดตั้ง fvm ให้รัน fvm flutter แทน flutter

การมีส่วนร่วม

เรายินดีรับการมีส่วนร่วมจากทุกคนที่สนใจช่วยปรับปรุง LocalSend หากคุณต้องการมีส่วนร่วม มีหลายวิธีที่คุณสามารถทำได้:

การแปล

คุณสามารถช่วยแปล LocalSend เป็นภาษาอื่นๆ ได้ เราใช้แพลตฟอร์ม Weblate ในการจัดการการแปล

อีกทางเลือกหนึ่ง คุณสามารถมีส่วนร่วมได้โดยการ fork รีโพซิโทรีนี้และเพิ่มการแปลด้วยตนเอง

ไฟล์การแปลอยู่ในไดเรกทอรี app/assets/i18n แก้ไขไฟล์ _missing_translations_<locale>.json หรือ strings_<locale>.i18n.json เพื่อเพิ่มหรืออัปเดตการแปล

Translation status

โปรดทราบ: ฟิลด์ที่มีเครื่องหมาย @ ไม่ได้มีไว้สำหรับการแปล; ฟิลด์เหล่านี้ไม่ได้ถูกใช้ในแอปแต่อย่างใด เป็นเพียงข้อความให้ข้อมูลเกี่ยวกับไฟล์หรือเพื่อให้บริบทแก่ผู้แปลเท่านั้น

การแก้ไขข้อผิดพลาดและการปรับปรุง

  • การแก้ไขข้อผิดพลาด: หากคุณพบข้อผิดพลาด โปรดสร้าง pull request พร้อมคำอธิบายที่ชัดเจนเกี่ยวกับปัญหาและวิธีแก้ไข
  • การปรับปรุง: มีแนวคิดในการปรับปรุง LocalSend หรือไม่? โปรดสร้าง issue ก่อนเพื่อหารือว่าทำไมจึงจำเป็นต้องมีการปรับปรุงนั้น

สำหรับข้อมูลเพิ่มเติม โปรดดูที่ คู่มือการมีส่วนร่วม

การแก้ไขปัญหา

ปัญหาแพลตฟอร์ม (ส่ง)แพลตฟอร์ม (รับ)วิธีแก้ไข
อุปกรณ์ไม่ปรากฏใดๆใดๆตรวจสอบให้แน่ใจว่าได้ปิดใช้งาน AP-Isolation บนเราเตอร์ของคุณ หากเปิดใช้งาน การเชื่อมต่อระหว่างอุปกรณ์จะถูกห้าม
อุปกรณ์ไม่ปรากฏใดๆWindowsตรวจสอบให้แน่ใจว่าได้กำหนดค่าเครือข่ายของคุณเป็นเครือข่าย "ส่วนตัว" Windows อาจเข้มงวดมากขึ้นเมื่อเครือข่ายถูกกำหนดค่าเป็นสาธารณะ
อุปกรณ์ไม่ปรากฏmacOS, iOSใดๆคุณสามารถลองสลับการอนุญาต "Local Network" ภายใต้ "Privacy" ในการตั้งค่า OS
ความเร็วช้าเกินไปใดๆใดๆใช้ 5 Ghz; ปิดการเข้ารหัสบนอุปกรณ์ทั้งสอง
ความเร็วช้าเกินไปใดๆAndroidปัญหาที่ทราบ https://github.com/flutter-cavalry/saf_stream/issues/4

การบิลด์

คำสั่งเหล่านี้มีไว้สำหรับผู้ดูแลเท่านั้น ตรวจสอบให้แน่ใจว่ารันคำสั่งเหล่านี้จากไดเรกทอรี app

Android

APK แบบดั้งเดิม

bash
flutter build apk

AppBundle สำหรับ Google Play

bash
flutter build appbundle

iOS

bash
flutter build ipa

macOS

bash
flutter build macos

Windows

แบบดั้งเดิม

bash
flutter build windows

แอป MSIX ภายในเครื่อง

bash
flutter pub run msix:create

พร้อมสำหรับ Store

bash
flutter pub run msix:create --store

Linux

แบบดั้งเดิม

bash
flutter build linux

AppImage

bash
appimage-builder --recipe AppImageBuilder.yml

Snap

คำแนะนำอยู่ใน localsend/snap/README.md

ผู้มีส่วนร่วม

Localsend Contributors

เอกสารโปรเจกต์

อ่านเอกสารต้นฉบับ

README วิธีติดตั้ง วิธีใช้งาน และข้อกำหนดจาก repository ต้นฉบับ

ดูไฟล์บน GitHub

LocalSend

CI status Translations Packaging status

HomepageDiscordGitHubCodeberg

English (Default)БеларускаяEspañolفارسیFilipinoFrançaisIndonesiaItaliano日本語ភាសាខ្មែរ한국어PolskiPortuguês BrasilРусскийภาษาไทยTürkçeУкраїнськаTiếng Việt中文

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

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

iPhone screenshot PC screenshot

Download

Packaging status

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.

Read more about distribution channels.

Windows binaries are signed. Read more about the Code signing policy.

ข้อควรระวัง

Unofficial MSIX preview: you can try builds from the latest commits at localsend.ob-buff.dev. Stability is not guaranteed and all custom code tweaks are listed on that site.

Compatibility

PlatformMinimum VersionNote
Android5.0-
iOS12.0-
macOS11 Big SurUse OpenCore Legacy Patcher 2.0.2 (See #1005)
Windows10The last version to support Windows 7 is v1.15.4. There might be backports of newer versions for Windows 7 in the future.
LinuxN.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 TypeProtocolPortAction
IncomingTCP, UDP53317Allow
OutgoingTCP, UDPAnyAllow

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 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.

Dependency Hierarchy

Dependency hierarchy

Getting Started

To compile LocalSend from the source code, follow these steps:

  1. 1Install Flutter directly or using fvm (see version required)
  2. 2Install Rust
  3. 3Clone the LocalSend repository
  4. 4Run cd app to enter the app directory
  5. 5Run flutter pub get to download dependencies
  6. 6Run flutter run to start the app
หมายเหตุ

LocalSend currently requires an older Flutter version (specified in .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 to manage the project Flutter version. After installing fvm, run fvm flutter instead of flutter.

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 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 directory. Edit the _missing_translations_<locale>.json or strings_<locale>.i18n.json file to add or update translations.

Translation status

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.

Troubleshooting

IssuePlatform (Sending)Platform (Receiving)Solution
Device not visibleAnyAnyMake sure to disable AP-Isolation on your router. If it is enabled, connections between devices are forbidden.
Device not visibleAnyWindowsMake sure to configure your network as a "private" network. Windows might be more restrictive when the network is configured as public.
Device not visiblemacOS, iOSAnyYou can try to toggle the "Local Network" permission under "Privacy" in the OS settings.
Speed too slowAnyAnyUse 5 Ghz; Disable encryption on both devices
Speed too slowAnyAndroidKnown 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

Contributors

Localsend Contributors
#dart#file-sharing#flutter#flutter-apps