diff --git a/README.md b/README.md index cdd044a..a4ca57e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Pairdrop +# PairDrop -[Pairdrop](https://pairdrop.net): local file sharing in your browser. Inspired by Apple's Airdrop. +[PairDrop](https://pairdrop.net): local file sharing in your browser. Inspired by Apple's Airdrop. Developed based on [Snapdrop](https://github.com/RobinLinus/snapdrop) @@ -25,7 +25,7 @@ Developed based on [Snapdrop](https://github.com/RobinLinus/snapdrop) ![test](/docs/pairdrop_screenshot_desktop.png) -## Snapdrop and Pairdrop are built with the following awesome technologies: +## Snapdrop and PairDrop are built with the following awesome technologies: * Vanilla HTML5 / ES6 / CSS3 frontend * [WebRTC](http://webrtc.org/) / [WebSockets](http://www.websocket.org/) * [NodeJS](https://nodejs.org/en/) backend @@ -38,11 +38,13 @@ You can [host your own instance with Docker](/docs/host-your-own.md). ## Support the Community -Pairdrop is free and always will be! +PairDrop is free and always will be! -If you want to support me and my work you can [buy me a coffee](https://www.buymeacoffee.com/pairdrop) ☕ +Do you want to support me?
+ +Buy Me A Coffee + -
To support the original Snapdrop and its creator go to [his GitHub page](https://github.com/RobinLinus/snapdrop). diff --git a/docker/openssl/snapdropCert.cnf b/docker/openssl/snapdropCert.cnf index 876d873..87202d8 100644 --- a/docker/openssl/snapdropCert.cnf +++ b/docker/openssl/snapdropCert.cnf @@ -9,7 +9,7 @@ string_mask = utf8only prompt = no [ subject ] -organizationName = Pairdrop +organizationName = PairDrop OU = Development # Use a friendly name here because it's presented to the user. The server's DNS diff --git a/docs/faq.md b/docs/faq.md index 29c9fbd..d19eebe 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -11,7 +11,7 @@ * [Producthunt](https://www.producthunt.com/posts/snapdrop) ### Help! I can't install the PWA! -if you are using a Chromium-based browser (Chrome, Edge, Brave, etc.), you can easily install Pairdrop PWA on your desktop by clicking the install button in the top-right corner while on [pairdrop.net](https://pairdrop.net) (see below). +if you are using a Chromium-based browser (Chrome, Edge, Brave, etc.), you can easily install PairDrop PWA on your desktop by clicking the install button in the top-right corner while on [pairdrop.net](https://pairdrop.net) (see below). ### What about the connection? Is it a P2P-connection directly from device to device or is there any third-party-server? @@ -20,7 +20,7 @@ It uses a P2P connection if WebRTC is supported by the browser. WebRTC needs a S If your devices are paired and behind a NAT, the public TURN Server from [Open Relay](https://www.metered.ca/tools/openrelay/) is used to route your files and messages. ### What about privacy? Will files be saved on third-party-servers? -None of your files are ever sent to any server. Files are sent only between peers. Pairdrop doesn't even use a database. If you are curious have a look [at the Server](https://github.com/schlagmichdoch/pairdrop/blob/master/server/). +None of your files are ever sent to any server. Files are sent only between peers. PairDrop doesn't even use a database. If you are curious have a look [at the Server](https://github.com/schlagmichdoch/pairdrop/blob/master/server/). WebRTC encrypts the files on transit. If your devices are paired and behind a NAT, the public TURN Server from [Open Relay](https://www.metered.ca/tools/openrelay/) is used to route your files and messages. @@ -29,16 +29,16 @@ If your devices are paired and behind a NAT, the public TURN Server from [Open R Yes. Your files are sent using WebRTC, which encrypts them on transit. ### Why don't you implement feature xyz? -Snapdrop and Pairdrop are a study in radical simplicity. The user interface is insanely simple. Features are chosen very carefully because complexity grows quadratically since every feature potentially interferes with each other feature. We focus very narrowly on a single use case: instant file transfer. +Snapdrop and PairDrop are a study in radical simplicity. The user interface is insanely simple. Features are chosen very carefully because complexity grows quadratically since every feature potentially interferes with each other feature. We focus very narrowly on a single use case: instant file transfer. We are not trying to optimize for some edge-cases. We are optimizing the user flow of the average users. Don't be sad if we decline your feature request for the sake of simplicity. If you want to learn more about simplicity you can read [Insanely Simple: The Obsession that Drives Apple's Success](https://www.amazon.com/Insanely-Simple-Ken-Segall-audiobook/dp/B007Z9686O) or [Thinking, Fast and Slow](https://www.amazon.com/Thinking-Fast-Slow-Daniel-Kahneman/dp/0374533555). -### Snapdrop and Pairdrop are awesome! How can I support them? +### Snapdrop and PairDrop are awesome! How can I support them? * [Buy me a cover to support open source software](https://www.buymeacoffee.com/pairdrop) * [File bugs, give feedback, submit suggestions](https://github.com/schlagmichdoch/pairdrop/issues) -* Share Pairdrop on social media. +* Share PairDrop on social media. * Fix bugs and make a pull request. * Do security analysis and suggestions diff --git a/docs/host-your-own.md b/docs/host-your-own.md index f480452..ac6ac88 100644 --- a/docs/host-your-own.md +++ b/docs/host-your-own.md @@ -161,11 +161,11 @@ server { ``` ## Deployment with Docker -The easiest way to get Pairdrop up and running is by using Docker. +The easiest way to get PairDrop up and running is by using Docker. By default, docker listens on ports 8080 (http) and 8443 (https) (specified in `docker-compose.yml`). -When running Pairdrop via Docker, the `X-Forwarded-For` header has to be set by a proxy. Otherwise, all clients will be mutually visible. +When running PairDrop via Docker, the `X-Forwarded-For` header has to be set by a proxy. Otherwise, all clients will be mutually visible. ### Installation [See Local Development > Install](#install) diff --git a/index.js b/index.js index 49c0ee8..6353c01 100644 --- a/index.js +++ b/index.js @@ -85,7 +85,7 @@ server.listen(port); const parser = require('ua-parser-js'); const { uniqueNamesGenerator, animals, colors } = require('unique-names-generator'); -class PairdropServer { +class PairDropServer { constructor() { const WebSocket = require('ws'); @@ -95,7 +95,7 @@ class PairdropServer { this._rooms = {}; this._roomSecrets = {}; - console.log('Pairdrop is running on port', port); + console.log('PairDrop is running on port', port); } _onConnection(peer) { @@ -592,4 +592,4 @@ Object.defineProperty(String.prototype, 'hashCode', { } }); -new PairdropServer(); +new PairDropServer(); diff --git a/public/index.html b/public/index.html index 1d6f077..9cd5395 100644 --- a/public/index.html +++ b/public/index.html @@ -5,18 +5,18 @@ - Pairdrop + PairDrop - - + + - + @@ -39,7 +39,7 @@
- + @@ -54,7 +54,7 @@ -
+ @@ -215,7 +215,7 @@ - + @@ -298,7 +298,7 @@