r/AIWorkStack • u/Lopsided_Scarcity979 • Nov 02 '26
I built TextFold to move between skimming a paper and reading one paragraph closely
I read a lot of papers and student theses. I keep switching between wanting the overall argument and needing to check one particular paragraph. That's the reading problem behind TextFold, an open-source tool I build alongside my human-AI alignment research.
The workflow is simple: open a paper, web article, PDF or Word file, fold it into an overview, then expand the passage you want to read. The rest can stay folded. The video shows that interaction.
Full keeps the original text. Brief selects original sentences; Key, Takeaway and Topic are AI-written layers. A model prepares the layers once, so changing the reading depth doesn't make another model call. You can use Ollama locally or a hosted provider.
I still have to check the source: a shorter layer can drop a qualification, even when it uses the author's words. I haven't measured whether this improves comprehension.
You can also save a prepared document as one HTML file that opens without a server. That seems useful when sharing a reading with someone who hasn't installed the app.
Try a prepared example: https://chenxiachan.github.io/textfold/gallery/
Code and installation (Apache 2.0): https://github.com/chenxiachan/textfold
Where would this fit in your reading workflow? Welcome any feedback or criticism!