MemoizeX

Enhanced Twitter/X data management with browsing history tracking and webhook notifications.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
harrylyx
1日のインストール数
0
累計インストール数
8
評価
0 0 0
バージョン
1.0.3
作成日
2026/02/07
更新日
2026/02/08
大きさ
339KB
ライセンス
MIT
対象サイト

MemoizeX

Enhanced Twitter/X data management with browsing history tracking and webhook notifications.

This project is based on twitter-web-exporter by @prinsss. Thanks for the excellent work!

Features

  • Browsing History - Automatically records tweets you view with source tracking (home, profile, search, etc.)
  • Webhook Notifications - Triggers webhooks on like, bookmark, and view events
  • Article Support - Captures Twitter Articles with title, preview, cover image, and URL
  • Data Export - Export tweets, bookmarks, likes, followers, and more to JSON/CSV/HTML
  • Media Download - Bulk download images and videos at original quality
  • Local Storage - All data stored in browser IndexedDB, never leaves your computer

Installation

  1. Install Tampermonkey or Violentmonkey
  2. Install the userscript from releases or build locally

Build from Source

npm install
npm run build

Output: dist/memoizex.user.js

Usage

Once installed, a floating panel appears on Twitter/X pages:

  • Browsing History - View and export your browsing history with deduplication (5-minute window)
  • Webhook Manager - Configure webhooks with custom headers, event types, and retry settings
  • Data Modules - Capture and export tweets, bookmarks, likes, followers, etc.

Webhook Configuration

  1. Open the Webhook Manager panel
  2. Click "Add" to create a new webhook
  3. Configure:
    • URL: Your webhook endpoint
    • Events: like, bookmark, view
    • Headers: Custom HTTP headers (JSON format)
    • Retry: Enable retry with exponential backoff
  4. Use "Test" to verify connectivity

Webhook Payload Format

{
  "event": "like",
  "timestamp": 1699999999999,
  "data": {
    "id": "1234567890",
    "text": "Tweet content...",
    "author": {
      "id": "9876543210",
      "screen_name": "username",
      "name": "Display Name"
    },
    "url": "https://x.com/username/status/1234567890",
    "created_at": "Mon Nov 06 12:00:00 +0000 2023",
    "stats": {
      "likes": 100,
      "retweets": 50,
      "replies": 20,
      "quotes": 5,
      "bookmarks": 10
    },
    "media": [
      { "type": "photo", "url": "https://..." }
    ],
    "article": {
      "id": "1234567890",
      "title": "Article Title",
      "preview_text": "Article preview...",
      "url": "https://x.com/i/article/1234567890",
      "cover_image_url": "https://..."
    },
    "quoted_tweet": {
      "id": "0987654321",
      "text": "Quoted content...",
      "author": { "id": "...", "screen_name": "...", "name": "..." },
      "url": "https://x.com/...",
      "article": { "..." }
    }
  }
}

Development

npm run dev      # Start dev server with hot reload
npm run build    # Production build
npm run lint     # ESLint check
npm run preview  # Preview production build

Tech Stack

  • UI: Preact + @preact/signals
  • Styling: TailwindCSS + DaisyUI
  • Database: Dexie (IndexedDB)
  • i18n: i18next
  • Build: Vite + vite-plugin-monkey

How It Works

MemoizeX intercepts Twitter's GraphQL API responses by hooking XMLHttpRequest at page load. Captured data is stored locally in IndexedDB and can trigger configured webhooks.

Key constraints:

  • Runs at document-start to hook XHR before Twitter's code
  • Uses GM_xmlhttpRequest for cross-origin webhook requests
  • Only captures data that appears on screen (scroll to load more)

Privacy

  • All data processing happens locally in your browser
  • No data is sent to external servers (except your configured webhooks)
  • No Twitter API credentials required

Credits

License

MIT