simonbengtsson / airdash

File sharing flutter webrtc app enabling sending files to any device from anywhere

Home Page:https://airdash-project.web.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirDash File Sharing

Transfer photos and files to any device.

Get the app

Analytics

Key features

  • Support for all major platforms and app stores (iOS, macOS, Windows, Linux and Android)
  • Free forever to send any number of files of any size
  • Maximum privacy and security by fully encrypting files and transferring them directly between devices
  • Quickly start transfers using native mobile share sheet and drag and drop on desktop
  • Send files anywhere (no need to be on the same network or nearby)
  • Automatically uses the best and fastest connection available (wifi, mobile internet, ethernet etc)

Key technologies

  • Flutter 3 (iOS, macOS, Android, Linux and Windows apps)
  • WebRTC (file and data transfers)
  • Firebase Firestore (WebRTC signaling and config storage)
  • Firebase Functions (device pairing and config automation)
  • Firebase Hosting (website and static files hosting)
  • App Store Connect API and Microsoft Store submission API (release automation)
  • Mixpanel (web and app analytics)
  • Sentry (app monitoring and error tracking)

Run project

  • Create a firebase project (https://console.firebase.google.com) and enable firestore and anonymous authentication
  • Create a .env file by duplicating the .env.sample file
  • Replace the firebase project id and web API key in the .env file with the ones for your project (firebase console -> project settings)
  • Run dart tools/scripts.dart app_env to get a env.dart file
  • Deploy pairing backend function by cd functions && npm i && npx firebase deploy --only pairing
  • Run app using editor or flutter run

By default a google stun server is used to connect peers. The simplest way to enable turn servers as well is to use https://www.twilio.com/stun-turn. Create functions/.env file similar to the functions/.env-sample file and deploy the updateTwilioToken backend function.

Contribute

Contributions are very much welcome on everything from bug reports to feature development. If you want to change something major write an issue about it first to ensure it will be considered for merge.

About

File sharing flutter webrtc app enabling sending files to any device from anywhere

https://airdash-project.web.app

License:MIT License


Languages

Language:Dart 65.4%Language:HTML 9.5%Language:Swift 8.2%Language:C++ 7.2%Language:CMake 6.0%Language:JavaScript 1.6%Language:Ruby 1.4%Language:Kotlin 0.5%Language:C 0.3%Language:Objective-C 0.0%