Metadata-Version: 2.4
Name: x402-cleanweb-agent
Version: 2.2.1
Summary: Deterministic Web3 x402 Micropayment MCP & AI Agent Tool Suite with Gemini 3.6 Flash Video Intelligence on Polygon, Base, and Arbitrum
Author-email: x402 AI Agent Team <developer@x402.agent>
License-Expression: MIT
Project-URL: Homepage, https://x402-cleanweb-agent-212942243360.asia-northeast3.run.app
Project-URL: Documentation, https://x402-cleanweb-agent-212942243360.asia-northeast3.run.app/docs
Project-URL: Repository, https://github.com/nohosa001-pixel/x402-cleanweb-agent
Project-URL: Issues, https://github.com/nohosa001-pixel/x402-cleanweb-agent/issues
Keywords: ai-agent,x402,mcp,polygon,base,arbitrum,web3,micropayments,web-scraper,gemini-ai,youtube-transcript,pdf-parser
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.110.0
Requires-Dist: uvicorn>=0.28.0
Requires-Dist: pydantic>=2.6.0
Requires-Dist: mcp>=1.0.0
Requires-Dist: web3>=6.0.0
Requires-Dist: eth-account>=0.11.0
Requires-Dist: beautifulsoup4>=4.12.0
Requires-Dist: requests>=2.31.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: youtube-transcript-api>=0.6.2
Requires-Dist: yt-dlp>=2024.0.0
Requires-Dist: pypdf>=4.0.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
Requires-Dist: httpx>=0.27.0; extra == "dev"
Dynamic: license-file

# 🌐 CleanWeb Studio — Clean Web & Document Extraction Web App

> **Turn any cluttered webpage, YouTube video, or PDF paper into clean, readable text with a single click.**  
> *No expensive monthly subscriptions. Try it instantly on the interactive Web UI.*

[![Live Web App](https://img.shields.io/badge/Live%20Web%20App-Try%20Free%20UI-00f2fe?style=for-the-badge&logo=googlechrome&logoColor=black)](https://x402-cleanweb-agent-7qxtp3324q-du.a.run.app)
[![PyPI Package](https://img.shields.io/pypi/v/x402-cleanweb-agent.svg?color=blue&label=PyPI%20Package)](https://pypi.org/project/x402-cleanweb-agent/)
[![Glama.ai](https://img.shields.io/badge/Glama.ai-Listed-00ffcc?style=for-the-badge&logo=anthropic&logoColor=black)](https://glama.ai/mcp/servers/nohosa001-pixel/x402-cleanweb-agent)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

---

## ✨ Experience the Live Interactive Web UI

No setup required. Access our modern Web App directly from your browser:

### 🔗 **[👉 Launch Live Web App (Free Instant Test)](https://x402-cleanweb-agent-7qxtp3324q-du.a.run.app)**

```
┌────────────────────────────────────────────────────────────────────────┐
│  ✨ CleanWeb Studio                                  [⚡ Free Test]     │
├────────────────────────────────────────────────────────────────────────┤
│  [ 🌐 Clean Web ]  [ 🎬 YouTube ]  [ 📑 PDF & Papers ]  [ 📝 Text ]    │
├────────────────────────────────────────────────────────────────────────┤
│  Target URL: https://example.com/long-article                          │
│                                                                        │
│  [  ⚡ Extract Clean Content  ]   [ 📋 Copy to AI (ChatGPT / Claude) ]  │
│                                                                        │
│  ✓ 100% Ads & Noise Removed   ✓ Ready-to-Read Markdown   ✓ Instant    │
└────────────────────────────────────────────────────────────────────────┘
```

---

## 🎯 What You Get (User Services)

Tired of messy ads, popups, and expensive $49/month SaaS subscriptions just to read or summarize articles?  
**CleanWeb Studio** solves your daily reading and research hassles:

1. 🌐 **Clutter-Free Web Reader**: Strips banners, ads, and sidebars from any website. Returns 100% pure, readable text ready for note-taking.
2. 🎬 **YouTube Script & Timestamp Extractor**: Paste any YouTube link to get the entire spoken transcript organized with clean timestamps in seconds.
3. 📑 **PDF & Paper Formatter**: Converts dense PDF documents and research papers into clean, structured text that is easy to read.
4. 📝 **AI-Ready Text Extractor**: Prepares clean text formatted perfectly to copy-paste directly into ChatGPT, Claude, or Notion.
5. 💎 **Pay-As-You-Go (No Monthly Lock-in)**: No forced monthly subscriptions. Pay only a few cents ($0.005 ~ $0.05) per document when you actually use it.
6. ⚡ **Zero-Login Free Preview**: Click the `[⚡ Free Instant Test]` button in the Web UI to test any feature immediately without creating an account.

---

## 🖥️ Interactive Web UI Features

| Feature Tab | What it Does | Best Used For |
| :--- | :--- | :--- |
| **🌐 Clean Web** | Removes all ads, banners & clutter from articles | Researching news, blogs, and documentation |
| **🎬 YouTube Transcript** | Extracts full video scripts with timestamp links | Quick video summaries, lecture notes, podcasts |
| **📑 PDF & Papers** | Formats complex PDF research into clean text | Reading arXiv papers, financial reports, whitepapers |
| **📝 Pure Text** | Extracts lightweight text with zero markup | Copy-pasting into AI chat tools (ChatGPT, Claude) |
| **📦 Batch Process** | Cleans multiple links at once | Bulk research and multi-article reading |

---

## 💻 Developer & AI Assistant Setup (Optional)

You can also run CleanWeb directly inside your favorite AI workspace:

### 1. Claude Desktop & Cursor (1-Second Setup)
Add this to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "cleanweb-studio": {
      "command": "uvx",
      "args": ["x402-cleanweb-agent"]
    }
  }
}
```

### 2. Python Package
```bash
pip install x402-cleanweb-agent
```

```python
from agent_tools import X402AgentToolkit

toolkit = X402AgentToolkit()

# Clean any webpage in 1 line
clean_article = toolkit.clean_web("https://example.com/article")
print(clean_article)
```

---

## 🌐 Quick Links

- 🖥️ **Live Web UI App**: [https://x402-cleanweb-agent-7qxtp3324q-du.a.run.app](https://x402-cleanweb-agent-7qxtp3324q-du.a.run.app)
- 📦 **PyPI Package**: [https://pypi.org/project/x402-cleanweb-agent/](https://pypi.org/project/x402-cleanweb-agent/)
- 🦙 **Glama.ai Listing**: [https://glama.ai/mcp/servers/nohosa001-pixel/x402-cleanweb-agent](https://glama.ai/mcp/servers/nohosa001-pixel/x402-cleanweb-agent)
- 📂 **GitHub Repository**: [https://github.com/nohosa001-pixel/x402-cleanweb-agent](https://github.com/nohosa001-pixel/x402-cleanweb-agent)

---

## 📄 License

Distributed under the **MIT License**.
