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

How to use Textfold: what you can do with it

What is Textfold? TextFold is an open-source Python tool that folds papers, web pages, files, and AI replies into five levels of detail, from a one-screen overview down to the original text.

How do I use it? 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. Full steps below.

Trended earlier

View repo on GitHub

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

· GitHub stats as of

5 use cases

  • Read a long paper from overview to full text

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

    View prompt
    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.
  • Let an agent read a document map first, then one section

    Give an agent a command that returns a document one level at a time, coarsest first.

    View prompt
    Using the TextFold repo at github.com/chenxiachan/textfold, run `python3 -m textfold get <document> ` first without a level to read the section map, then run it again with `--level key --section <n>` for the one section that answers the task. Expected output: the section topics, then the points of that section with their reasons. Verify that each model-written line is marked as such before using it.
  • Fold long Claude Code replies to a level you can scan

    Install the TextFold mod so every Claude Code reply shows five levels, from one sentence to full text.

    View prompt
    Using the TextFold repo at github.com/chenxiachan/textfold, install the Claude Code plugin with `claude plugin marketplace add chenxiachan/textfold` and `claude plugin install textfold@textfold`. Expected output: after a reply, pressing 5 shows the answer in one sentence and pressing 1 shows the full reply. Verify that the Full level matches the reply exactly, since nothing is paraphrased.
  • Export a folded paper as one page that opens without a server

    Export a paper's levels as a single HTML file to share or keep offline.

    View prompt
    Using the TextFold repo at github.com/chenxiachan/textfold, run `python3 -m textfold export <arxiv-id>` for the paper with ID <arxiv-id>. Expected output: an HTML file with the five levels of that paper. Verify that the file opens in a browser with no server running and that the license note under the title is still shown.
  • Open your Zotero library items as folded text

    Connect TextFold to the Zotero 7 app and read any library item in five levels.

    View prompt
    Using the TextFold repo at github.com/chenxiachan/textfold, enable Zotero 7 communication under Settings › Advanced, then open the Zotero library in TextFold. Expected output: your Zotero collections listed, and the chosen item shown at its folded levels. Verify that the item's title and authors match what is in Zotero, and that nothing in the Zotero library has changed.

Quick start with Textfold

  1. Check you have what it needs: 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.
  2. Open chenxiachan/textfold on GitHub and read the README and license.
  3. Run python3 -m pip install textfold in a terminal, then run python3 -m textfold serve.
  4. Open http://localhost:3017 in your browser.
  5. If the first page asks, connect a model: use Claude Code, Codex, or your ChatGPT plan, or click OpenRouter in one click.
  6. Paste the paper's arXiv or PubMed Central link and pick a language.

These steps come from our top use case, Read a long paper from overview to full text, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for chenxiachan/textfold

Add Deduped to Claude Code once

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

Cursor, ChatGPT, others

Best AI repos for Research · Compared in: Best open-source AI repos for research with AI agents

About this repo

  • Who it is forResearchers, students, and people who read long documents or long AI replies and want to zoom from an overview to the full text.
  • Why it is hot930 stars on GitHub as of Nov 6, 2026, launched Oct 4, 2026, picked up by one AI source we track
  • LanguagePython
  • Sourcegithub.com/chenxiachan/textfold · Back to Hot repos

Requirements

  • 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

Add this badge to your README

Maintain Textfold? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/chenxiachan/textfold.svg)](https://dedupedai.com/use-cases/chenxiachan-textfold/?utm_source=github&utm_medium=badge&utm_campaign=chenxiachan-textfold)

HTML

<a href="https://dedupedai.com/use-cases/chenxiachan-textfold/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=chenxiachan-textfold"><img src="https://dedupedai.com/badge/chenxiachan/textfold.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Textfold

What is Textfold?

TextFold is an open-source Python tool that folds papers, web pages, files, and AI replies into five levels of detail, from a one-screen overview down to the original text. It is an open-source project on GitHub: https://github.com/chenxiachan/textfold.

How do I use Textfold?

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. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Textfold for?

Researchers, students, and people who read long documents or long AI replies and want to zoom from an overview to the full text.

What can I do with Textfold?

5 use cases so far, for example: Read a long paper from overview to full text; Let an agent read a document map first, then one section; Fold long Claude Code replies to a level you can scan. Each has steps and a copy-paste agent prompt.

What do I need to run Textfold?

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.

What are alternatives to Textfold?

Other hot AI repos in Research: Deep Tutor, Local Deep Research, Project Nomad, Nanochat, We Knora.

Is Textfold safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.