Skip to content
/ Sharer Public

Share/Transfer photos and text between any device and the APP host.

Notifications You must be signed in to change notification settings

Banyc/Sharer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharer

Share photo and text between any device and the APP host.

Demo

Server-side

Client-side

Warning

  • About security
    • In sub-project "SharerBlazorServer", it uses SSL protocol, where the certificate is self-signed. Before sending files, please make sure the public key fields of certificates in both client and server are identical.
    • In sub-project "Sharer", it does NOT provide any security. Under HTTP protocol, the message sent is not encrypted, which might be safely passed in a trusted LAN or through a private hot spot.
  • About performance
    • for project "SharerBlazorServer"
      • The files are uploaded by chunks.
    • for project "Sharer"
      • The file transfer is only performed by form posting.

Notices

The presumed pwd is src/Sharer or src/SharerBlazorServer.

Sub-project src/Sharer is no longer under development due to its traditional HTTP model. Please switch to src/SharerBlazorServer.

How to use

For Windows users:

Don't relay on this method.

  1. run Launch.bat
  2. make sure your device is in the same LAN as your computer
  3. let your device scan the QR code of the secure channel
  4. send photo or text
  5. check the photo in the popped-up file explorer or find the text in the console

For Linux + MacOS + Windows users:

  • run dotnet run
  • the folder upload.user (Sharer) or Resources (SharerBlazorServer) in the root of the project is where the files locate.

Publish

This might cost a long time

dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true

TODO