Skip to content

LocalSend Kotlin

GitHub mouse233/localsend-kotlin

Unofficial LocalSend client for older Android devices. Interoperates with official clients to send and receive files, folders, media, text, and clipboard content over local networks. Features LAN discovery, secure HTTPS transfers, background service support, and system share integration.

LocalSend Kotlin is an unofficial, lightweight native Android LocalSend client written in Kotlin. This project is not affiliated with or endorsed by the official LocalSend project. It aims to interoperate with the official LocalSend clients and provide secure file transfer on local networks, including older Android devices.

Implemented features:

  • LAN device discovery using LocalSend v2 UDP multicast, with an HTTPS scanning fallback and selectable network interfaces.
  • Read-only LocalSend v2 device information endpoint (/api/localsend/v2/info), including the device fingerprint.
  • Sending and receiving files, folders, media, text, and clipboard content.
  • Multi-file queues with progress, cancellation, configurable receive behavior, and history.
  • HTTPS, certificate-fingerprint identity verification, optional PIN authentication, and SHA-256 checksums.
  • System Default, Simplified Chinese, and English interfaces, with English as the fallback for unsupported system languages, plus theme colors, dark mode, device and favorite management, and network and transfer settings.
  • Foreground-service transfers with lock-screen support, notifications, and an optional keep-screen-awake mode.
  • Android Quick Settings tile for toggling the background transfer service on Android 7.0 (API 24) and later.
  • Android system share target for single files, multiple files, and text content.

Compatibility:

  • Android 5.0 (API 21) and later.
  • Both devices must be connected to the same local network.
  • The client advertises protocol version 2.0 and implements the main LocalSend v2 discovery and upload workflows; complete protocol conformance has not been verified. The browser download API is not implemented (download: false).
  • Guest networks, AP/client isolation, multicast filtering, or vendor firewalls may prevent discovery or the TCP connection.

Storage:

  • Android 10 and later uses MediaStore to save files to the public Downloads directory by default.
  • Android 5.0 through Android 9 uses the Download/LocalSend Kotlin directory by default and requires legacy storage permission.

Current limitations include a less polished transfer queue interface, no browser-link receiving, no multi-threaded transfers, no large-file performance optimizations, and no resumable transfers. Android 4.x is not supported.

This is an Alpha project suitable for early-user testing. When reporting an issue, include the Android version, device model, both client versions, and reproducible steps.

Summary generated by Zapstore from source.

Original description, as the developer published it.

Latest release

Nov 29, 2026

Unclaimed app No Google servicesSource available · Apache-2.0

The catalog lists this app from GitHub mouse233/localsend-kotlin and signs its releases. The developer has not claimed it. Are you the developer? Claim your app

It asks for no sensitive access.

Permissions

  • Notifications POST_NOTIFICATIONS Send you notifications
  • Files WRITE_EXTERNAL_STORAGE Read files on this phone

Release notes

The first stable release of LocalSend Kotlin.

Changed

  • Target Android 16 (API 36) with Android 5.0 (API 21) as the minimum supported version.
  • Store newly generated TLS private keys and certificates as password-protected PKCS#12 entries.
  • Run Android 5.0 compatibility tests with hardware acceleration and save test screenshots to internal storage when external storage is unavailable.

Fixed

  • Clean up partial files in custom receive folders without crashing when a transfer is cancelled or its checksum fails.
  • Reject registration and upload requests with missing required fields, and ignore incomplete multicast announcements so device discovery keeps working.

中文说明

LocalSend Kotlin 的首个正式版。

调整

  • 目标 SDK 升至 Android 16(API 36),最低支持 Android 5.0(API 21)。
  • 新生成的 TLS 私钥和证书以受密码保护的 PKCS#12 条目保存。
  • Android 5.0 兼容性测试启用硬件加速。外部存储不可用时,测试截图改存应用内部目录。

修复

  • 修复在自定义接收目录中清理未完成文件时可能崩溃的问题,覆盖取消传输和校验失败的情况。
  • 拒绝缺少必填字段的注册和上传请求,并忽略字段不完整的组播公告,避免设备发现停止刷新。

Comments

Loading comments…

See more

Get LocalSend Kotlin the private way

Updates checked on your device, and every release verified before it installs.