txt.org - LLM-friendly arXiv papers
Extracto
Convert arXiv papers into LLM-friendly formats
Contenido
API Usage Guide
arXiv-txt is designed to be API-friendly
Fetch a text summary:
arxiv-txt.org/raw/abs/[id]
Fetch the full paper content:
arxiv-txt.org/raw/pdf/[id]
Python
Checkout this example Jupyter Notebook or use the arxiv-txt API directly
import requests
arxiv_url = "https://arxiv.org/abs/1706.03762"
arxiv_txt_url = arxiv_url.replace("arxiv.org", "arxiv-txt.org/raw/")
summary: str = requests.get(arxiv_txt_url).text
print(summary)
Command Line
curl -o paper.txt https://arxiv-txt.org/raw/abs/1706.03762
curl -L https://arxiv-txt.org/raw/abs/1706.03762 | \
llm -s "Explain this paper like I'm 5"