How hmidani-abdelilah/localsendpro works
LocalSend Pro is a cross-platform local-network file and text sharing app. The main workflow is: discover peers, select a recipient, send a message or request file approval, transfer content over TCP, and save received files. The README also describes persistent settings, language and theme choices, transfer-speed/status display, and completion audio. The app is concentrated in main.py; source excerpts show portions of its networking and settings behavior, while some documented capabilities are not shown in detail.
Main entry points: main.py Flet app · crypto_utils.py Encryption
Components 13
App and settings
- Flet app
main.py - Settings store
main.py
Peer networking
- Peer discovery
main.py - Local network peers
- TCP transfer service
main.py
Transfer and security
- File approval
main.py - Encryption
crypto_utils.py - Received files
main.py
User experience
- Transfer status
main.py - Language and theme
main.py - Completion sound
main.py
Other components
- User
- Peer device
Connections 15
- User → Flet app: uses
README.md - Flet app → Settings store: reads and writes
README.md - Flet app → Peer discovery: starts discovery
main.py - Peer discovery → Local network peers: browses and advertises
main.py - Local network peers → Peer discovery: announces peers
main.py - Flet app → TCP transfer service: starts service
main.py - Flet app → Peer device: transfers over TCP
README.md - Peer device → TCP transfer service: sends incoming data
README.md - TCP transfer service → File approval: requests approval
main.py - File approval → User: requests decision
main.py - Flet app → Encryption: uses encryption
README.md - TCP transfer service → Received files: saves accepted files
main.py - Flet app → Transfer status: shows connection and speed
README.md - User → Language and theme: configures
README.md - Flet app → Completion sound: plays on receipt
main.py