Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

TwitterDataDiff

2 つの「Twitterデータ」を比較し、ツイ消しされたツイートを一覧出力

Build

# Linux / x86-64
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s" -trimpath

# Windows / x86-64
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s" -trimpath

Usage

TwitterDataDiff <古いアーカイブ.zip> <新しいアーカイブ.zip>

Options

option description
-h, --help 使い方を表示して終了

Example output

$ TwitterDataDiff twitter-2026-05-01.zip twitter-2026-06-01.zip
1973960117696786850 | 2025-10-03 12:55:41 | 削除したツイート
1974869601419927916 | 2025-10-06 01:09:38 | RT @example1: リツイートを取り消したツイート
1997338659251487198 | 2025-12-07 01:13:39 | RT @example2: 元ツイが削除されたツイート
2008861649017712709 | 2026-01-07 20:21:54 | RT @example3: 元ツイ垢が削除、凍結、鍵になったツイート

old: 542,324 / new: 543,723 / deleted: 120

Note

  • 日時は実行マシンのタイムゾーン(環境変数 TZ または OS 設定)に変換されて表示される
  • 最後のサマリは標準エラーに出力される

About

二つの「Twitterデータ」のツイート差分を抽出

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages