危机网络信使
无需基础设施的网格消息应用,用于危机通信?通过设备到设备的网络,在没有互联网或蜂窝基站的情况下也能工作
- 星标
- 197
- 复刻
- 22
- 最近推送(UTC)
- 2025年10月12日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Crisis Mesh Messenger
A decentralized, infrastructure-free messaging application for crisis situations.
Overview
Crisis Mesh Messenger enables people to communicate when traditional infrastructure (internet, cell towers) fails due to:
- Natural disasters
- War and conflict
- Censorship
- Remote locations
Messages hop from device to device using Bluetooth and WiFi Direct, creating a resilient mesh network that requires no central infrastructure.
Key Features
- ✅ No internet or cell towers required
- ✅ Device-to-device messaging (Bluetooth/WiFi)
- ✅ End-to-end encryption
- ✅ Store-and-forward routing
- ✅ Works on Android and iOS
- ✅ Free and open source
Quick Start
# Install dependencies
flutter pub get
# Run on Android
flutter run
# Run on iOS
flutter run -d iPhone
Architecture
Technology Stack
- Framework: Flutter 3.29+
- State Management: Provider + GetIt (MVVM)
- Local Storage: Hive (encrypted)
- Communication:
- Android: Nearby Connections API, WiFi Direct, Bluetooth LE
- iOS: Multipeer Connectivity, Bluetooth LE
- Encryption: End-to-end using libsodium
Project Structure
lib/
├── core/
│ ├── di/ # Dependency injection setup
│ ├── models/ # Data models
│ ├── services/ # Business logic services
│ └── utils/ # Utilities and constants
├── features/
│ ├── messaging/ # Chat and conversations
│ ├── network/ # Mesh network management
│ └── settings/ # App settings
├── ui/
│ ├── screens/ # Screen widgets
│ ├── widgets/ # Reusable widgets
│ └── theme/ # App theming
└── main.dart
Development Status
Phase 1: Proof of Concept ✅ READY TO RUN
- [x] Project structure
- [x] Basic UI (Home, Chat, Network Status screens)
- [x] UI components (message bubbles, conversation list)
- [x] Local storage (Hive with models)
- [x] Service architecture (MVVM with Provider/GetIt)
- [x] Platform configurations (Android & iOS)
- [x] Simulated peer discovery
- [ ] Real Bluetooth/WiFi networking (Next phase)
License
MIT License - Free for humanitarian use
Contributing
This is a humanitarian project. Contributions welcome!
Contact
For collaboration or questions, see documentation in /docs.
语言DartC++PowerShellCMakeJavaBatchfileHTMLCKotlin
分类
使用的依赖
依赖清单 24 项
- flutter
{"sdk":"flutter"} - provider
^6.1.2 - get_it
^8.0.0 - hive
^2.2.3 - hive_flutter
^1.1.0 - path_provider
^2.1.4 - encrypt
^5.0.3 - cryptography
^2.7.0 - flutter_nearby_connections
^1.1.2 - nearby_connections
^3.1.0 - permission_handler
^11.3.1 - network_info_plus
^6.0.0 - connectivity_plus
^6.1.0 - device_info_plus
^10.1.2 - cupertino_icons
^1.0.8 - flutter_svg
^2.0.10+1 - intl
^0.19.0 - uuid
^4.5.1 - logger
^2.4.0 - equatable
^2.0.5 - flutter_test开发依赖
{"sdk":"flutter"} - flutter_lints开发依赖
^4.0.0 - hive_generator开发依赖
^2.0.1 - build_runner开发依赖
^2.4.13
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗