/localsend

An open source cross-platform alternative to AirDrop

Primary LanguageDartMIT LicenseMIT

LocalSend

ci

Links: Homepage | Play Store | F-Droid | App Store | Windows Store

About

Share files to nearby devices. Free, open source, cross-platform.

This app allows you to send files and messages over the local LAN network.

No internet required, no external servers needed.

Screenshots

screenshot1 screenshot2

Protocol

Devices communicate with each other using a REST API.

Everything is sent securely over HTTPS. The TLS/SSL certificate is generated on the fly on each device.

For more information: LocalSend Protocol v1

Run

After you have installed Flutter, then you can start this app by typing the following commands:

flutter pub get
flutter pub run build_runner build
flutter run

Contributing

Translation

You can help translating this app to other languages!

  1. Preparation
    1. Add missing translations in existing languages: assets/i18n/_missing_translations.json
    2. Fix existing translations in assets/i18n
    3. Add new languages: locale codes.
  2. Fork this repository
  3. Create or update the translation file in assets/i18n (format: strings_XXX.i18n.json)
  4. Optional: Re-run this app
    1. Make sure you have run this app once.
    2. Update translations via flutter pub run slang
    3. Run app via flutter run
  5. Open a pull request

For convenience, you can use this link: https://github.com/localsend/localsend/new/main/assets/i18n

Bug fixes

Any bug fix is welcome! Please describe how and why your fix is needed in the PR.

Improvements

This app is very simple and should stay that way.

Please create an issue first so we can discuss why this improvement is needed.

Build

These commands are mostly for the maintainers.

Please ensure that flutter pub run build_runner build has been run. Otherwise, files will be missing.

Android

Traditional APK

flutter build apk

AppBundle for Google Play

flutter build appbundle

iOS

flutter build ipa

MacOS

flutter build macos

Windows

Traditional

flutter build windows

Local MSIX App

flutter pub run msix:create

Store ready

flutter pub run msix:create --store

Linux

Traditional

flutter build linux

AppImage

appimage-builder --recipe AppImageBuilder.yml

Snap

Feel free to open a pull request. There is a snap branch to play with.