This Code aims to provide a platform for users to upload and download files. It leverages the Django framework to create a web application that facilitates file management. Users can upload files, view their uploaded files, and download files as needed.
The portal has the following features.
- A User can Register themself and Login.
- A User can Upload, Download and Delete the Uploaded Files.
- User can copy the link and sent over the internet so that other people can easily download those file.
- All the files are stored in the telegram so no need to worry about the space.
You System must have the following things to use this Blog App.
-
Create a Telegram Channel and Telegram Bot
-
Provide all the Permission Of the Channel to the Bot.
-
Get the Channel ID and Telegram Bot API Key.
Learn More About it from Here.
-
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/FileTransferWebsite.git
cd FileTransferWebsite
- Create the Virtual Environment Before installing the requirements.
python3 -m virtualenv venv #For Linux User
- Activate the Virtual Environment
source venv/bin/activate #For Linuxr
Note: It is not Necessary to Create Virtual Environment but recommanded.
- Install the Requirements
pip install -r requirements.txt
- Update the
.env
file
TOKEN=<Enter Your Telegram Bot API Key>
CHANNEL_ID=<Enter Your Channel ID >
- Make Migrations and Migrate the Model
# For Making Migrations
python3 manage.py makemigrations
# For Migrating Models
python3 manage.py makemigrations
- Now Run the Server
python3 manage.py runserver #For Linux User
- Open the url in Browser
http://127.0.0.1:8000/ #For Home
- Register the User and Start Uploading the Files
We welcome contributions! If you'd like to contribute to this Blog 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.