← 返回
未分类 中文

Hfpclawer Paper Search

Discover, download, and organize academic papers from arXiv, HuggingFace Papers, and OpenReview. Multi-source search → dedup → PDF download → Markdown conver...
发现、下载并整理来自 arXiv、HuggingFacePapers 和 OpenReview 的学术论文。多源搜索 → 去重 → PDF 下载 → Markdown 转换
diamond2nv diamond2nv 来源
未分类 clawhub v0.5.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 257
下载
💾 0
安装
1
版本
#latest

概述

hfpclawer Paper Search & Download

A multi-source academic paper pipe: search across arXiv / HuggingFace Papers /

OpenReview / PapersWithCode, deduplicate by title, download PDFs, convert to

Markdown, and optionally sync to a wiki.

> Who this is for: Researchers who want a daily "new papers on my topic"

> feed without manually checking multiple websites.

Overview

Typical workflow in one command:

hfpclawer search           # Discover new papers across sources
   └── ranked by relevance to your keywords
hfpclawer download         # Download PDFs for matched papers  
   └── 8 concurrent streams
hfpclawer convert --to-wiki # PDF → readable Markdown + wiki sync

Or run the full pipeline at once:

hfpclawer full --max-pages 3 --to-wiki

Prerequisites

pip install hfpclawer>=0.5.0
hfpclawer init                      # Creates config.yaml in current directory

Edit config.yaml with your search interests (see Configuration section below).

Quick Start

1. First-time Setup

# Create default config
hfpclawer init

# Edit the config to match your research interests
vim config.yaml
# → Change: search.queries, keywords.include_high, keywords.exclude

2. One-Shot Full Pipeline (daily use)

# Discover → Download → Convert → Wiki sync in one command
hfpclawer full

# Limit pages for a quick check
hfpclawer full --max-pages 3 --to-wiki

3. Step-by-Step (for debugging)

# Step 1: Search across all sources
hfpclawer search --max-pages 5

# Step 2: Download PDFs for matched papers
hfpclawer download

# Step 3: Convert PDFs to Markdown
hfpclawer convert

# Step 4: Sync to wiki directory
hfpclawer convert --to-wiki

4. Monitor New Papers Regularly

# Check what papers have been downloaded
hfpclawer list

# Show paper store statistics
hfpclawer store stats

# Start the real-time download monitor
hfpclawer monitor start

Configuration

The config file config.yaml controls what papers are searched and downloaded:

search:
  max_per_dim: 50           # Papers per search query per source
  queries:
    - query: "neural operator"
      category: neural-operator
    - query: "physics-informed"
      category: physics-informed
    - query: "PDE solver deep learning"
      category: pde-solver

keywords:
  include_high:              # Papers must match these (OR)
    - "neural operator"
    - "pde"
    - "deep learning"
  include_low:               # Optional bonus keywords
    - "fourier"
    - "self-attention"
  exclude:                   # Exclude these topics
    - "quantum"
    - "llm"

classification:
  threshold_pass: 30         # Relevance score threshold (0-100)
  title_similarity_min: 0.40 # Dedup threshold

paths:
  data_dir: "data"           # SQLite DB location
  pdf_dir: "pdfs"            # Downloaded PDFs
  md_dir: "mds"              # Converted Markdown files

Available Commands

CommandPurposeCommon Flags
-------------------------------
hfpclawer searchDiscover new papers--max-pages, --dry-run
hfpclawer downloadDownload PDFs(runs from search results)
hfpclawer convertConvert PDF → MD--to-wiki syncs to raw/papers/
hfpclawer fullAll-in-one pipeline--max-pages, --to-wiki
hfpclawer listList downloaded papers
hfpclawer store statsPaper store statistics
hfpclawer store exportExport store as JSON/CSV--format json
hfpclawer store verifyCross-verify paper metadata--arxiv-id
hfpclawer configShow current config
hfpclawer mcpStart MCP server(for LLM integration)
hfpclawer monitorDownload daemon controlstart, stop, status
hfpclawer dedupShow dedup statistics

Daily Routine Examples

Morning — Check What's New

# Quick scan (3 pages per query, ~50 papers)
hfpclawer search --max-pages 3

# View results
hfpclawer store stats

Afternoon — Download & Read

# Download all new papers
hfpclawer download

# Convert to readable markdown
hfpclawer convert

# Read the best one
cat mds/2010.08895.md | head -80

Weekly — Full Pipeline

# Full sweep with wiki sync
hfpclawer full --max-pages 10 --to-wiki

# Validate references in newly added papers
hfpclawer audit verify "Key cited paper" --source openalex

Data Storage

hfpclawer uses three tiers:

StorageLocationContentPersistence
-----------------------------------------
SQLitedata/papers.dbMetadata, dedup, cross-refPersistent
PDFspdfs/Raw paper PDFsDownload once, keep
Markdownmds/Converted textRegeneratable from PDFs

The paper store tracks:

  • arXiv ID, title, authors, abstract
  • Source of discovery (HF / arXiv / OpenReview)
  • Download status, conversion status
  • Wikified path (if synced)
  • Cross-verification with Crossref (DOI validation)

Common Pitfalls

  1. pip install needs to be in the right venv. If hfpclawer command is not

found, check the active Python environment.

  1. HuggingFace CLI rate limits. Too many queries per minute will trigger 429s.

Reduce max_per_dim to 10 if this happens.

  1. Scrapy spiders need scrapy extra installed. If you see `ModuleNotFoundError:

scrapy, run pip install hfpclawer[scrapy]`.

  1. PDF conversion needs pymupdf4llm. Run pip install hfpclawer[pdf] if

hfpclawer convert complains about missing pymupdf4llm.

  1. Wiki sync defaults to raw/papers/. If you do not have a wiki directory,

skip --to-wiki and read from mds/ directly.

  1. First run creates a config.yaml. Edit it before running hfpclawer full,

otherwise the default queries may not match your research area.

Verification Checklist

  • [ ] hfpclawer init creates a valid config.yaml
  • [ ] hfpclawer search --dry-run validates config without network calls
  • [ ] hfpclawer search --max-pages 3 returns real papers
  • [ ] hfpclawer download downloads PDFs correctly
  • [ ] hfpclawer convert produces readable Markdown
  • [ ] hfpclawer store stats shows non-zero counts
  • [ ] hfpclawer store verify --arxiv-id 2010.08895 cross-checks via Crossref

版本历史

共 1 个版本

  • v0.5.0 当前
    2026-05-21 15:45

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

Hfpclawer Citation Audit

diamond2nv
使用三层回退管道验证学术论文引用:本地 FTS5 数据库 → Semantic Scholar API → OpenAlex API,支持单个引用检查……
★ 0 📥 341

expflow Pipeline HPO

diamond2nv
PDEBench竞赛工作流编排 - 使用expflow实现三种管道模式(完整/快速/跳过)、分布式超参数优化、剪枝器集成以及ClearML超参数管理
★ 0 📥 299

Clearml Metrics Logging Pattern

diamond2nv
Standardized ClearML metrics logging patterns for PDEBench experiment scripts — train loss, validation metrics, competit
★ 0 📥 289