Dockerified fork of fxtwitter | Fix broken Twitter/X embeds! Use multiple images, videos, polls, translations and more on Discord, Telegram and others
Find a file
2022-07-14 17:57:25 -04:00
.github/workflows Initial commit 2022-07-13 19:59:00 -04:00
src Moved redirect to GitHub 2022-07-14 17:57:22 -04:00
.gitattributes Initial commit 2022-07-13 19:59:00 -04:00
.gitignore Initial commit 2022-07-13 19:59:00 -04:00
.prettierignore Initial commit 2022-07-13 19:59:00 -04:00
.prettierrc Ran Prettier again 2022-07-14 13:51:59 -04:00
LICENSE.md Initial commit 2022-07-13 19:59:00 -04:00
package-lock.json Update wrangler 2022-07-14 13:27:47 -04:00
package.json Update wrangler 2022-07-14 13:27:47 -04:00
README.md Update README.md 2022-07-14 17:57:25 -04:00
renovate.json Initial commit 2022-07-13 19:59:00 -04:00
tsconfig.json Initial commit 2022-07-13 19:59:00 -04:00
webpack.config.js Ran Prettier again 2022-07-14 13:51:59 -04:00
wrangler.example.toml Update wrangler 2022-07-14 13:27:47 -04:00

pxTwitter

Webpack

A TwitFix-like solution written in TypeScript for Cloudflare Workers.

Embed videos, polls, and more on Discord, Telegram, and more!

https://cdn.discordapp.com/attachments/165560751363325952/997256615365447680/pxtwitter.png

Embed Videos

Embed Polls

Embed Quote tweets (Including their media, if it doesn't conflict with the linked tweet)

Replace embedded t.co links with originals

Creates media/pfp color-matching theme-color (looks great on Discord!)

Private, we don't save tweets requested

Things to tackle in the future

  • Embed profiles! (and maybe more from Twitter?)
  • Combining multiple images together (would be outside CF Worker)
  • Caching responses (I haven't done this yet as this is still being actively worked on!)
  • Caching guest token (So we don't have to run to Twitter for a new one every request)

Bugs or issues?

Feel free to open an issue, or ping me on Twitter and I'll see what I can do.