A program for transferring files quickly within your local network.

Made with Javascript, Express, EJS

filetransfer

quickly transfer files within your local network

screenshots

homepage

homepage

drop anywhere

dropanywhere

after uploading files

uploaded

download page when multiple files were uploaded

filelist

usage

install (bun install)

run (bun run start)

the server should start and give a url

note: on windows wsl, you have to do this thing https://learn.microsoft.com/en-us/windows/wsl/networking

# in an administrator powershell window
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress={{put the ip address filetransfer gives here}}
# also, disable windows firewall
# also, reevaluate your life choices that lead to you having to use windows in the first place

configuration

to select a different port, run with env PORT=8080 (or the port you want)

if your computer has multiple ip addresses on the local network, start the server with env IPADDR=[desired] or env IFACE=[desired]. Running the server without either of these will show the possible ip addresses or network interfaces. to disable the baseurl thing entirely, or if other computers have a custom host entry, launch with env RAWIP=localhost (switch localhost for the host entry you want).

notes

  • don't run this on a forwarded port, keep it inside your local network.
  • qr codes are generated using a google api, so they won't work when you are not connected to the internet.
  • there is probably a filesize limit. the default has not been adjusted, so there may be issues with large files. this should be easy to fix.
  • [warning] files are transferred insecurely, anyone else on your local network may be able to see the files you transfer. TODO: fix this