gitwtfhub

wtf is feiqilai?

gbnb666/feiqilai — explained in plain English

Analysis updated 2026-05-18

10PythonAudience · researcherComplexity · 3/5Setup · moderate

TL;DR

An AI tool that automatically reformats academic papers, including tables, references, and captions, to match university formatting requirements.

Mindmap

mindmap
  root((repo))
    What it does
      Formats academic papers
      Uses AI to detect structure
    Tech stack
      FastAPI backend
      React frontend
      DeepSeek API
    Use cases
      Reformat thesis papers
      Generate tables of contents
    Audience
      Students
      Researchers

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

Why would anyone build with this?

REASON 1

Upload a thesis or paper draft and have it auto-formatted to a specific university's style.

REASON 2

Convert plain tables into academic three-line tables automatically.

REASON 3

Renumber figures, tables, and references consistently across a long paper.

REASON 4

Generate a table of contents and export the final document as Word or PDF.

What's in the stack?

PythonFastAPISQLAlchemyReactTypeScriptTailwind CSSDeepSeek APIPyInstaller

How it stacks up

gbnb666/feiqilaiaarav90-cpu/fetchitadammartinez271828/x4-analysis
Stars101010
LanguagePythonPythonPython
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audienceresearcherdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires a DeepSeek API key and running both a Python backend and a Node frontend.

Wtf does this do

Feiqilai, whose Chinese name means AI Smart Formatting Assistant, is a tool for formatting academic papers. A user uploads a paper and the tool automatically applies formatting rules: recognizing titles, chapter structure, and reference lists using the DeepSeek AI model, then producing a properly formatted document. According to the README, the tool converts regular tables into the three line table style commonly required by academic papers in China, numbers figures and tables by chapter, renumbers references with hanging indents, and can automatically generate a table of contents. It also lets users adjust image width and alignment in bulk, fine tune fonts, font sizes, and spacing through a settings panel, and preview the formatted document as HTML before downloading. Finished documents can be downloaded in both Word and PDF formats. The project also ships several built in templates matching different Chinese university paper formats. Technically, the project has a FastAPI backend written in Python that uses SQLAlchemy and python-docx, paired with a React and TypeScript frontend styled with Tailwind CSS. The AI analysis step calls the DeepSeek API. For development, the backend is started with a standard pip install and uvicorn command while the frontend uses npm install and npm run dev, after which the app is reachable locally. The project can also be packaged into a single Windows executable using PyInstaller, producing a file that opens directly in the browser when double clicked. The README organizes the codebase into a backend with separate modules for AI analysis, file handling, the formatting engine, image formatting, job management, HTML preview, school templates, and user templates, plus a frontend split into pages, modules, and components. This is a practical tool aimed at students and researchers who need to reformat papers to match specific institutional requirements rather than a general purpose document editor.

Yoink these prompts

Prompt 1
Help me set up the FastAPI backend and React frontend for Feiqilai on my machine.
Prompt 2
Explain how Feiqilai's DeepSeek-based analyzer detects paper titles and chapter structure.
Prompt 3
Show me how to add a new university template to Feiqilai's school_template module.
Prompt 4
Walk me through packaging Feiqilai into a standalone Windows exe with PyInstaller.

Frequently asked questions

wtf is feiqilai?

An AI tool that automatically reformats academic papers, including tables, references, and captions, to match university formatting requirements.

What language is feiqilai written in?

Mainly Python. The stack also includes Python, FastAPI, SQLAlchemy.

How hard is feiqilai to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is feiqilai for?

Mainly researcher.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.