A simple Django-based file-sharing platform where users can upload files and receive a unique link or File ID to access the files. The files and links will automatically expire and be deleted after 24 hours.
- File upload with a unique link generated for each file
- Auto-delete files and links after 24 hours
- Copy file URL and File ID to clipboard
- Handle expired files by removing them from the server
You System must have the following things to use this File Sharing App.
-
Installation of
python
andpip
Python is available for every platform. Download it according to you os. You can download it from Here.
Follow the mentioned procedure to run this project in your local system.
- Clone or Download the Repository
git clone https://github.com/santoshvandari/filesharing.git
cd FileSharing
- Create the Virtual Environment Before installing the requirements.
python3 -m virtualenv venv #For Linux User
- Activate the Virtual Environment
source venv/bin/activate #For Linux
Note: It is not Necessary to Create Virtual Environment but recommanded.
- Install the Requirements
pip install -r requirements.txt
- Make the Migrations and Migrate the Model
# For making the Migrations
python3 manage.py makemigrations
# For Migrating the Model
python3 manage.py migrate
- Create Super User
python3 manage.py createsuperuser
#Fill the Required Information
- Run the Server
python3 manage.py runserver #FOr Linux User
- Open the url in Browser
http://127.0.0.1:8000/ #For Home
http://127.0.0.1:8000/login # For Login
We welcome contributions! If you'd like to contribute to this File Sharing app, please check out our Contribution Guidelines.
Please review our Code of Conduct before participating in this app.
This project is licensed under the License.