DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

  • 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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page