Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
/ twiffs Public archive

edited tweet history diff highlighting ➕➖

License

Notifications You must be signed in to change notification settings

maxmmyron/twiffs

Repository files navigation

twiffs

Note

This project is not under active maintenance as Twitter's codebase seems to rapidly change. This is not something I particularly want to keep up with. I may revisit this in the future with a better implementation that doesn't rely on shaky class parsing.

twiffs is a browser extension that a native-like experience for showing diff highlighting for edited tweets.

twiffs demo gif

twiffs uses a dynamic programming solution to the LCS problem to find the common subsequence between two selected tweets, and highlights them accordingly.

By leveraging native twitter elements, twiffs has a near-native feeling to it.

Installation

Chromium

Install the Chrome extension from the Chrome Web Store.

Alternatively, download the latest Chrome release from the releases page

Firefox

Install the firefox extension from Firefox Browser Add-ons page.

Alternatively, download the latest Firefox release from the releases page

Usage

  1. Navigate to the edit history for any tweet that has been edited.

  2. Click the diff icon on any older tweet.

    A custom diff icon highlighted on a tweet card.

  3. Choose a newer tweet to compare the selected tweet against.

    A modal showing a number of tweets against which the selected tweet can be compared.

  4. See the diff highlighted between the two selected tweets!

    A modal showing a highlighted difference between two tweets.

About

edited tweet history diff highlighting ➕➖

Resources

License

Stars

Watchers

Forks

Packages

No packages published