Telegram bot that will convert TikTok links into video files to post into telegram directly
Go to file
2023-02-16 17:03:01 -05:00
.drone.yml Fixed tag to be lowercase 2023-02-14 15:17:53 -05:00
.gitignore Updated .gitignore 2023-02-15 13:55:16 -05:00
config.json Added matrix variables 2023-02-16 10:52:38 -05:00
CryptographyService.cs Added crypto file 2023-02-16 17:03:01 -05:00
Dockerfile Updated CMD command 2023-02-14 15:29:55 -05:00
MatrixListener.cs Created initial matrix listener 2023-02-16 10:52:46 -05:00
Program.cs Created check for Matrix mode 2023-02-16 10:53:08 -05:00
README.md Updated readme 2023-02-15 14:12:00 -05:00
TelegramListener.cs Implemented timestamp logging 2023-02-15 12:20:23 -05:00
TeleTok.csproj Added Matrix SDK 2023-02-16 10:52:56 -05:00
VidDownload.cs Fixed bug deleting entire user variable 2023-02-15 16:33:57 -05:00

Build Status

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

  1. Either build the application or download a release zip for your OS/architecture
  2. Edit the config.json and put your telegram bot token in the "token" field, and your chosen ProxiTok instance in the "ptInstance" field
  3. Run the TeleTok.exe/TeleTok executable

Docker

  1. You can build an image for yourself with docker build teletok . or you can pull a prebuilt image with docker pull kizaing/teletok:latest
  2. Copy the placeholder config.json from the repo to a location of your choosing
  3. Edit the config.json and put your telegram bot token in the "token" field, and your chosen ProxiTok instance in the "ptInstance" field
  4. 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