Telegram bot that will convert TikTok links into video files to post into telegram directly
.gitea/workflows | ||
.drone.yml | ||
.gitignore | ||
config.json | ||
Dockerfile | ||
Program.cs | ||
README.md | ||
TelegramListener.cs | ||
TeleTok.csproj | ||
VidDownload.cs |
TeleTok Telegram Bot
This bot will monitor any chats for TikTok links that are posted, and then will run the link through a ProxiTok instance to generate a download link. The resulting video file will then get directly uploaded directly to your chat.
Building
Requirements: Dotnet SDK 6.0
Run dotnet build
for a Debug instance
Run dotnet publish
for a full release
Installation
Requirements
- A telegram bot token
- A working ProxiTok instance, either public or hosted yourself. (Please be kind and take bandwidth into account when using a public instance)
Binary
- Either build the application or download a release zip for your OS/architecture
- Edit the config.json and put your telegram bot token in the "token" field, and your chosen ProxiTok instance in the "ptInstance" field
- Run the TeleTok.exe/TeleTok executable
Docker
- You can build an image for yourself with
docker build teletok .
or you can pull a prebuilt image withdocker pull kizaing/teletok:latest
- Copy the placeholder config.json from the repo to a location of your choosing
- Edit the config.json and put your telegram bot token in the "token" field, and your chosen ProxiTok instance in the "ptInstance" field
- Run the container with
docker run -v ${PWD}/config.json:/app/teletok/config.json -d kizaing/teletok:latest
To Do
- Add better error and link handling
- Process videos into telegram
- Add Matrix support
- Automate binary release publishing