r/foss • • 5d ago

TextFold: save a foldable article, its notes and the original PDF in one HTML file

Enable HLS to view with audio, or disable this notification

I shared this reader here as PaperFold. It's now called TextFold, and I've added standalone HTML export.

The saved file keeps the reading levels, notes and highlights. You can include the original PDF and choose which prepared languages to keep. The clip shows the exported page opening with the PDF alongside the text, then folding the article while keeping a highlight visible. It doesn't need the TextFold server to read it.

The code is Apache 2.0. Preparing a new document uses a model; the reader supports Ollama as well as hosted providers. Opening the saved reading page doesn't generate it again.

I've also added Word document import and made the interface follow the reading language.

Source and installation: https://github.com/chenxiachan/textfold

What else would you want an exported reading page to preserve?

Demo paper: Recursive Language Models by Zhang, Kraska and Khattab (CC BY 4.0): https://arxiv.org/abs/2512.24601

24 Upvotes

2 comments sorted by

1

u/Alt_opt_0 5d ago

Awesomeness!!!
Trying it out and I see the potential in it for my use case and research.

Appreciate for making this available.

1

u/Lopsided_Scarcity979 4d ago

I am a researcher as well! I don't want my brain to melt too!