Transfer files instantly between your devices without uploading to the cloud, waiting for sync, or exposing your data to external services.
- Navigate to your folder and clone repo:
git clone https://github.com/oh-nought/LANdToss
cd landtoss- Set up virtual environment:
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate for Windows- Install dependencies:
pip install -r requirements.txt- Create an
.envfile and paste the following into it:
HOST=0.0.0.0
PORT=8000
- Navigate to the server folder:
cd server- Run the program:
python server.pyAfter running the program, you will be prompted with something like this:
LANdToss Server
Visit: http://[your host]:[your port] to connect
INFO: Started server process [94048]
INFO: Waiting for application startup.
INFO: Application startup complete.
...Upon connecting to the page, users will be given a unique name and id.
To send a file:
- Select files - drag and drop or click to browse
- Choose recipient - click on an online user from the list
- Click "Toss" - send a transfer request
- Wait for acceptance - the recipient will see a popup to accept or decline your request
- Transfer begins - files stream in real time upon acceptance
To recieve a file:
- Keep browser open - your device will appear as "online" to other users
- Accept incoming requests - you can review file details before accepting
- Automatic download - files will download immediately upon transfer completion
