Skip to content

Create a local iMessage leaderboard with Bun, sqlite, and applescript.

Notifications You must be signed in to change notification settings

eiiot/imessage-leaderboard

Repository files navigation

iMessage Leaderboard with Bun.sh

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:

  1. Grant "Full Disk Access" to Terminal.app in System Preferences > Security & Privacy > Privacy > Full Disk Access
  2. Open Messages.app
  3. 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.

About

Create a local iMessage leaderboard with Bun, sqlite, and applescript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published