All Projects → vahidbaghi → telegram_file_manager_bot

vahidbaghi / telegram_file_manager_bot

Licence: other
Telegram File Manager Bot

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to telegram file manager bot

ServerTools
ServerTools is Pocketmine-MP plugin containing a set of tools that allows you to manage your server directly from the game!
Stars: ✭ 23 (-41.03%)
Mutual labels:  file-manager
vdir
a visual directory browser for plan9
Stars: ✭ 66 (+69.23%)
Mutual labels:  file-manager
fm-nvim
🗂 Neovim plugin that lets you use your favorite terminal file managers (and fuzzy finders) from within Neovim.
Stars: ✭ 114 (+192.31%)
Mutual labels:  file-manager
vim-syntax-vidir-ls
dircolors in your vidir session
Stars: ✭ 34 (-12.82%)
Mutual labels:  file-manager
uploadcare-ios
UploadcareKit: iOS SDK for Uploadcare API
Stars: ✭ 24 (-38.46%)
Mutual labels:  file-manager
Remote-File-Manager
Server Based GUI File Manager
Stars: ✭ 55 (+41.03%)
Mutual labels:  file-manager
telescope-file-browser.nvim
File Browser extension for telescope.nvim
Stars: ✭ 674 (+1628.21%)
Mutual labels:  file-manager
explorer
File manager for Android with Material Design
Stars: ✭ 76 (+94.87%)
Mutual labels:  file-manager
NewBreeze
NewBreeze File Manager based on Qt
Stars: ✭ 59 (+51.28%)
Mutual labels:  file-manager
llama
Terminal file manager
Stars: ✭ 306 (+684.62%)
Mutual labels:  file-manager
xplr
A hackable, minimal, fast TUI file explorer
Stars: ✭ 2,271 (+5723.08%)
Mutual labels:  file-manager
file-manager
A basic node.js file manager
Stars: ✭ 76 (+94.87%)
Mutual labels:  file-manager
Curator
A lightweight key-value file manager written in Swift.
Stars: ✭ 14 (-64.1%)
Mutual labels:  file-manager
maskedkitty
🙀 Icon Changer, File Pumper & Extension Spoofer - Quickly Modify Executable Files
Stars: ✭ 39 (+0%)
Mutual labels:  file-manager
tfex-rs
A simple terminal UI file manager
Stars: ✭ 29 (-25.64%)
Mutual labels:  file-manager
fortune-commons
Fortune Commons is an project focused on all aspects of reusable Java components.
Stars: ✭ 17 (-56.41%)
Mutual labels:  file-manager
sfm
simple file manager
Stars: ✭ 163 (+317.95%)
Mutual labels:  file-manager
vue-fs
A Vue file management client, complete with a node/express/FS backend.
Stars: ✭ 40 (+2.56%)
Mutual labels:  file-manager
file manager
FileManager is a wonderful widget that allows you to manage files and folders, pick files and folders, and do a lot more. Designed to feel like part of the Flutter framework.
Stars: ✭ 38 (-2.56%)
Mutual labels:  file-manager
webdir
多账户 文件管理系统 轻量级网盘 配合aria2 可以离线下载 新建文件夹 重命名文件 等文件管理的基本功能
Stars: ✭ 26 (-33.33%)
Mutual labels:  file-manager

Telegram File Manager Bot

License: MIT

Introduction

Telegram gives you unlimited storage for your files. But it is difficult to categorize and manage files. This Telegram bot lets you categorize your files in telegram. When you send a file to the bot, it stores it on a private telegram channel that you created and retrieves it when you need it.

Usage

To get started, you'll need a Telegram API Access Token, and you can get it here @BotFather. Then, replace "TOKEN" with your token :

  # Create the Updater and pass it your bot's token.
    updater = Updater("TOKEN")

In order to save and retrieve files in a channel, first create a (private) channel in Telegram and then make the bot the channel admin. Then follow this instruction to find the channel ID and paste it into CHANNEL_ID :

CHANNEL_ID = -100 # Shows the channel ID
Command Description
/start Starts the bot
/mkdir directory_name Creates directory "directory_name" in the current directory
/cd directory_name Changes directory to "directory_name"
/rm [-r] file_name or file_id Removes specified file "file_name" of "file_id" from the current directory. The -r option allows you to use regular expressions
/rmdir [-r] directory_name Removes specified directory "directory_name" from the current directory. The -r option allows you to use regular expressions
/get [-r] file_name or file_id Gets a specific file by "file_name" or "file_id" from the current directory. The -r option allows you to use regular expressions
/rnf old,new Renames a specifed file "old" to "new". Also, "old" can be "file_id"
/rnd old,new Renames a specifed directory "old" to "new". Also, "old" can be "file_id"

Installation

Clone the repository:

git clone https://github.com/vahidbaghi/telegram_file_manager_bot.git
cd telegram_file_manager_bot-main

Install dependencies

pip install -r requirements.txt

Run

python bot.py

License

The project is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].