Update answer for saving images to the iOS gallery and add linebreaks for better readability

This commit is contained in:
schlagmichdoch 2024-02-18 01:15:52 +01:00 committed by GitHub
parent 892e84c834
commit 3c1bc9f82f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,18 +5,22 @@
Help! I can't install the PWA! Help! I can't install the PWA!
</summary> </summary>
<br>
if you are using a Chromium-based browser (Chrome, Edge, Vivaldi, Brave, etc.), you can easily install PairDrop PWA on your desktop if you are using a Chromium-based browser (Chrome, Edge, Vivaldi, 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). by clicking the install-button in the top-right corner while on [pairdrop.net](https://pairdrop.net).
<img width="400" src="pwa-install.png" alt="Example on how to install a pwa with Edge"> <img width="400" src="pwa-install.png" alt="Example on how to install a pwa with Edge">
On Firefox, PWAs are installable via [this browser extensions](https://addons.mozilla.org/de/firefox/addon/pwas-for-firefox/) On Firefox, PWAs are installable via [this browser extensions](https://addons.mozilla.org/de/firefox/addon/pwas-for-firefox/)
<br> <br>
<b>Self-Hosted Instance?</b> <b>Self-Hosted Instance?</b>
To be able to install the PWA from a self-hosted instance, the connection needs to be [established through HTTPS](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs). To be able to install the PWA from a self-hosted instance, the connection needs to be [established through HTTPS](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs).
See [this host your own section](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#testing-pwa-related-features) for more info. See [this host your own section](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#testing-pwa-related-features) for more info.
<br> <br>
</details> </details>
@ -26,7 +30,9 @@ See [this host your own section](https://github.com/schlagmichdoch/PairDrop/blob
Shortcuts? Shortcuts?
</summary> </summary>
Shortcuts <br>
Available shortcuts:
- Send a message with `CTRL + ENTER` - Send a message with `CTRL + ENTER`
- Close all "Send" and "Pair" dialogs by pressing `Esc`. - Close all "Send" and "Pair" dialogs by pressing `Esc`.
- Copy a received message to the clipboard with `CTRL/⌘ + C`. - Copy a received message to the clipboard with `CTRL/⌘ + C`.
@ -40,12 +46,20 @@ Shortcuts
How to save images directly to the gallery on iOS? How to save images directly to the gallery on iOS?
</summary> </summary>
Apparently, iOS does not allow images shared from a website to be saved to the gallery directly. <br>
It simply does not offer that option for images shared from a website.
iOS Shortcuts saves the day: ~~Apparently, iOS does not allow images shared from a website to be saved to the gallery directly.~~
~~It simply does not offer that option for images shared from a website.~~
~~iOS Shortcuts saves the day:~~ \
I created a simple iOS shortcut that takes your photos and saves them to your gallery: I created a simple iOS shortcut that takes your photos and saves them to your gallery:
https://routinehub.co/shortcut/13988/ https://routinehub.co/shortcut/13988/
Update: \
Apparently, this was only a bug that is fixed in recent iOS version (https://github.com/WebKit/WebKit/pull/13111). \
If you use an older affected iOS version this might still be of use. \
Luckily, you can now simply use `Save Image`/`Save X Images` 🎉
<br> <br>
</details> </details>
@ -55,10 +69,13 @@ https://routinehub.co/shortcut/13988/
Is it possible to send files or text directly from the "Context" or "Share" menu? Is it possible to send files or text directly from the "Context" or "Share" menu?
</summary> </summary>
<br>
Yes, it finally is. Yes, it finally is.
* [Send files directly from the "Context" menu on Windows](/docs/how-to.md#send-files-directly-from-context-menu-on-windows) * [Send files directly from the "Context" menu on Windows](/docs/how-to.md#send-files-directly-from-context-menu-on-windows)
* [Send directly from the "Share" menu on iOS](/docs/how-to.md#send-directly-from-share-menu-on-ios) * [Send directly from the "Share" menu on iOS](/docs/how-to.md#send-directly-from-share-menu-on-ios)
* [Send directly from the "Share" menu on Android](/docs/how-to.md#send-directly-from-share-menu-on-android) * [Send directly from the "Share" menu on Android](/docs/how-to.md#send-directly-from-share-menu-on-android)
<br> <br>
</details> </details>
@ -68,9 +85,12 @@ Yes, it finally is.
Is it possible to send files or text directly via CLI? Is it possible to send files or text directly via CLI?
</summary> </summary>
<br>
Yes. Yes.
* [Send directly from a command-line interface](/docs/how-to.md#send-directly-via-command-line-interface) * [Send directly from a command-line interface](/docs/how-to.md#send-directly-via-command-line-interface)
<br> <br>
</details> </details>
@ -80,11 +100,14 @@ Yes.
Are there any third-party Apps? Are there any third-party Apps?
</summary> </summary>
<br>
These third-party apps are compatible with PairDrop: These third-party apps are compatible with PairDrop:
1. [Snapdrop Android App](https://github.com/fm-sys/snapdrop-android) 1. [Snapdrop Android App](https://github.com/fm-sys/snapdrop-android)
2. [Snapdrop for Firefox (Addon)](https://github.com/ueen/SnapdropFirefoxAddon) 2. [Snapdrop for Firefox (Addon)](https://github.com/ueen/SnapdropFirefoxAddon)
3. Feel free to make one :) 3. Feel free to make one :)
<br> <br>
</details> </details>
@ -94,6 +117,8 @@ These third-party apps are compatible with PairDrop:
What about the connection? Is it a P2P connection directly from device to device or is there any third-party-server? What about the connection? Is it a P2P connection directly from device to device or is there any third-party-server?
</summary> </summary>
<br>
It uses a WebRTC peer-to-peer connection. It uses a WebRTC peer-to-peer connection.
WebRTC needs a signaling server that is only used to establish a connection. WebRTC needs a signaling server that is only used to establish a connection.
The server is not involved in the file transfer. The server is not involved in the file transfer.
@ -109,6 +134,7 @@ to learn more about STUN, TURN and WebRTC.
If you host your own instance If you host your own instance
and want to support devices that do not support WebRTC, and want to support devices that do not support WebRTC,
you can [start the PairDrop instance with an activated WebSocket fallback](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#websocket-fallback-for-vpn). you can [start the PairDrop instance with an activated WebSocket fallback](https://github.com/schlagmichdoch/PairDrop/blob/master/docs/host-your-own.md#websocket-fallback-for-vpn).
<br> <br>
</details> </details>
@ -118,6 +144,8 @@ you can [start the PairDrop instance with an activated WebSocket fallback](https
What about privacy? Will files be saved on third-party servers? What about privacy? Will files be saved on third-party servers?
</summary> </summary>
<br>
Files are sent directly between peers. Files are sent directly between peers.
PairDrop doesn't even use a database. PairDrop doesn't even use a database.
If curious, study [the server](https://github.com/schlagmichdoch/pairdrop/blob/master/index.js). If curious, study [the server](https://github.com/schlagmichdoch/pairdrop/blob/master/index.js).
@ -130,6 +158,7 @@ If your devices are paired and behind a NAT,
the PairDrop TURN Server is used to route your files and messages. the PairDrop TURN Server is used to route your files and messages.
See the [Technical Documentation](technical-documentation.md#encryption-webrtc-stun-and-turn) See the [Technical Documentation](technical-documentation.md#encryption-webrtc-stun-and-turn)
to learn more about STUN, TURN and WebRTC. to learn more about STUN, TURN and WebRTC.
<br> <br>
</details> </details>
@ -139,10 +168,13 @@ to learn more about STUN, TURN and WebRTC.
What about security? Are my files encrypted while sent between the computers? What about security? Are my files encrypted while sent between the computers?
</summary> </summary>
<br>
Yes. Your files are sent using WebRTC, encrypting them in transit. Yes. Your files are sent using WebRTC, encrypting them in transit.
To ensure the connection is secure and there is no [MITM](https://wikiless.org/wiki/Man-in-the-middle_attack), To ensure the connection is secure and there is no [MITM](https://wikiless.org/wiki/Man-in-the-middle_attack),
compare the security number shown under the device name on both devices. compare the security number shown under the device name on both devices.
The security number is different for every connection. The security number is different for every connection.
<br> <br>
</details> </details>
@ -152,6 +184,8 @@ The security number is different for every connection.
Transferring many files with paired devices takes too long Transferring many files with paired devices takes too long
</summary> </summary>
<br>
Naturally, if traffic needs to be routed through the TURN server Naturally, if traffic needs to be routed through the TURN server
because your devices are behind different NATs, transfer speed decreases. because your devices are behind different NATs, transfer speed decreases.
@ -164,6 +198,7 @@ which omits the need of the TURN server.
You can also use mobile hotspots on phones to do that. You can also use mobile hotspots on phones to do that.
Then, all data should be sent directly between devices and not use your data plan. Then, all data should be sent directly between devices and not use your data plan.
<br> <br>
</details> </details>
@ -173,6 +208,8 @@ Then, all data should be sent directly between devices and not use your data pla
Why don't you implement feature xyz? Why don't you implement feature xyz?
</summary> </summary>
<br>
Snapdrop and PairDrop are a study in radical simplicity. Snapdrop and PairDrop are a study in radical simplicity.
The user interface is insanely simple. The user interface is insanely simple.
Features are chosen very carefully because complexity grows quadratically Features are chosen very carefully because complexity grows quadratically
@ -184,7 +221,6 @@ Don't be sad. We may decline your feature request for the sake of simplicity.
Read *Insanely Simple: The Obsession that Drives Apple's Success*, Read *Insanely Simple: The Obsession that Drives Apple's Success*,
and/or *Thinking, Fast and Slow* to learn more. and/or *Thinking, Fast and Slow* to learn more.
<br> <br>
</details> </details>
@ -194,12 +230,14 @@ and/or *Thinking, Fast and Slow* to learn more.
Snapdrop and PairDrop are awesome. How can I support them? Snapdrop and PairDrop are awesome. How can I support them?
</summary> </summary>
<br>
* [Buy me a coffee](https://www.buymeacoffee.com/pairdrop) to pay for the domain and the server, and support libre software. * [Buy me a coffee](https://www.buymeacoffee.com/pairdrop) to pay for the domain and the server, and support libre software.
* [File bugs, give feedback, submit suggestions](https://github.com/schlagmichdoch/pairdrop/issues) * [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. * Fix bugs and make a pull request.
* Do some security analysis and make suggestions. * Do some security analysis and make suggestions.
* To support the original Snapdrop and its creator go to [his GitHub page](https://github.com/RobinLinus/snapdrop)
<br> <br>
</details> </details>
@ -209,7 +247,10 @@ and/or *Thinking, Fast and Slow* to learn more.
How does it work? How does it work?
</summary> </summary>
<br>
[See here for info about the technical implementation](/docs/technical-documentation.md) [See here for info about the technical implementation](/docs/technical-documentation.md)
<br> <br>
</details> </details>