# Hookd - Chrome Extension

Save, organize and AI-sort your X (Twitter) content.

## Features

- 📥 **DM Organizer** - Extract and categorize DMs
- 🐦 **Feed Saver** - Checkmark posts to save in bulk
- 🏷️ **Custom Categories** - AI, News, Ideas, Memes, Other
- 🤖 **AI Processing Ready** - Connect to OpenClaw for AI analysis
- 👥 **Contact Lists** - Quick share to friends/family lists
- 💾 **Export** - Save your data anytime

## Installation

1. Open Chrome and go to `chrome://extensions/`
2. Enable "Developer mode" (toggle in top right)
3. Click "Load unpacked"
4. Select the `hookd` folder
5. Click the extension icon and pin it to toolbar

## OpenClaw Integration

To enable AI processing:

1. Install OpenClaw Browser Relay extension
2. Configure connection in extension settings (⚙️ tab)
3. AI will automatically:
   - Read saved content
   - Suggest categories
   - Score by relevance
   - Delete spam

## Categories

- 💡 **AI** - AI tools, news, developments
- 📰 **News** - Breaking news, trends
- 💡 **Ideas** - Inspiration, ideas, concepts
- 😂 **Memes** - Fun content
- 📁 **Other** - Uncategorized

## Usage

### Saving DMs
1. Open X DMs
2. Hover over a message
3. Click 📌 to save

### Saving Feed Posts
1. Open X home/timeline
2. Hover over any tweet
3. Click the ○ checkbox on left
4. Select multiple tweets
5. Click "Save to Hookd" in floating bar

### Viewing Saved
1. Click Hookd extension icon
2. Go to 💾 Saved tab

### AI Processing
1. Go to 🤖 AI tab
2. Click "Process All with AI"
3. AI will analyze and categorize

## Files

- `manifest.json` - Extension config
- `popup.html/js` - Popup UI
- `background.js` - Service worker
- `content.js/css` - X.com page interaction

## TODO

- [ ] Connect to OpenClaw Browser Relay
- [ ] Add X API integration (alternative to scraping)
- [ ] FB/IG support
- [ ] Cloud sync
- [ ] Mobile companion
