AD
Boost Your Brand on BlueSkyβ€”Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /JavaScript
  3. /telegram-twitter-url-expand-bot
pugson

telegram-twitter-url-expand-bot

A JavaScript SDK for Bluesky and AT Protocol by pugson

πŸ¦οΈπŸ’¬ Expand Twitter, Instagram, Reddit, Bluesky, Hacker News, Dribbble, and TikTok links in Telegram chats & channels (with inline video)

GitHub Stats

83stars
10forks
6contributors
5open issues

Dates

Created:July 28, 2022
Last updated:May 12, 2025

README

The following content is from telegram-twitter-url-expand-bot's GitHub repository. All rights reserved by the original author.

Link Expander β€” Telegram Bot for expanding Twitter, Instagram, TikTok, Spotify, Reddit, Bluesky, Hacker News, and Dribbble links.

banner-4 1@1x

Some Twitter links stopped expanding inside Telegram which made it extremely annoying when you wanted to send a banger tweet to your homies in the group chat. This bot replies with an alternative fxtwitter.com URL which has a working embed for multiple photos and even includes inline video.

Supported platforms

  • Twitter / X using fxtwitter.com
  • Instagram using ddinstagram.com (doesn’t work with Stories or Highlights yet.)
  • TikTok using tfxktok.com
  • Bluesky using fxbsky.app
  • Reddit using rxddit.com
  • Hacker News using a custom API
  • Dribbble using dribbbletv.com
  • Posts.cv using postscv.com
  • Spotify using a custom API

βœ¨πŸ†•βœ¨ Support for Spotify links!

When you send a Spotify link, the bot will reply with a photo of the artwork and info about the track / album / playlist / artist / podcast / show. It will also send a sample audio clip in another message.

Spotify preview

Hacker News links! (not in channels yet)

You can now expand Hacker News links. It will reply with the original YCombinator URL, the link shared in a HN post, and the title of the submission.

CleanShot 2024-01-09 at 09 15 18 PM@2x

βœ¨πŸ†•βœ¨ Bot now works in Telegram Channels!

When you add this bot to your channel it will automatically edit any message that includes a supported platform and replace the link in that message with one of the working embeds for each platform. Your channel subscribers will finally be able to watch inline videos and photos without leaving Telegram.

[!NOTE]

There is no message logging or personal tracking β€” your chats stay private.

The exact source code that’s published on GitHub is automatically deployed to Railway and logs will never include any user/chat/personal info or content. You can audit the code to see for yourself.

Demo

https://user-images.githubusercontent.com/6843656/182036672-5b566200-cba4-462d-ba5c-4c043e032b06.mp4

How to use this bot?

Channels

  1. Find it on Telegram as @TwitterLinkExpanderBot or click here: https://t.me/twitterlinkexpanderbot?start=start
  2. Add it to your channel as admin with the Edit messages of others permission.
  3. Send a message that includes a tweet, TikTok, or Instagram URL.

Groups or DMs

  1. Find it on Telegram as @TwitterLinkExpanderBot or click here: https://t.me/twitterlinkexpanderbot?start=start
  2. Add it to your group chat.
  3. Send a message that includes a tweet, TikTok, or Instagram URL.
  4. Click "Yes" or "No" when the bot replies to your message.
  5. Configure automatically expanding links in your group chat by sending /autoexpand and changing your settings.
image

Do you read all messages inside the chat?

πŸ™…β€β™‚οΈ No, I will never do that. πŸ™…β€β™‚οΈ

While it is technically possible through the Bot API, I simply do not have the time or desire to snoop on your shit. The only thing I will keep track of is counting anonymous events when buttons are clicked, bot commands are used, a tweet has multiple images (etc.) to monitor stats to see if people are finding this bot useful.

image

Thanks

This bot wouldn't be possible without the following people and projects. Huge thanks to:

  • @dylanpdx for creating BetterTwitFix / vxtwitter.com
  • @Wikidepia for creating InstaFix / ddinstagram.com
  • fxtwitter.com / FixTweet
  • @allanf181 for creating tfxktok.com
  • @fxbsky.app for creating fxbsky.app
  • @MinnDevelopment for creating rxddit.com

Topics

blueskybotdribbblehacker-newsinstagramtelegramtelegram-bottiktoktwitter

Related SDKs

mary-extatcute

a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky.

318β€’JavaScript
aliceisjustplayinglabeler-starter-kit-bsky

Use this repository to get started with your own Bluesky Labeler.

167β€’JavaScript
bluesky-socialfeed-generator

ATProto Feed Generator Starter Kit

1856β€’JavaScript
bluesky-socialatproto

AT Protocol Reference Implementation (TypeScript)

8526β€’JavaScript
skyware-jsfirehose

A dead simple client for subscribing to an ATProto Relay ("firehose").

37β€’JavaScript
skyware-jsjetstream

A fully typed client for the Bluesky Jetstream (https://github.com/bluesky-social/jetstream) service.

47β€’JavaScript

Resources

GitHub RepositoryProject Website

License

GPL-3.0

Author

pugson
pugson

Activity

Last commit: May 12, 2025
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

πŸ“§ Contact us via emailπŸ¦‹ Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news πŸ¦‹

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirsto

This website may contain affiliate links

Β© 2025 BskyInfo. All rights reserved.