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

How to export a folded paper as one page that opens without a server with Textfold

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

Short answer: Fold the paper first, either in the reader at http://localhost:3017 or with the command below; then run python3 -m textfold export 2512.23916 to write the page without your notes; in the reader, click **Save** at the top to keep the page with your notes, or keep only your notes as a page, a PDF, Markdown for Obsidian, or JSON. All steps.

  • Research
  • Intermediate
  • 15 minutes
  • From the README
  • Any agent

Who it is forA reader who wants to pass a summarized paper to a colleague or keep a copy that opens in any browser.

The problemA folded reading view lives on a local server, so it is not easy to send to someone else.

The outcomeOne HTML file with the levels, your chosen notes, and optionally the original PDF beside the text.

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. Fold the paper first, either in the reader at http://localhost:3017 or with the command below.
  2. Run python3 -m textfold export 2512.23916 to write the page without your notes.
  3. In the reader, click **Save** at the top to keep the page with your notes, or keep only your notes as a page, a PDF, Markdown for Obsidian, or JSON.
  4. Send the HTML file. It opens anywhere without a server.

Prompt for your agent

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.

Caveat. The README says that when you share a file, you must follow the terms of the original text, which appear under its title.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for chenxiachan/textfold and "Export a folded paper as one page that opens without a server"

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