Open-source Python library for AI browser agents that let an LLM operate a real browser, with an optional hosted cloud browser and agent API.
siknet/FreePEP
A Python tool with a WebUI and CLI for batch-downloading PEP (People's Education Press) electronic textbooks and merging them into PDFs.
- Stars
- 1,326
- Forks
- 209
- Open issues
- 2
- Last commit
- 30 days ago
What is it?
FreePEP downloads electronic textbooks from the People's Education Press (PEP) online platform. It covers a catalog of roughly 780 textbooks across primary, junior high, and high school levels, plus special education schools, and filters them by education stage, subject, and grade. Users can pick books through a web interface or a command-line tool, and the downloaded page images are assembled into PDF files using Pillow.
The project includes a decryption step for the catalog data and handles the platform's Alibaba Cloud WAF slider captcha automatically, using Playwright with headless Chromium. A separate batch script saves files into a stage/grade folder structure, resumes interrupted downloads, and deletes temporary image slices after each merge. A Windows build script packages the app as a standalone executable with a bundled browser.
Key features
- 01Browse and filter textbooks by education stage, subject, and grade through a WebUI.
- 02Offers an interactive CLI and parameter-driven mode for scripting.
- 03Downloads high-resolution page images and merges them into PDF files.
- 04Automatically handles the platform's slider captcha with headless Chromium.
- 05Saves files in stage/grade folders and resumes interrupted batch downloads.
- 06Can be packaged as a standalone Windows executable.
Use cases
- Saving a full set of PEP textbooks for offline reading by a parent or teacher.
- Batch-archiving a specific stage or grade for a school or study group.
- Scripting regular downloads of textbook PDFs through the CLI.
Topics
FAQ
- What is FreePEP?
- A Python tool with a WebUI and CLI for batch-downloading PEP (People's Education Press) electronic textbooks and merging them into PDFs. FreePEP downloads electronic textbooks from the People's Education Press (PEP) online platform. It covers a catalog of roughly 780 textbooks across primary, junior high, and high school levels, plus special education schools, and filters them by education stage, subject, and grade. Users can pick books through a web interface or a command-line tool, and the downloaded page images are assembled into PDF files using Pillow.
- Is FreePEP free to use? What license does it have?
- FreePEP is open source under the MIT license. Check the license terms before using it in commercial products.
- Is FreePEP still maintained?
- Actively maintained. The last commit to FreePEP was on Sep 19, 2026.
- What can I use FreePEP for?
- Saving a full set of PEP textbooks for offline reading by a parent or teacher. Batch-archiving a specific stage or grade for a school or study group. Scripting regular downloads of textbook PDFs through the CLI.
- Where can I get FreePEP?
- The source code and installation instructions are on GitHub: https://github.com/siknet/FreePEP
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Free, open-source AI Office suite that edits real .docx, .xlsx, .pptx and PDF files locally, with an AI agent and a genoffice CLI.
ManimGL is the 3Blue1Brown author's Python engine for programmatic, precise animations used to create explanatory math videos.
Python library that uses LLMs and graph-based pipelines to extract structured data from websites and local documents based on a natural-language prompt.
An open-source autonomous agent that runs deep research on web and local documents using any LLM provider, producing cited reports.
Python tool and library that removes image backgrounds, usable as a CLI, library, HTTP server, or Docker container.