Giter Club home page Giter Club logo

oh-my-old-tweet's Introduction

Oh My Old Tweet

A graceful, powerful and easy-to-use tool to see old (including deleted) tweets.

Github Pages Github Pages

Use it in browser

  1. Visit our site
  2. Fill the input box with username you want to query
  3. Click Start
  4. Enjoy

Deploy on your own server

Prerequisites:

  • Docker and docker-compose

Steps:

  1. Download the deploy.zip and unzip it
  2. cd deploy && docker compose up -d
  3. Visit http://your-server-ip:3142

Notice

DO NOT expose the port 3142 to the public network. Currently we don't have any security mechanism.

Use cli

We provide a cli for experimental use.

Prerequisites:

  1. Clone this repo
  2. Run yarn to install dependencies
  3. Run yarn build to build the project

Use cli from twitter-data-parser

  1. cd twitter-data-parser
  2. yarn cli <archived-url>, e.g.
    yarn cli https://web.archive.org/web/20220306095655/https://twitter.com/_iori_n/status/523389174242488320
    
  3. Extracted data will be printed to the console

Use cli to find old usernames

For a given username, we try to find all old usernames of this user. This is useful when a user has changed his/her username.

  1. cd omot-cli
  2. yarn build
  3. yarn start -s <username>, e.g.
    yarn start -s _iori_n
    
  4. When program exits, the result will be printed to the console

NOTE: This is an experimental feature and may not work properly. This calculation may takes non-trivial time. You can run <ctrl>+c to stop the process, and the result will be printed to the console.

How it works

Internet Archive has crawled tons of twitter status (tweets) since 2006. We'll find all tweets belonging to your target user in the Internet Archive.

Notices

  • Internet Archive may not have crawled all tweets. Especially, from 2023.06, Twitter has changed its policy and Internet Archive may not be able to actively crawl tweets.
  • For most cases, Internet Archive cannot crawl video in tweets. We don't implement video feature for now. However, in some cases, Internet Archive may have crawled video in tweets. We plan to implement this feature in the future.
  • Internet Archive may not be able to save NSFW tweets.
  • Currently, we don't properly handle retweets and replies (You can contribute!).

To-do List

  • Date
  • Engagement info
  • Profile image and content
  • User avatar
  • Retweets
  • Replies
  • Paging (Test with Donald Trump's data)
  • Self-hosing backend
  • Video support
  • Crawling directly from Twitter
  • Load tweets from gallery-dl's output

oh-my-old-tweet's People

Contributors

ayanamists avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tchxi

oh-my-old-tweet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.