An introduction to Offline Networks
The digital age is largely facilitated by traditional centralized networks. Most online popular services are centralized and are owned by a few parties. This has allowed a few companies including governments, and institutions to amass a concentrated amount of unwarranted power. The centralization of these services makes it easier for institutions to unlawfully monitor private interactions between users of these services and use AI to mine for patterns and data that reveals personal data about the users. In some cases governments and other parties can limit access to these services stifling freedom of expression emphasizing the Orwellian statement that “absolute power corrupts absolutely”. Offline and decentralized Peer-to-peer networks offer protection and autonomy for all users.
Offline networks are decentralized and facilitate interactions between peers that have joined the network. A user can detect nearby devices and form an ad-hoc network. This type of network makes it hard to censor communication between these networks or disrupt services A paritcular use case for offline networks is in an area where a traditional network service (internet, cell phone plan etc.,) is congested or unavailable. Ayanda is an Android library that’s being actively developed that makes it easy to create offline networks through the WiFi and Bluetooth hardware on most phones. It’s made possible laregly through funding from Guardian Project.
The example app in shows how to use Ayanda to discover devices on the local network, through Wifi Direct and through Bluetooth classic. Actions to be taken when nearby devices are discovered by each discovery method are defined by user defined interfaces.
Discovering Devices on the local network
Discovering nearby devices that have Wifi Direct enabled
In this news app (Dec 2015) nearby devices can automatically receive news articles from nearby device that has news items without relying on an internet connection. Code from this project is being ported to Ayanda.