20 Repos, 2M Stars: The Open Source Text Mining Tools That Read, Retrieve and Teach.
Introduction
In one week, graphify picked up 3.4K GitHub stars - more than the combined total of the five most starred document parsers. That's a clear indicator of what developers are going for - less PDF parsing, more agent memory.
Text mining used to mean one library and a bag of words. Today, it's more of a pipeline really: one tool reads the raw document, another indexes it so that a model can retrieve the right bit, and a third one maintains context across sessions. Most of the popular repos on GitHub are now in that pipeline.
Every repo below comes from TextMining.Tech, HackerNoon's directory of over 7,000 open source text mining tools, libraries and frameworks with 100+ stars each. They're grouped by the job they do, so you can see which part of the pipeline you're adding. This is part 1 of a four-part series.
What the data says
- 20 repos hold 16% of the directory's stars. Together they have about 1.99M of the 12.7M stars across all 7,061 repos.
- Retrieval is where the stars are. The eight retrieve-and-remember repos hold 935K stars, nearly as many as the document and course groups combined (1.05M). This week they added 9.1K more, over 2.5 times what the other 12 repos added together (3.5K).
- A newcomer is climbing fast. xerj has only 21.3K stars but added 2.1K this week, second only to graphify on this list.
- Tesseract still holds 77.6K stars. The C++ OCR engine sits beside PaddleOCR (93.1K) and MinerU (84.3K), which convert pages straight into LLM-ready output.
- Courses keep growing without updates. d2l-zh hasn't been updated since July 2024 and still added 150 stars this week.
- Half the list is Apache-2.0. 10 of 20 repos use Apache-2.0, 6 use MIT, and 4 use another license.
Read the document: 5 repos, 414K stars
These tools get text out of scans, PDFs, Office files and web pages, and hand it on in a shape a model can use. The newer ones skip plain text entirely and output markdown or JSON. For the full field, see our list of 138 open source OCR and PDF parsers.
Repo | Stars | Added this week | Language, license | What it does |
|---|---|---|---|---|
93.1K | +325 | Python, Apache-2.0 | Lightweight OCR toolkit that turns images and PDFs into structured data for LLMs, in 100+ languages | |
87.8K | +280 | Python, Apache-2.0 | Self-hostable crawler that scrapes and extracts web pages for AI agents | |
84.3K | +460 | Python, other | Converts complex PDFs and Office documents into markdown or JSON for agent workflows | |
77.6K | +83 | C++, Apache-2.0 | The long-standing open source OCR engine many other tools wrap | |
71K | +271 | Python, MIT | Parses documents into clean, structured input for generative AI |
PaddleOCR leads on stars, but it was last updated Sep 16, 2026. MinerU, docling and crawl4ai all shipped changes in the past week.
Retrieve and remember: 8 repos, 935K stars
Once text is extracted, a model still has to find the right piece of it at the right moment. That is retrieval-augmented generation (RAG), and this group has grown past it: memory layers that persist between sessions, knowledge graphs built from code, and compressors that trim what reaches the model.
Repo | Stars | Added this week | Language, license | What it does |
|---|---|---|---|---|
159.4K | +505 | Svelte, other | Self-hosted chat interface for Ollama and OpenAI-compatible models | |
156.9K | +186 | Python, MIT | Visual builder for designing and deploying agents and AI workflows | |
152.9K | +3.4K | Python, Apache-2.0 | Turns a codebase and its docs, schemas and PDFs into a queryable knowledge graph, with no vector store | |
149.9K | +166 | Python, MIT | Framework for building and running LLM agents | |
119.5K | +1.6K | TypeScript, Apache-2.0 | Records what a coding agent does, compresses it, and feeds relevant context into later sessions | |
94.6K | +333 | Go, Apache-2.0 | RAG engine that has grown into context infrastructure for agents | |
80.7K | +853 | Python, Apache-2.0 | Compresses tool output, logs and RAG chunks before they reach the model, as a library, proxy or MCP server | |
21.3K | +2.1K | Rust, Apache-2.0 | One Rust binary that indexes code, docs, logs and PDFs for full-text, vector and hybrid search and agent memory, behind an Elasticsearch-compatible API and an MCP server |
Four of these are built for agents, and they're the ones climbing: graphify, xerj, claude-mem and headroom added nearly 8K stars between them this week.
Learn to build it: 7 repos, 640K stars
Not every popular repo is a library. These are free courses and guides, mostly notebooks you run yourself, and they collect stars long after their last commit. Two of the seven are written in Chinese, a reminder of how much of this audience reads outside English.
Repo | Stars | Added this week | Language, license | What it teaches |
|---|---|---|---|---|
124.1K | +383 | Jupyter, MIT | 21 lessons on building applications with generative AI | |
109K | +434 | Jupyter, other | Building a ChatGPT-style model in PyTorch, one step at a time | |
87.9K | +622 | Python, other | A Chinese-language tutorial on how agents work and how to build one from zero | |
85.2K | +61 | Notebooks, Apache-2.0 | Roadmaps and Colab notebooks for getting into LLMs | |
82.7K | +150 | Python, Apache-2.0 | The Chinese edition of Dive into Deep Learning, with runnable code, taught at hundreds of universities | |
80.3K | +191 | MDX, MIT | Guides, papers and notebooks on prompting, context engineering, RAG and agents | |
71.2K | +263 | Jupyter, MIT | A 12-week, 24-lesson introduction to AI |
hello-agents added the most stars in this group this week, ahead of both Microsoft courses.
All numbers come from the TextMining.Tech snapshot of Nov 24, 2026. The directory tracks open source GitHub repos with at least 100 stars, excludes archived repos and forks, and refreshes daily. We started from the directory's top repos by stars, then sorted them into three groups by the job each does in a text pipeline. Some repos carry more than one category tag on the site; each one appears here only once, under its main job. "Added this week" is the directory's own weekly star count. Stars will have moved by the time you read this, so each repo name links to its live directory page.
What's next, and where to dig further
The most-starred repo in the whole directory isn't on this list. huggingface/transformers has 169.2K stars, but it's a model library, not a pipeline tool, so it gets its own episode, next to LlamaFactory and the rest of the fine-tuning crowd.
Speech comes after that, and it's moving fast. VoiceStudio picked up 5.1K stars this week. Nothing above came close.
If you want the long tail, each group has its own category on TextMining.Tech: OCR & Documents has 707 repos, Search & Retrieval has 1,526, and Language Models has 1,381. Or open the full directory of 7,061 repos and sort by "Trending this week". That's how VoiceStudio showed up on our radar.
The bar to get in is 100 GitHub stars.