With telegramFileManager you can have your own unlimited cloud and manage it through a file system in a simple way. You will be able to store files of unlimited size.
- Obtain App_Hash and App_Id in API development tools. How to
- Rename file
Configuration/config.example.jsonasConfiguration/config.jsonand modify it:
- "mongo_connection_string": "mongodb://<username>:<password>@<server>:<port>".
- Complete Api_hash and Api_id.
- Install MongoDB
- Install .Net SDK
- Install .Net Runtime Run server apps
Docker Compose.
version: "3"
services:
telegramdownloader:
image: ghcr.io/mateof/telegramfilemanager:latest
deploy:
resources:
limits:
memory: 6G
container_name: telegramfilemanager
environment:
connectionString: "mongodb://<username/>:<password/>@mongodb_container:27017"
api_id: ""
hash_id: ""
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE: false
restart: unless-stopped
depends_on:
- mongodb_container
ports:
- "8015:8080"
volumes:
- <local folder/>:/app/local
- <folder logs/>:/app/logs
- <user data/>:/app/datauser
mongodb_container:
image: mongo:latest
container_name: mongodb
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME:
MONGO_INITDB_ROOT_PASSWORD:
ports:
- 27017:27017
volumes:
- <path for mongo data/>:/data/db
# For debug
mongo-express:
image: mongo-express
restart: unless-stopped
environment:
- ME_CONFIG_MONGODB_SERVER=mongodb
- ME_CONFIG_MONGODB_PORT=27017
- ME_CONFIG_MONGODB_ENABLE_ADMIN=true
- ME_CONFIG_MONGODB_AUTH_DATABASE=admin
- ME_CONFIG_MONGODB_AUTH_USERNAME=
- ME_CONFIG_MONGODB_AUTH_PASSWORD=
- ME_CONFIG_BASICAUTH_USERNAME=
- ME_CONFIG_BASICAUTH_PASSWORD=
depends_on:
- mongodb_container
ports:
- "27000:8081"
dotnet publish -c Release --output ./MyTargetFolder .\TelegramDownloader.csproj
- Create a private or public channel on Telegram.
- The new channel will appear on the left side panel.
- Click on the folder icon and you will access the file manager.
- Go to the tab called
local. - Select the files or folders you want to upload to Telegram.
- Click on the
Upload Telegramoption in the menu. - You can see the upload progress by clicking on the three dots located in the upper right position, which will display the right side panel. Then click on the
Tasksoption. - When the upload tasks are finished, you will be able to see the uploaded files in the file manager, in the
Remotetab. - When you want, you can download the files again to a location on your local computer, selecting the files or folders and clicking the
Download to Localbutton.
- GPLv3

