FLUTTER ECOSYSTEM

bonsoir

A Zeroconf library that allows you to discover network services and to broadcast your own. Based on Apple Bonjour and Android NSD.

bonsoir cover
Latest version
7.1.5
30-day downloads
62.3K
Likes
160
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Bonsoir is a zero-configuration networking library for Flutter that enables discovery of network services and broadcasting of local services, inspired by Apple Bonjour and Android NSD. It simplifies peer-to-peer communication across devices on the same network without requiring manual configuration. The package supports multiple platforms including Android, iOS, macOS, Windows, and Linux, making it ideal for apps needing automatic service detection in local networks. It's lightweight and integrates seamlessly with existing Flutter projects.

Use cases
  • Local device discovery
  • Service broadcasting
  • Peer-to-peer app communication
  • LAN-based IoT device interaction
  • Networked multiplayer game setup
Key features
  • Cross-platform support
  • Zeroconf (mDNS) integration
  • Service discovery and registration
  • Simple API for broadcast and listen
  • Works on Android, iOS, macOS, Windows, and Linux
Suitable for
  • Developers building LAN apps
  • IoT applications
  • Multiplayer games on local networks
  • Apps requiring automatic device detection
  • Projects needing mDNS functionality
Considerations
  • Requires network permissions on Android and iOS
  • Limited to local network scope
  • No built-in encryption for discovered services
  • May require firewall adjustments
  • Performance depends on network conditions
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add bonsoir

Categories

Dependencies

Dependency list 5 items
  • bonsoir_android^7.1.3
  • bonsoir_darwin^7.1.1
  • bonsoir_linux^7.1.0
  • bonsoir_platform_interface^7.0.0
  • bonsoir_windows^7.3.0

Source repository

Related projects