DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to read a long paper from overview to full text with Textfold

Paste an arXiv or PubMed Central link and read the paper one level at a time.

Short answer: Run python3 -m pip install textfold in a terminal, then run python3 -m textfold serve; then open http://localhost:3017 in your browser; if the first page asks, connect a model: use Claude Code, Codex, or your ChatGPT plan, or click OpenRouter in one click. All steps.

  • Top pick
  • Research
  • Beginner
  • 15 minutes
  • From the README
  • Any agent

Who it is forA researcher or student who has a long paper to understand quickly and needs to decide which parts deserve a close read.

The problemA full paper takes a long time to read, and it is hard to tell which sections matter before reading them.

The outcomeA folded view of the paper as a map of its sections, which you zoom into to reach the exact sentences you need.

What you need first

  • Python 3.9 or newer, or the TextFold desktop app for macOS or Windows
  • A model you already have, such as Claude Code, Codex, a ChatGPT plan, an API key, or a free OpenRouter setup

Steps

  1. Run python3 -m pip install textfold in a terminal, then run python3 -m textfold serve.
  2. Open http://localhost:3017 in your browser.
  3. If the first page asks, connect a model: use Claude Code, Codex, or your ChatGPT plan, or click OpenRouter in one click.
  4. Paste the paper's arXiv or PubMed Central link and pick a language.
  5. Read the map at level 5, then press 3 or 2 on a section you want to understand more closely, and press 1 for the original text.

Prompt for your agent

Using the TextFold repo at github.com/chenxiachan/textfold, run `python3 -m textfold get <paper-link> --level key --section 3` to get the key points of section 3 of the paper. Expected output: the points of that section, each with its reason. Verify that every point is marked as model-written and points back to the author's sentences it rests on.

Caveat. Each level below Full is a fold of the text, and lines at levels 3 to 5 are written by a model, so check them against the original sentences they cite.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for chenxiachan/textfold and "Read a long paper from overview to full text"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer