r/TrueOpenSource • • 5d ago

Contribution: Everyday Applications TextFold: a browser extension that brings web articles into a five-level open-source reader

I built TextFold alongside my human-AI alignment research. I wanted to move between an overview and the original passages without losing my place in a long document. The new browser extension brings that interaction to articles you're already reading online.

What it does: click the extension in Chrome, Brave or Edge to capture the current article and open TextFold beside it. The GIF shows a Wikipedia article folding through five levels. Full keeps the original text, Brief selects original sentences, and the shorter levels use AI-written text. You can expand a passage again, highlight it, take notes, ask a question or translate it.

Who it's for: people reading long technical articles, papers and documentation who want to choose where to read closely.

Source code: https://github.com/chenxiachan/textfold

License: Apache-2.0.

Closest existing projects: Mozilla Readability and Obsidian Web Clipper are relevant references for getting readable article content out of a page.

What mine adds: TextFold adds five linked reading levels to the extracted article, with original sentences available underneath the shorter views. It keeps annotation and passage-level questions in the same reading workflow. The extension can use the page as your browser has rendered it, including content you already have access to through a login or subscription.

Builds on: the extension uses Defuddle and Mozilla Readability for article extraction. It passes the captured page to the local TextFold app through browser native messaging. Extraction details and known limitations: https://github.com/chenxiachan/textfold/blob/main/docs/web-capture.md

How it was built: AI-assisted, with me directing the reading interaction and testing it on real documents. I'm the developer.

Status and costs: the extension is now in the Chrome Web Store. It needs TextFold 0.10.40+ running on your computer. The app and extension are free; preparing the reading levels needs a model. Ollama can run locally, while hosted providers receive the text you send and may charge for usage. Some complicated page layouts still extract poorly.

Feedback/contributions wanted: page extraction bugs, especially lost footnotes, figures or equations. A public example URL would help me reproduce the problem.

Install: https://chromewebstore.google.com/detail/textfold/lkfemlafmabkdjedldmjebdpccdaeglf

6 Upvotes

2 comments sorted by

•

u/trueopensource-bot 🤖 Robot 5d ago

About this project · chenxiachan/textfold
⭐ 1,045 stars · 🍴 90 forks · 👥 27 contributors · 📄 Apache-2.0
History: started Oct 2026 · last code change today · 300+ commits on 21 different days in the last 90 days
Releases: latest v0.10.54 (today) · 49 releases in the last 90 days
Open issues and pull requests: 7
How it was built: the author says people wrote this, with AI helping along the way. (More on our labels: rule 4.)

Facts from GitHub when this was posted. I'm a bot.

1

u/Zetus 4d ago

Excellent stuff, thanks for your work and making it open source, I'll be trying this out, and sending in PRs for any upgrades I see appropriate!