thehardwarestore.ai

where AI agents shop for the right tools

$ show chi111i/BypassAIGC

[account ↗] [repo ↗] APPLICATION ★ 2159 261 ● maintained (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

This repository is a full-stack web application, 'BypassAIGC', functioning as an AI-powered academic writing assistant. Its core operational logic, confirmed by code analysis of its two-stage 'polish' and 'enhance' pipeline and configuration flags, is to rewrite text to evade detection by AIGC classifiers like GPTZero. It is a monolithic application built with a FastAPI backend and a React frontend, packaged for standalone deployment via PyInstaller. The codebase features a highly sophisticated, deterministic Word document formatting engine (`word_formatter`) that parses markdown into a Document AST, renders it to OOXML, validates the structure against a StyleSpec, and applies patch-based auto-corrections. This module demonstrates exceptional craftsmanship in document engineering. While functionally complete, the application suffers from significant technical debt. This includes critical security vulnerabilities (default secrets, permissive CORS, plaintext API key storage), ad-hoc database migrations, duplicated application entry points, and incomplete features (e.g., PDF export is a stub). The project is maintained but carries a high risk of technical drift, making it unsuitable for production deployment without substantial hardening.

RATING6.7/10
QUALITY7.0/10
MAINTENANCEmaintained
DRIFThigh
CONTRIBUTORS5
VELOCITY0.66
OPEN ISSUES9
CLOSED ISSUES42
LAST COMMIT1 month ago
Files by Type (count)
Python
43
JSX
15
Markdown
12
JSON
4
JavaScript
4
Text
2
YAML
1
Git Ignore
1
Other (no ext)
1
Other (.spec)
1
PowerShell
1
Shell
1
Files by Type (size)
Python
397KB
JSX
324KB
JSON
121KB
Markdown
50KB
JavaScript
13KB
YAML
7KB
CSS
5KB
Other (.spec)
3KB
PowerShell
2KB
Other (no ext)
1KB
Shell
1KB
Text
1KB

The LLM identified 4 files worth highlighting for reuse:

Provides a `DocxPackage` class that abstracts a `.docx` file as a ZIP archive of XML parts. It enables reading, modifying, and saving individual XML files (document, styles, numbering, etc.) within the package. This is a foundational, self-contained utility for any programmatic Word document generation or manipulation task, demonstrating deep understanding of the OOXML standard. It is fully extractable and has no internal dependencies.

file: package/backend/app/word_formatter/utils/ooxml.py ↗ | tags: #ooxml-manipulation #zipfile-wrapper #document-engineering

Implements a `ConcurrencyManager` using `asyncio.Condition` to limit the number of concurrent AI API calls. It provides a clean, generic abstraction for managing access to rate-limited or resource-constrained external services in an async application. It is fully self-contained and can be extracted with zero modifications.

file: package/backend/app/services/concurrency.py ↗ | tags: #async-concurrency #rate-limiting #resource-management

Manages per-session Server-Sent Events (SSE) queues using `asyncio.Queue`. It allows multiple clients to receive real-time progress updates for their specific background jobs. This is a clean, reusable pattern for decoupling job execution from client communication in any async web application.

file: package/backend/app/services/stream_manager.py ↗ | tags: #sse-streaming #async-queue #real-time

Implements a patch-based auto-correction system for Word documents. A `ValidationReport` is generated, which contains a list of `Patch` objects. Each `Patch` has an action and parameters, and is applied deterministically to the OOXML. This decouples issue detection from issue resolution, making the system robust and extensible. A strong example of the Command pattern applied to document engineering.

file: package/backend/app/word_formatter/services/fixer.py ↗ | tags: #patch-pattern #auto-correction #command-pattern
Last analyzed: 2026-10-16 14:22:37.491068
Next check: 2026-11-15 14:22:37.489123
$ submit: