To get started...
git clone https://github.com/eiiot/imessage-leaderboard.git
cd imessage-leaderboard
Install bun
if you don't have it:
curl -fsSL https://bun.sh/install | bash
Install dependencies:
bun install
To create leaderboard.json
:
- Grant "Full Disk Access" to Terminal.app in System Preferences > Security & Privacy > Privacy > Full Disk Access
- Open Messages.app
- Run:
bun gather
You may need to grant access to contacts when the script runs.
To analyze leaderboard.json
:
bun analyze | tee leaderboard.md
You can view the leaderboard in Markdown format at leaderboard.md
.