This guide assumes you have never used a terminal, never installed Python, and have no idea what "port" means. If you follow it exactly, you'll have your own file server running in about 10 minutes.
A mini cloud that runs on your own computer. You open a web page, and anyone on your same Wi-Fi can upload, download, and edit files through that page. No internet company involved. Your computer is the server.
- Go to https://www.python.org/downloads/
- Click the big yellow "Download Python 3.x" button.
- Run the downloaded file.
- IMPORTANT: Check the box that says "Add Python to PATH" at the bottom.
- Click Install Now and wait.
- Done. You now have Python.
To check it worked, search for "cmd" in the Start menu and open Command Prompt. Type:
python --versionYou should see something like Python 3.12.x. If you see an error, the "Add to PATH"
box was probably unticked - reinstall Python and tick it.
You need a copy of this project on your computer.
- Unzip the folder anywhere, e.g.
C:\Users\YourName\sajilocloud. - Remember the path.
git clone https://github.com/arundada9000/sajilocloud.git
cd sajilocloudThese are extra pieces of code the server needs. Open Command Prompt and type:
cd C:\Users\YourName\sajilocloud
pip install -r requirements.txtReplace the path with wherever you put the project. Wait until it finishes - you
should see Successfully installed ....
This is the only time you need to install dependencies (unless you reinstall Python).
Still in Command Prompt, type:
python server.pyYou'll see something like:
Scan to connect to the server:
[Q R code drawn with letters]
[21:00:00] Server started at http://192.168.1.5:4142
DO NOT close this window. That window is the server. Closing it stops everything.
Open Chrome/Edge/Firefox and go to:
http://localhost:4142
- Make sure your phone is connected to the same Wi-Fi as the computer.
- Open the camera app and point it at the QR code drawn in the terminal.
(It's also saved as
Home/qr.pngin the project folder.) - Tap the link that appears.
- You're in!
- Upload: drag files from your phone/laptop into the page.
- Download: click any file.
- Edit: click a
.js/.py/.html/.txt/.jsonfile - a code editor opens. - Search: press
/on the keyboard. - Share with friends: give them the IP URL or scan the QR - if they're on the same Wi-Fi, they're in.
- Open Command Prompt.
cdto the project folder.python server.py
That's it. (Windows users: double-click start_servers.bat to skip all typing -
see RUNNING.md.)
| Problem | Fix |
|---|---|
'python' is not recognized |
Python not on PATH -> reinstall with "Add to PATH" ticked. |
ModuleNotFoundError |
You skipped Step 3 -> run pip install -r requirements.txt. |
| "Can't reach this page" | Server window is closed -> start it again (Step 4). |
| Phone can't connect | Phone must be on the same Wi-Fi as the computer. |
| Port already in use | Another program uses port 4142 -> change port in config.json (see CONFIGURATION.md). |
More fixes: Troubleshooting and FAQ.
Still stuck? That's what the FAQ is for - or email the maintainer at arunneupane0000@gmail.com.