A simple implementation of Sockets to share files between two devices.
You must have npm
and node
preinstalled.
Libraries used:
React
: Frontend withtokyo-night
theme/color-scheme (it's not beautiful, but it's okay).Express
: BackendSocket.io
: Connecting and emitting/sending to the sockets.nodemon
: idk, it's easier that way (you do not have to run the server each time manually)
git clone https://github.com/xtanion/file-drop.git
cd file-drop
nodemon Server
npm start
Site should be up and running at localhost:3000
- Sharing larger files
- Dynamic blob allocation, (due to memory restrictions)
- Encrypted byte array transfers