Downloads PDFs from LibGen (primary) or Anna's Archive API (fallback), converts to markdown via marker_single, and prints to stdout. Includes XDG-compliant caching, nix flake with marker-pdf packaging, and a Claude Code skill for paper-reader integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
290 B
TOML
12 lines
290 B
TOML
[package]
|
|
name = "paper"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
reqwest = { version = "0.12", features = ["blocking", "rustls-tls", "json"], default-features = false }
|
|
scraper = "0.22"
|
|
serde_json = "1"
|
|
tempfile = "3"
|