Search packages, repositories and app categories

bonsoir cover
Package detailsv7.1.6

bonsoir

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

AndroidiOSmacOSWindowsLinux
30-day downloads
83.7K
Likes
160
Pub points
150

Install package

flutter pub add bonsoir

Package Overview

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

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

packages/bonsoir/README.md

Categories

Dependencies

Dependency list 5 items

  • bonsoir_android^7.1.4
  • bonsoir_darwin^7.1.2
  • bonsoir_linux^7.1.1
  • bonsoir_platform_interface^7.0.1
  • bonsoir_windows^7.3.1

Source repository

Projects using this package