Skip to content

This Repository Contains the Code of the Website that will helps to Upload and Download the Files in the Telegram Using Telegram Bot.

License

Notifications You must be signed in to change notification settings

santoshvandari/FileTransferWebsite

Repository files navigation

File Transfer

Introduction

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.

Features

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.

Usages

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 and pip

    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

Contributing

We welcome contributions! If you'd like to contribute to this Blog app, please check out our Contribution Guidelines.

Code of Conduct

Please review our Code of Conduct before participating in this app.

License

This project is licensed under the License.

Keep Coding, Keep Smiling😊

About

This Repository Contains the Code of the Website that will helps to Upload and Download the Files in the Telegram Using Telegram Bot.

Resources

License

Stars

Watchers

Forks