explaingit

huiyeji-7/pei-pei-shua

24KotlinAudience · generalComplexity · 2/5Setup · easy

TLDR

An Android study app for China's civil service exam that adds a floating AI button over any app, tap it to screenshot the screen and get an instant AI explanation of any question. Includes a built-in question bank, mistake notebook, and focus timer.

Mindmap

mindmap
  root((pei-pei-shua))
    Core feature
      Floating button overlay
      Screenshot and OCR
      AI explanation
    Question bank
      Six exam categories
      Import custom JSON sets
      Mistake notebook
    Study tools
      Pomodoro timer
      App blocker
      Study calendar
    AI support
      DeepSeek default
      OpenAI compatible
      Anthropic and Gemini
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Get instant AI explanations of civil service exam questions from any practice app on your Android phone without switching apps.

USE CASE 2

Study from a built-in question bank covering the six main exam categories, with wrong answers saved automatically to a mistake notebook.

USE CASE 3

Use the Pomodoro focus timer to block distracting apps during study sessions and track progress on a study plan calendar.

Tech stack

KotlinAndroidOCRDeepSeek APIOpenAI API

Getting it running

Difficulty · easy Time to first run · 5min

Bring your own API key for DeepSeek, OpenAI, Anthropic, or Gemini to enable the AI explanation feature.

No license information is mentioned in the explanation.

In plain English

This is an Android app designed to help people studying for China's civil service exam, a competitive test called the Xingce (administrative aptitude test). The app is written in Chinese and targets Chinese-language users preparing for government job entry exams. The core feature is a floating button that sits on top of any other app on the phone. When you tap it, the app takes a screenshot of whatever is on screen, reads the question text using character recognition technology, and then sends that text to an AI model to get a detailed explanation of the answer. This lets you get instant analysis while using any practice app or document viewer without switching back and forth. The default AI model connected is DeepSeek, but you can configure it to use OpenAI, Anthropic, or Gemini-compatible APIs by entering your own API key and model settings. The app also includes a built-in question bank covering the six main categories of the civil service exam: general knowledge, verbal reasoning, quantitative reasoning, logical reasoning, data analysis, and political knowledge. You can import your own question sets in JSON format. Incorrect answers are automatically saved to a mistake notebook, where you can compare the question bank's official explanation against the AI-generated one side by side. Additional tools bundled in the app include a dictionary with over 260,000 Chinese words, idioms, and phrases, a Pomodoro timer that can block non-study apps during focus sessions, a study plan calendar, and a knowledge card system for organizing study notes. Several of these features are marked in the README as still under development. The README is written in Traditional and Simplified Chinese. It states the project is intended for personal study and learning purposes only.

Copy-paste prompts

Prompt 1
I'm studying for China's civil service exam and installed huiyeji-7/pei-pei-shua. How do I configure the app to use my own Anthropic API key instead of the default DeepSeek model?
Prompt 2
The pei-pei-shua app saves incorrect answers to a mistake notebook. How do I export those mistakes or import my own question set in JSON format?
Prompt 3
Explain how the floating button in pei-pei-shua captures a screenshot and sends it through OCR to an AI model. What Android permissions does this workflow require?
Open on GitHub → Explain another repo

← huiyeji-7 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.