https://github.com/szimek/sharedrop Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} szimek / sharedrop Public * Notifications You must be signed in to change notification settings * Fork 641 * Star 8.7k Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop www.sharedrop.io License MIT license 8.7k stars 641 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 95 * Pull requests 1 * Actions * Projects 0 * Wiki * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights szimek/sharedrop This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 386 Commits app app config config lib/ lib/ google-analytics google-analytics public public tests tests vendor vendor .editorconfig .editorconfig .ember-cli .ember-cli .env.sample .env.sample .eslintignore .eslintignore .eslintrc.js .eslintrc.js .gitignore .gitignore .prettierignore .prettierignore .template-lintrc.js .template-lintrc.js .travis.yml .travis.yml .watchmanconfig .watchmanconfig Dockerfile Dockerfile LICENSE LICENSE Procfile Procfile Procfile.dev Procfile.dev README.md README.md ember-cli-build.js ember-cli-build.js firebase_rules.json firebase_rules.json newrelic.js newrelic.js package.json package.json prettier.config.js prettier.config.js server.js server.js sharedrop.crx sharedrop.crx testem.js testem.js yarn.lock yarn.lock View all files Repository files navigation * README * MIT license ShareDrop ShareDrop is a web application inspired by Apple AirDrop service. It allows you to transfer files directly between devices, without having to upload them to any server first. It uses WebRTC for secure peer-to-peer file transfer and Firebase for presence management and WebRTC signaling. ShareDrop allows you to send files to other devices in the same local network (i.e. devices with the same public IP address) without any configuration - simply open https://www.sharedrop.io on all devices and they will see each other. It also allows you to send files between networks - just click the + button in the top right corner of the page to create a room with a unique URL and share this URL with other people you want to send a file to. Once they open this page in a browser on their devices, you'll see each other's avatars. The main difference between ShareDrop and AirDrop is that ShareDrop requires Internet connection to discover other devices, while AirDrop doesn't need one, as it creates ad-hoc wireless network between them. On the other hand, ShareDrop allows you to share files between mobile (Android and iOS) and desktop devices and even between networks. Support ShareDrop! ShareDrop is free, however, it still costs money to run. If you use it and like it, please consider making a small donation either via PayPal or Support ShareDrop to help me keep it free for everyone. Thanks! Supported browsers * Chrome * Edge (Chromium based) * Firefox * Opera * Safari 13+ Local development 1. Setup Firebase: 1. Sign up for a Firebase account and create a database. 2. Go to "Security Rules" tab, click "Load Rules" button and select firebase_rules.json file. 3. Take note of your database URL and its secret, which can be found in "Secrets" tab. 2. Run npm install -g ember-cli to install Ember CLI. 3. Run yarn to install app dependencies. 4. Run cp .env{.sample,} to create .env file. This file will be used by Foreman to set environment variables when running the app locally. + SECRET key is used to encrypt cookies and generate room name based on public IP address for / route. It can be any random string - you can generate one using e.g. date | md5sum + NEW_RELIC_* keys are only necessary in production 5. Run yarn develop to start the app. Deployment Heroku Create a new Heroku app: heroku create and push the app to Heroku repo: git push heroku master About Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop www.sharedrop.io Topics javascript ember-cli ember webrtc peer-to-peer file-sharing Resources Readme License MIT license Activity Stars 8.7k stars Watchers 103 watching Forks 641 forks Report repository Releases No releases published Packages 0 No packages published Contributors 9 * @szimek * @jmak * @qoobaa * @valoricDe * @MrChrisW * @morgoth * @ldealmei * @austinhuynh * @Joystickplays Languages * JavaScript 61.7% * Sass 23.7% * Handlebars 11.8% * HTML 2.6% * Other 0.2% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.