Skip to content

fobbidennotis/temp-sh-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fdb0038 · Feb 12, 2025

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Temp.sh Telegram bot wrapper

Just a super-simple wrapper that allows simple and fast upload of files to temp.sh

Current functionality

Commands:

/wrap - must be sent as a reply to message that contains the file you want to upload. Returns a link. Only supports files up to 20MB because of the Telegram API limit.

Running

Make a .env file that contains:

export TELEGRAM_BOT_TOKEN="token"

replace "token" with token your retrieved from BotFather

Then use poetry PM to run:

Install dependencies:

poetry install

Set enviroment variables:

source .env

Run with poetry:

poetry run python3 main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages