Turn your laptop or desktop into a personal local cloud to easily share files with other devices on the same Wi-Fi network.
Features:
- File upload and sharing
- Temporary Chats (TempChats)
- Audio/Video player
- Dark Mode
- Use Case
- Server Clients
- Minimum Requirements
- Getting Started
- Get Updates
- Configurations
- Folders
- License
- Donate
Imagine you’re at home or in an office:
- You can quickly share files like photos, documents, or videos between your phone and computer without using cloud services (e.g., Google Drive or Dropbox).
- Any device on the same Wi-Fi network can interact with the Local Box to upload files or retrieve hosted files.
The computer that is running this application will act like the server. A local IP address (like 192.168.0.151) will be displayed. Clients (other users) can connect to that IP address via browsers.
Make sure to add port number to the url.
If the server IP is 192.168.0.151 and is running at port 3001 then type http://192.168.0.151:3001
in the browser.
- Node.js (version 16 or higher)
- Any modern laptop or desktop should work.
- I am using HP ProBook 6450b laptop from the year 2010.
- Specs:
- 320GB HDD
- 4GB RAM
- Ubuntu 20.04LTS.
Clone this repository
git clone https://github.com/yusufshakeel/localbox.git
Install dependencies
npm i
Bootstrap
npm run bootstrap
Run the local server
npm run dev
Open http://localhost:3000 in the browser to see the result.
Just pull the latest main branch.
git pull origin main
You will find configurations inside src/configs
folder.
File: src/configs/temp-chats.ts
This directory contains private files. Don't change anything here.
This directory contains files and folders that can be viewed in browser when you are running localbox.
This directory contains assets of the project. Don't change anything here.
Admin can upload audio files in this folder and clients will be able to download them.
Admin can upload document files in this folder and clients will be able to download them.
Admin can upload image files in this folder and clients will be able to download them.
Anyone can upload any files here.
Admin can upload video files in this folder and clients will be able to download them.
This folder contains all the uploaded files from the TempChats.
Note: All the uploaded files via TempChats are auto-deleted.
It's free 😃
MIT License Copyright (c) 2024 Yusuf Shakeel
Feeling generous 😃 Donate via PayPal