sharedrop README

The project's README from github.com/ShareDropio/sharedrop. As one markdown file: README.md.

ShareDrop

ShareDrop is now LimeWire

Dear ShareDrop community, ShareDrop has been acquired by LimeWire, a leading file sharing platform with integrated AI tools. You can continue to share any files between devices, while benefitting from:

Visit sharedrop.io or limewire.com

The Github repository will stay as-is and you can still go ahead and download and run the classic ShareDrop on your own infrastructure.

ShareDrop Classic

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.

Supported browsers

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 <app-name>

and push the app to Heroku repo:

git push heroku master

sharedrop (ShareDropio/sharedrop)

Searching Database…

10.8K ·GitHub
Что это такое?ShareDrop — веб-приложение для прямой отправки файлов между устройствами через WebRTC, вдохновлённое AirDrop от Apple. Файлы никогда не загружаются на сервер.
Это облачный сервис или что-то, что я запускаю сам?Оригинальный размещённый сервис ShareDrop.io был приобретён LimeWire, но этот репозиторий — «ShareDrop Classic»: тот же код с открытым исходным кодом, который можно скачать и запустить на собственной инфраструктуре.
Как запустить это локально?Создайте проект Firebase и загрузите firebaserules.json как его правила безопасности, установите Ember CLI глобально, выполните yarn для установки зависимостей, скопируйте .env.sample в .env, затем запустите yarn develop, чтобы стартовать приложение.
Что нужно для запуска?Аккаунт и база данных Firebase для отслеживания присутствия и сигналинга WebRTC, Node ^14.0.0, Ember CLI и Yarn; ключи NEWRELIC нужны только для производственного развёртывания.
Работает ли это без интернета, как AirDrop?Нет — ShareDrop нужно подключение к интернету, чтобы находить другие устройства через сигналинг Firebase, в отличие от AirDrop, который напрямую создаёт временную беспроводную сеть между устройствами.
Какие браузеры поддерживаются?Chrome, Edge (на базе Chromium), Firefox, Opera и Safari 13 и новее.
Можно ли отправлять файлы человеку в другой сети?Да — нажмите кнопку «+», чтобы создать комнату с уникальным URL, и поделитесь этим адресом. Любой, кто откроет его на своём устройстве, появится в виде аватара, с которым можно обмениваться файлами, независимо от того, в какой сети он находится.
Можно ли передавать файлы между телефоном и ноутбуком?Да, это работает между мобильными (Android и iOS) и настольными устройствами, так как всё происходит в браузере в одной комнате или локальной сети.
Что случилось с оригинальным сервисом ShareDrop.io?Его приобрела LimeWire, которая теперь управляет размещённой версией с дополнительными возможностями, например сквозным шифрованием и бесплатным хранилищем. Открытый код ShareDrop Classic, представленный здесь, остаётся для самостоятельного развёртывания.
Нужно ли что-то настраивать, чтобы использовать его в домашней сети?Нет — достаточно открыть ShareDrop в браузере на каждом устройстве с одним и тем же публичным IP-адресом, и они автоматически найдут друг друга.
Size
2.3 MB
Stars
10.8K
Updated
CommitFeb 10
Age
12y
Commits · 90 Days