Tap

AI forges browser automation as deterministic .tap.js programs. 140+ community skills, 3 runtimes. Programs run forever at $0.

Tap

Tap

Your scraper is broken right now. You just don't know it yet.

Homepage  |  Blog  |  140+ Skills  |  中文

CI Release Stars License Chrome Web Store


Tap compiles AI understanding into deterministic programs. Then monitors them. Health contracts catch silent failures. Fingerprint diffs tell you exactly what changed. tap doctor detects breakage before your data goes stale — not three days later.

Forge:    AI inspects the site → compiles a .tap.js program       (one-time cost)
Run:      The program executes instantly, same result every time   ($0, zero AI)
Monitor:  tap doctor checks health contracts + fingerprint diffs  (catches breakage)
Heal:     AI reads diagnostics and patches the program            (only when needed)

MCP is the authoring layer. tap.run is the execution layer. AI participates during forge (one-time). Execution is pure code — zero tokens, deterministic output. 140+ skills across 68+ sites. One binary, zero dependencies.

Get Started

1. Install

Zero-install via npx (any machine with Node):

npx -y @taprun/cli --version

The first run downloads the matching platform binary (~30MB) and caches it. Subsequent calls are instant.

Permanent install via curl (macOS / Linux):

curl -fsSL https://taprun.dev/install.sh | sh
PlatformDownload
macOS (Apple Silicon)tap-macos-arm64
macOS (Intel)tap-macos-x64
Linuxtap-linux-x64
Windowstap-windows-x64.exe

2. Connect to Your AI Agent

Works with Claude Code, Cursor, Windsurf, or any MCP-compatible agent — no extension needed:

{ "mcpServers": { "tap": { "command": "tap", "args": ["mcp"] } } }

Or auto-configure all installed agents:

tap setup

3. Go

tap github trending              # GitHub trending repos
tap hackernews hot               # Hacker News front page
tap weibo hot                    # 微博热搜
tap xiaohongshu search --keyword "AI"  # 小红书搜索

Or just ask your AI agent:

You:   What's trending on GitHub today?
Agent: Here are today's top repos — React compiler hit 734 stars...

You:   Forge a tap for Douban top 250 movies
Agent: Done. Run `tap douban top250` anytime — $0 per run.

Optional: Chrome Extension (for login-required sites)

Most taps work without login. For sites that need your session (Xiaohongshu, Zhihu, etc.), install the Chrome Extension from the Chrome Web Store.

What Can You Do?

Read — Extract data from any website

tap reddit hot                   # Reddit front page
tap bilibili trending            # Bilibili trending
tap arxiv search --keyword "LLM" # arXiv papers

Write — Operate any website

tap xiaohongshu publish --title "My Note" --images photo.jpg
tap zhihu publish --title "My Article" --content "..."

Watch — Monitor changes

tap watch github trending --every 5m

Compose — Chain like Unix pipes

tap github trending | tap filter --field stars --gt 500 | tap table

Forge — Create new automations with AI

tap forge "get Hacker News top stories"           # BYOK Claude / GPT
tap forge https://news.ycombinator.com            # API detected — compiled without AI

Bring your own model — works with Claude, OpenAI, DeepSeek, or any OpenAI-compatible endpoint including local Ollama / LM Studio for fully offline forge:

tap config set ai.baseUrl http://localhost:11434/v1
tap config set ai.key ollama
tap config set ai.model llama3.1
tap forge "scrape arxiv recent papers"            # 0 bytes leave your machine

How It Works

                     ┌─ Chrome      (your real browser sessions)
You → AI → Tap ──────┤─ Playwright  (headless, server, CI/CD)
     compile         └─ macOS       (native desktop apps)
  1. You describe what you want (natural language or URL)
  2. AI compiles it into a .tap.js program — plain JavaScript, version-controlled
  3. Tap runs the program on any of three runtimes — forever, at $0

Every successful compilation makes the next one faster. 140+ community skills mean your agent already knows 68+ websites.

Community Skills

tap-skills — 140+ skills, open source.

CategoryExamples
TrendingGitHub, Hacker News, Reddit, Product Hunt, Bilibili, Zhihu, Weibo, Xiaohongshu
SearcharXiv, Reddit, X, Zhihu, Weibo, Xiaohongshu, Bilibili, Medium
ReadZhihu threads, Bilibili videos, Xiaohongshu notes, WeRead books
WriteX posts, Xiaohongshu notes, Zhihu articles, Dev.to, LinkedIn
MonitorPrice tracking, stock data, competitor analysis
tap doctor    # Health check — catches silent failures before your data goes stale
tap update    # Install / update all skills
tap list      # See everything available

How Tap Compares

TapAI Browser AgentsTraditional Scrapers
AI cost per run$0 (compile once)Tokens every runFree
AccuracyDeterministicVaries per runDeterministic
Silent failure detectionHealth contracts + fingerprint diffNoneNone
Breakage diagnosticstap doctor — exact diff of what changedNoneManual spot checks
Detection riskLow (real browser sessions)HighHigh
Runtimes3 (Chrome + Playwright + macOS)11
Code inspectable.tap.js — git diff, debug, versionBlack box / ephemeralFragile scripts
MCP nativeYes (authoring layer only — execution is zero tokens)NoNo

Security

LayerProtection
SandboxPrograms run with zero permissions — no file, network, or system access
Static AnalysisCI blocks dangerous patterns before they reach users
Local-onlyYour data, sessions, and API keys never leave your machine

See SECURITY.md for details.

Contributing

The easiest way to contribute: forge a new tap. One .tap.js file is all it takes.

See CONTRIBUTING.md for details.

Roadmap

  • 140+ community skills across 68+ sites
  • 3 runtimes — Chrome, Playwright, macOS
  • Unix pipes — tap A | tap B
  • Watch mode — monitor changes over time
  • Doctor — health contracts, fingerprint diffs, automatic diagnostics for broken taps
  • One-command setup — tap setup configures all AI agents
  • Android runtime
  • iOS runtime

License

Chrome Extension & docs: MIT. Community skills: MIT.

Star History

Star History Chart

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension