mirror of
https://github.com/szimek/sharedrop.git
synced 2026-06-13 21:03:07 +08:00
Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
一个开源的 Web 应用,允许用户在局域网里通过 WebRTC 分享文件。如果不在同一局域网,可以进入同一个页面进行分享。
| app | ||
| tasks | ||
| .buildpacks | ||
| .env.sample | ||
| .gitignore | ||
| Gemfile | ||
| Gemfile.lock | ||
| Gruntfile.js | ||
| newrelic.js | ||
| package.json | ||
| Procfile | ||
| README.md | ||
ShareDrop
It uses PeerJS server at http://file-drop-peer-server.herokuapp.com.
Setup
- Run
npm -g install grunt-clito install Grunt. - Run
npm installto install Node.js dependencies. - Run
bundle installto install Ruby dependencies. - Run
cp .env{.sample,}to create.envwith required environment variables. - Run
grunt serveto start the server onlocalhost:8000.
To run production build locally, run grunt env:dev serve:dist.