Skip to content

junyilou/twitter-telegram-preview-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter-telegram-preview-bot

Python 3.12+

一个推文预览 Telegram 消息生成工具。

完整功能已在 @kotorixbot 中实现,可以直接使用,此为该项目源代码。

效果图

支持图片、视频 支持引用、回复 Inline 美化 URL
media 视频消息 内联消息

搭建使用

已改为使用 dylanpdx/BetterTwitFix 提供的接口进行实现,相较原先的版本几乎无功能性损失,同时提供更高的稳定性,也无需再安装 Twitter 相关的 PyPI 依赖。

你需要使用至少 Python 3.12 版本才能运行此代码。

通过 pypi 安装全部依赖:

python3 -m pip install -r requirements.txt

通过 @BotFather 申请你自己的 Bot,然后将 Token 填写在 BotApp.py 中。

About

Generate Beautiful Twitter Preview for Telegram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages