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-15 11:47:23 -04:00
.github/workflows Initial commit 2022-07-13 19:59:00 -04:00
src Tweaking again 2022-07-15 01:39:20 -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 dependency @cloudflare/workers-types to ^3.14.1 2022-07-14 22:04:12 +00:00
package.json Add description 2022-07-14 21:04:44 -04:00
README.md Update README.md 2022-07-15 11:47:23 -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! Just add px before twitter to make pxtwitter.com

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

Embed Videos (Twitter videos, and compatible external providers, such as YouTube)

Embed Poll results

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

Replace embedded t.co links with originals

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

Private: We don't save tweets or their media (Outside of Cloudflare caching for speed)

Licensed under the permissive MIT license. Feel free to send a pull request!

Things to tackle in the future

  • Combining multiple images together (would be outside CF Worker)
  • Caching guest token (So we don't have to bother Twitter for one on every request)

Bugs or issues?

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