How rudra496/stealthhumanizer works
StealthHumanizer is a web app and API for rewriting AI-generated text, checking its AI-likeness, and refining or exporting the result. The main workflow runs from the writing UI through the humanization API, which selects a provider or hosted model, rewrites text, and returns detection and fidelity assessments. Separate branches provide detection, grammar, batch work, file upload, and sentence refinement. The README documents additional provider and style options; the graph focuses on runtime paths supported by the sampled source and tree.
Main entry points: route.ts Humanize endpoint · Humanizer.tsx Humanizer UI · rudra-free.ts Hosted model client · page.tsx Web app
Components 26
User interfaces
- Web app
app/page.tsx - Humanizer UI
components/Humanizer.tsx - Detector UI
components/Detector.tsx - Batch UI
components/BatchHumanizer.tsx - Voice profiles
components/VoicePrintSetup.tsx
API workflows
- Humanize endpoint
app/api/humanize/route.ts - Detect endpoint
app/api/detect/route.ts - Batch endpoint
app/api/humanize-batch/route.ts - Grammar endpoint
app/api/grammar/route.ts - Upload endpoint
app/api/upload/route.ts - Refine endpoint
app/api/rehumanize/route.ts - Job shuttle
app/api/humanize-job/route.ts - v1 endpoint
app/api/v1/humanize/route.ts
Text processing
- Rewrite engine
lib/humanizer.ts - Style prompts
lib/prompts.ts - Output cleanup
lib/postprocess.ts - AI scoring
lib/detector.ts - Fidelity checks
lib/semantic-fidelity.ts
Models and state
- Provider runtime
lib/server/providers-runtime.ts - Hosted model client
lib/server/rudra-free.ts - Browser history
lib/storage.ts - Voice profile storage
lib/voiceprint/storage.ts
Other components
- Writer
- AI providers
- Rudra model server
- Job model server
Connections 36
- Writer → Web app: uses
- Web app → Humanizer UI: renders
- Web app → Detector UI: renders
- Web app → Batch UI: renders
- Web app → Voice profiles: renders
- Humanizer UI → Humanize endpoint: submits text
- Humanize endpoint → Style prompts: builds prompts
- Humanize endpoint → Provider runtime: generates rewrite
- Humanize endpoint → Hosted model client: uses hosted model
- Provider runtime → AI providers: calls model
- Hosted model client → Rudra model server: calls service
- Humanize endpoint → Output cleanup: cleans output
- Humanize endpoint → AI scoring: scores result
- Humanize endpoint → Fidelity checks: checks meaning
- Humanize endpoint → Browser history: saves history
- Detector UI → Detect endpoint: submits text
- Detect endpoint → AI scoring: scores text
- Detect endpoint → Hosted model client: requests hosted score
- Detect endpoint → AI providers: checks GPTZero
- Batch UI → Batch endpoint: submits texts
- Batch endpoint → Style prompts: builds prompt
- Batch endpoint → Provider runtime: rewrites items
- Batch endpoint → Output cleanup: cleans output
- Batch endpoint → AI scoring: scores output
- Humanizer UI → Grammar endpoint: checks grammar
- Grammar endpoint → Provider runtime: requests correction
- Grammar endpoint → Hosted model client: uses hosted correction
- Humanizer UI → Upload endpoint: uploads file
- Humanizer UI → Refine endpoint: refines sentences
- Refine endpoint → Provider runtime: rewrites sentences
- Refine endpoint → AI scoring: scores input
- Humanizer UI → Job shuttle: starts long job
- Job shuttle → Hosted model client: forwards job
- Hosted model client → Job model server: shuttles requests
- Humanizer UI → v1 endpoint: calls API
- Voice profiles → Voice profile storage: saves profiles