originaleric/digcrawl
Tentang
Built by Dig: A local-first content crawler for AI agents. Retrieve web pages, posts, images, and videos from public and user-authorized signed-in sources via Agent Skills, MCP, and CLI.
Data dan analisisYang dapat Anda lakukan
- Content retrieval - Read pages, articles, posts, and source images
- Video understanding - Retrieve available captions; optionally transcribe speech and recognize on-screen text
- Ongoing collection - Process URL batches, monitor updates, and notify
- Agent reading - Supply source content for summaries, comparisons, and research
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +39
- dalam 15 hari
- +94
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliDigCrawl
Multi-platform content retrieval for AI agents.
Retrieve pages, text, images, and video from public and user-authorized signed-in sources.
中文 · Quick start · Sources · Collect & watch · Docs · Releases
DigCrawl Skill: Run It in Your Agent
Paste into your agent chat (Codex, Grok Build, Claude Code, or similar):
Install the DigCrawl Skill for me: https://github.com/originaleric/digcrawl
Follow the instructions to restart your agent or open a new chat, then send a link:
Read and summarize this link: <URL>
Quick Start
With Node.js 20.19+:
npx digcrawl-skill@latest install
Or install with the shell script on macOS / Linux:
Install in your terminal (macOS / Linux, no Go required):
curl -fsSL https://raw.githubusercontent.com/originaleric/digcrawl/main/scripts/install.sh | sh
The installer verifies downloads and installs the program, complete Skill, and default profile.
Install location, other hosts, and Windows
- Configures Codex automatically and installs the Claude Code Skill when detected. See MCP setup for other hosts.
- Installs to
~/.local/bin; add it toPATHif the command is not found. - For Windows, download a Release. See installation for version pinning and source builds.
What You Can Do
| Use case | Capability |
|---|---|
| Content retrieval | Read pages, articles, posts, and source images |
| Video understanding | Retrieve available captions; optionally transcribe speech and recognize on-screen text |
| Ongoing collection | Process URL batches, monitor updates, and notify |
| Agent reading | Supply source content for summaries, comparisons, and research |
Supported Sources
- Posts and communities: WeChat Official Accounts, Xiaohongshu, Weibo, Zhihu, X, Reddit, Threads, Instagram.
- Video and content platforms: WeChat Channels, Douyin, Toutiao, Bilibili, Kuaishou, YouTube.
- Web and feeds: Web pages, RSS, Atom, sitemaps, platform lists, and profiles.
WeChat Channels short links support reading, optional local transcription, and video saving through a dedicated Tencent Yuanbao session. Desktop chat-card capture uses the optional macOS bridge. See usage and the update. Use a build containing this update; source merges do not upgrade existing installations.
See source details for platform capabilities and login requirements.
Collect, Export, and Watch
Save retrieved content as Markdown, HTML, JSON, and optional media files, or monitor sources continuously with Watchlist.
Common CLI commands: pages, batches, video, and watchlists
# Single pages and batches
digcrawl collect "https://mp.weixin.qq.com/s/..." --format md,html,json
digcrawl collect --file urls.txt --out ./collect-output
# WeChat Channels: sign in and collect with the same profile
digcrawl browser login --platform wechat_channels --config config/config.yaml
digcrawl collect "https://weixin.qq.com/sph/..." --config config/config.yaml --format md,json
# Analyze local video using the configured processors
digcrawl video ./meeting.mp4
# Run once or monitor continuously
digcrawl watchlist run --once --config config/config.yaml
digcrawl watchlist serve --config config/config.yaml
Transcription and OCR require the relevant dependencies; see video analysis and Collect.
Use with AI Agents
WeChat Channels · Transcription and Summary (New)
Read this WeChat Channels video, transcribe the speech, and summarize the key points.
https://weixin.qq.com/sph/AftthwWPO7
Retrieval flow: Tencent Yuanbao resolves the Channels share link and obtains the video → DigCrawl downloads and transcribes it locally → the Agent summarizes the returned content and transcript. On first use or when the session expires, follow the prompt to authorize and save a session in the dedicated Yuanbao window.
How to copy a WeChat Channels video link
Open the video card in WeChat, choose “复制链接” (Copy link), and paste the short link into your Agent chat. On first use or when the Yuanbao session expires, complete WeChat authorization in the dedicated window and confirm saving the local session. Video retrieval, transcription, and the Agent summary then follow. Other suggested recipients have been removed for privacy.
Source · Local acceptance retrieved a 451-character transcript; proper names have not been manually checked. Prepare ASR dependencies before first use; see sign-in and transcription.
View a transcript excerpt and example summary
Transcript excerpt:
This is, this is my first day of work. I don't have a computer, so the IT department is going to give me a new PC.
Example host Agent summary: The speaker describes a first day at work without a computer, thanks supporters, apologizes for past mistakes, and says they will work on coming back.
Article · WeChat
Read this agent article and extract its text and sections. https://mp.weixin.qq.com/s/mbU0bE6BV5YfAsTmoY4H3A
Source · Retrieved the article text, sections, and 7 image references.
View returned field excerpts
{
"status": "success",
"title": "别再只卷Prompt 了,真正拉开Agent差距的是Context Engineering",
"author": "腾讯技术工程",
"media_references": {
"image": 7
},
"excerpt": "Prompt Engineering → ReAct → Context Engineering\nContext 的七类构成要素\n长任务的三大核心技术"
}
Image Note · Xiaohongshu
Read this agent image note and extract its text and images. <paste the full Xiaohongshu share link>
Source · Original screenshot · Used an authorized local session to retrieve the note text and 2 image references. Use the full share link.
View returned field excerpts
{
"status": "success",
"title": "2026 Agent新物种地图|20款近期高热 Agent",
"author": "略懂AI的Asher",
"media_references": {
"image": 2
},
"excerpt": "能力范式转向;组织形态重组;负责周期跨越",
"image_observation": [
"Personal",
"Coding",
"Workflow",
"Research",
"Creative"
]
}
Video
Bilibili · Agent Fundamentals
Read this agent tutorial and extract its title, description, and parts. https://www.bilibili.com/video/BV1z3ZFYUE6K/
Source · Original screenshot · Retrieved video metadata and media references; transcription was not requested.
View returned field excerpts
{
"status": "success",
"title": "李宏毅:一堂课搞懂AI Agent原理【生成式AI的机器学习(2025)】大模型LLM",
"author": "AI算法工程师笔记-",
"media_references": {
"image": 1,
"video": 2
},
"excerpt": "分P1: 第二讲:一堂课搞懂AI Agent原理\n分P2: 大模型路线图-\n分P4: ML2025Agent"
}
X · Operator Demo
Read this Operator video post and extract its text and video information. https://x.com/OpenAI/status/1882509286439637448
Source · Original screenshot · Retrieved the post text, video reference, and cover reference; no transcription was requested.
View returned field excerpts
{
"status": "success",
"title": "A research preview of Operator, an agent that can use its own browser to perform...",
"author": "OpenAI",
"media_references": {
"video": 1,
"image": 1
},
"excerpt": "A research preview of Operator, an agent that can use its own browser to perform tasks for you."
}
YouTube · Agent Building Advice
Read this agent video and extract its description and chapters. https://www.youtube.com/watch?v=LP5OCa20Zpg
Source · Original video screenshot · Retrieved the description, chapters, and cover after sign-in; caption text was not retrieved.
View fields before and after sign-in
{
"before_sign_in": {
"status": "error",
"error": {
"code": "LOGIN_REQUIRED",
"message": "Sign in to confirm you’re not a bot"
}
},
"after_sign_in": {
"status": "success",
"title": "Tips for building AI agents",
"author": "Anthropic",
"media_references": {
"image": 1
},
"captions_available": true,
"warnings": [
"YouTube captions were advertised but could not be read"
],
"excerpt": "00:26 Defining AI agents and workflows\n10:47 Coding agents: Potential and challenges\n16:26 Advice for developers exploring agents"
}
}
YouTube Sign-In
On LOGIN_REQUIRED, ask your agent to open the dedicated Chrome for Testing sign-in window:
Open the DigCrawl sign-in window for YouTube.
Sign in to Google yourself, return to YouTube, then tell the agent “I’ve finished signing in.” The agent saves the local session and reads the original video again.
YouTube manual sign-in and session details
digcrawl browser login --config "<profile path used by MCP>" --platform youtube
Sign in through the dedicated Chrome window and return to YouTube, then press Enter in the original terminal. DigCrawl closes the window and synchronizes the session. On Windows, close all dedicated Chrome windows before pressing Enter.
Use the same profile as MCP; your everyday browser session is not copied automatically. Credentials and cookies stay on your machine. Preserve any Google sign-in rejection; see sign-in guidance.
When Sign-In Is Required · Xiaohongshu Example
On LOGIN_REQUIRED, ask your agent to open DigCrawl’s dedicated sign-in window:
Open the DigCrawl sign-in window for Xiaohongshu.
Sign in yourself, then tell the agent “I’ve finished signing in.” The agent saves the local session and reads the original link again.
Manual sign-in and session details
digcrawl browser login --config "<profile path used by MCP>" --platform xiaohongshu
When running the command yourself, press Enter in that terminal after signing in. Use the same profile as MCP; your everyday browser session is not copied automatically. Credentials and cookies stay on your machine.
See sign-in guidance for other platforms and troubleshooting.
Manual Skill and MCP configuration
Install the complete Skill directory, then configure the local server for your host:
Use absolute program and profile paths, and copy the whole Skill rather than only SKILL.md. See setup for profile initialization.
Local-First Security
- Runs on your machine; HTTP Gateway listens on localhost by default.
- The default Skill needs no API key and does not expose cookies to the agent.
- Signed-in sources use user-authorized local sessions; users handle login and captchas.
- Access failures and rate limits are reported explicitly; error pages are not treated as content.
Browser recovery and diagnostics
Background rendering uses a dedicated headless runtime; sign-in uses a separately identified headed browser. Dependency failures never fall back to daily Chrome. Source installations must run digcrawl browser install; migrate legacy configurations and embedded copies using the upgrade instructions.
Bridge runtime state now uses the private user configuration directory. Use digcrawl bridge status --config <profile> for read-only diagnostics and digcrawl bridge watch --config <profile> --install for macOS background monitoring. See the Bridge lifecycle guide for migration and rollback.
Follow the returned error guidance or see browser troubleshooting.
Check the local environment
digcrawl doctor --config "$HOME/.config/digcrawl/digcrawl-skill.yaml"
See the MCP documentation for upgrade reconnection and Bridge lifecycle details.
Architecture and Interfaces
| Interface | Use |
|---|---|
| CLI / Watchlist | Local retrieval, batches, and scheduled monitoring |
| Skill / MCP | Content reading tools for AI agents |
| HTTP / stdio / Go SDK | Integration with applications and data workflows |
See Runtime, Transport, and Protocol for internal modules and tool contracts.
Documentation
For users
- Installation and usage · Product guide · Browser troubleshooting
- Agent Skill · MCP setup
- WeChat Channels guide (Chinese) · Updates
For developers
CI runs only through manual
workflow_dispatch; the Test workflow covers Linux, macOS, and Windows. Release publishing remains triggered by version tags.
Contributing
Issues and PRs are welcome. Include your use case, reproduction steps, or tests. Never commit credentials, cookies, browser data, or private content.
Open Source Notes
Respect source terms, permissions, and applicable law. Do not bypass login, captchas, or access restrictions.
License
Jelajahi proyek terkait
Memuat…