# Activity Page

> The Activity page shows a real-time log of scraping activity and address detection. Scraping runs independently in the background regardless of which page you're on — this page simply gives you visibility into what's happening.

The Activity page shows a real-time log of scraping activity and address detection. Scraping runs independently in the background regardless of which page you're on — this page simply gives you visibility into what's happening.

## Starting & Stopping

- Scraping is **on by default** — it starts automatically when you're logged in and have scraped channels, regardless of which page you're on
- Use the **Start Scraping** / **Stop Scraping** button to control scraping manually
- Stopping scraping requires confirmation to prevent accidental stops
- The status indicator in the top-right shows the current state:
  - **Green (pulsing)** - Scraping is active
  - **Gray** - Idle (scraping is stopped)

## Live Statistics

Four stat cards are displayed at the top of the page:

| Stat                   | Description                                                                                                       |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **Messages Scanned**   | Total number of messages that passed your scraping filters and were scanned for addresses                         |
| **Addresses Found**    | Number of unique crypto addresses detected                                                                        |
| **Duplicates Skipped** | Number of addresses skipped because they were already seen in the same chat (when duplicate filtering is enabled) |
| **Forwarded to Bot**   | Number of times addresses were successfully forwarded to the Maestro bot                                          |

Stats persist across app restarts.

## Activity Log

Below the statistics, the activity log shows a real-time feed of all scraping events. Each entry is color-coded:

| Color      | Type          | Meaning                                                   |
| ---------- | ------------- | --------------------------------------------------------- |
| **Green**  | Address Found | A new crypto address was detected                         |
| **Yellow** | Duplicate     | An address was skipped because it was already seen        |
| **Blue**   | Forwarded     | An address was successfully sent to the Maestro bot       |
| **Red**    | Error         | Something went wrong (e.g., failed to forward)            |
| **Gray**   | Message       | An informational message (e.g., scraping started/stopped) |

Each log entry shows:

- **Timestamp** - When the event occurred
- **Source** - The channel or group where the message came from (clickable - opens the channel in Telegram)
- **Message** - A description of what happened
- **Address** - The detected address (if applicable, click to copy)

## Activity Log Features

- **Search** - Filter log entries by message content, channel name, or address
- **Copy** - Click the copy icon on any log entry to copy the full entry text
- **Copy Address** - Click on any displayed address to copy it to your clipboard
- **Forward to Maestro** - When enabled in Settings, a "Forward to Maestro" button appears on entries with detected addresses, allowing you to manually resend them
- **Clear Log** - Remove all log entries and reset statistics
- **Infinite Scroll** - Scroll down to load more entries (50 loaded at a time)

## How Scraping Works

When a new message arrives in a scraped channel:

1. The app checks if the chat is in your scraped list
2. It checks if the message type matches your filters (admin, user, bot, or pinned)
3. The message text and any embedded links are scanned for crypto addresses
4. If duplicate detection is enabled, previously seen addresses are skipped
5. New addresses are formatted and forwarded to the Maestro bot with encrypted metadata
6. All events are logged in the activity log

> **NOTE: Note on edits**
>
> Messages that are edited more than 30 seconds after the original post are ignored to prevent spam from old edits.
