Skip to content

Telegram bot to repost medias on X/Pixiv to telegram channels.

License

Notifications You must be signed in to change notification settings

HundSimon/x-repost-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-repost-telegram-bot

Telegram bot for reposting content from other platforms.

Currently, supports reposting from: X(Twitter) & Pixiv & kemono.su

Deployment

  1. Use python 3.11 or before because distutils has been removed from Python 3.12

  2. Clone the repository

git clone https://github.com/HundSimon/x-repost-telegram-bot.git
  1. Install dependencies
pip install -r requirements.txt
  1. Create a new bot on the BotFather and get the API token

  2. Configure the bot by editing the config.py file

cp config.json.example config.json
vim config.json

You can get Pixiv refresh token by using pixiv_auth.py

  1. Run the bot
python main.py

TODO

  • Error handling
  • X video reposting
  • Pixiv multi-image reposting
  • e621 support
  • Better async
  • furryaffinity support
  • e-hentai support
  • kemono.su support

About

Telegram bot to repost medias on X/Pixiv to telegram channels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages