2025-03-01 13:44:04 +08:00
2024-10-10 23:31:01 +08:00
2025-02-25 16:17:20 +08:00
2025-03-01 12:22:50 +08:00
2025-02-25 16:17:20 +08:00
2025-03-01 13:44:04 +08:00
2024-10-10 23:31:01 +08:00
2025-02-27 22:25:10 +08:00
2024-10-12 12:47:33 +08:00
2025-03-01 13:37:09 +08:00
2024-11-09 09:39:18 +08:00
2024-10-10 23:38:23 +08:00

Save Any Bot

简体中文 | English

Save Telegram files to various storage endpoints.

Just like PikPak Bot

Demo Video:

Deployment

Deploy from Binary

Download the binary file for your platform from the Release page.

Create a config.toml file in the extracted directory, refer to config.toml.example for configuration.

Run:

chmod +x saveany-bot
./saveany-bot

Add as systemd Service

Create file /etc/systemd/system/saveany-bot.service and write the following content:

[Unit]
Description=SaveAnyBot
After=systemd-user-sessions.service

[Service]
Type=simple
WorkingDirectory=/yourpath/
ExecStart=/yourpath/saveany-bot
Restart=on-failure

[Install]
WantedBy=multi-user.target

Enable auto-start and start the service:

systemctl enable --now saveany-bot

Deploy with Docker

Docker Compose

Download docker-compose.yml file and create a config.toml file in the same directory, refer to config.toml.example for configuration.

Run:

docker compose up -d

Docker

docker run -d --name saveany-bot \
    -v /path/to/config.toml:/app/config.toml \
    -v /path/to/downloads:/app/downloads \
    ghcr.io/krau/saveany-bot:latest

Update

Use upgrade or up command to upgrade to the latest version:

./saveany-bot upgrade

If deployed with Docker, use the following commands to update:

docker pull ghcr.io/krau/saveany-bot:latest
docker restart saveany-bot

Usage

Send (forward) files to the Bot and follow the prompts.


Thanks

Description
Save Any Telegram File to Anywhere 📂 (Alist, Disk, Webdav, S3, Rclone...) . Support restrict saving content and files beyond telegram.
Readme AGPL-3.0 91 MiB
Languages
Go 98.7%
JavaScript 1%
Dockerfile 0.2%