Skip to content

kaogong-shuati

Local-first civil service exam practice app with AI explanations, for web and Android

Permissive (OSI) · MIT

Listed by , founder & editor

42

Health

Slowing

Overview

Stars

273

Last commit

2 months ago

Sep 2026

Repository age

3 months

since Aug 2026

Latest version

–

Contributors

–

2 active in 90 days

Releases

0

last 12 months

Language

JavaScript

This is a practice app for Chinese civil service exams, covering the xingce and shenlun papers as well as public institution exams. It pairs a dependency-free Node.js backend with a local SQLite question bank. The same code serves a browser and an Android app built with Capacitor.

You practice through a topic tree, with a mistakes notebook, bookmarks, redo, and statistics including a seven-day trend. Records are saved on the server, so progress syncs between phone and computer. You can also import your own questions from pasted text, PDF, Excel or image OCR.

Five pluggable AI agents explain xingce questions, grade shenlun essays, transcribe images, advise on progress and structure imported questions. Each uses any OpenAI-compatible endpoint with its own base URL, key and model, such as DeepSeek, Qwen, GLM, OpenAI or a local Ollama.

The code is MIT licensed. The bundled question data is for personal study only and may not be used commercially or redistributed.

Who it's for

Civil service exam candidates who study on phone and PC

Practice records sync across devices and an Android build is available.

Skip if: You want a hosted service with no setup.

Self-studiers who want AI feedback on essays

Shenlun grading uses a scoring-point method with your own model.

Skip if: You do not want to configure an API key or run a model.

Developers adapting an exam-prep tool

The backend has no dependencies and the code is MIT licensed.

Skip if: You plan commercial use of the bundled question data.

The problem it solves

Exam prep platforms often charge for question banks and explanations. This app gives you a local question bank, mistake tracking and AI help you can point at your own model.

Strengths

  • Runs as web app and Android app from one codebase
  • Five AI agents using any OpenAI-compatible endpoint
  • Imports your own questions from text, PDF, Excel or image OCR
  • Mistakes notebook, bookmarks and a seven-day trend view
  • Backend has no dependencies and needs Node.js 22.5 or newer

Trade-offs

  • Question data is for personal study only, not commercial use
  • The split question database must be reassembled after cloning
  • AI features need your own API key or local model
  • Interface and content are in Chinese; no releases in the last year

Self-host kaogong-shuati

Self-hostable
No (desktop or local app)

Quick start

node server.mjs 3000

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. The code is MIT licensed, though the question data is for personal study only.

What do I need to run it?

Node.js 22.5 or newer. Run the reassemble script once after cloning, then start the server.

Which AI providers work?

Any OpenAI-compatible gateway, including DeepSeek, Qwen, GLM, OpenAI or local Ollama.

Is there an Android app?

Yes. The app folder is a Capacitor project, and a build manual is included.

Similar tools in Quiz and flashcard apps

cortex (pndaman/cortex)

Quiz and flashcard apps

Local-first desktop study app that turns course material into flashcards, quizzes and

54 15 28 days ago Active Apache-2.0

OpenTutor

Quiz and flashcard apps

Local-first AI tutor that turns course PDFs into notes, flashcards and quizzes

191 46 4 days ago Active MIT

AnyMemo

Quiz and flashcard apps

159 52 6 months ago Dormant GPL-2.0