This is a simple Telegram bot that allows you to upload and host files on a remote server. The bot is built using the Telegram Bot API and Rust programming language.
- File hosting: Upload files to a remote server and get a link to share with others.
- Security: Files can be encrypted with a user-provided key before being uploaded.
- Easy setup: Simply clone the repository, configure the bot token and server details, and run the bot.
To get started with the Telegram bot, you will need to:
- Clone the repository to your local machine.
- Set up a Telegram bot and obtain a bot token.
- Configure the bot token and server details in the
.env
file. - Run the bot using the
cargo run
command.
Once the bot is running, you can interact with it using the Telegram app. Send a file to the bot and it will upload the file to the remote server and provide you with a link to share with others.
The bot can use encryption when upload files to ensure that files are secure during transmission and storage. The encryption key is provided by the user and is not stored on the server.
This project is licensed under the Apache License. See the LICENSE file for more information.
This project was inspired by file-hosting services. Special thanks to the Telegram Bot API documentation, Teloxide and the Rust programming language community.