How 3obhan/mantech works
Mantech is a bilingual browser-based reasoning analyzer. Users choose a language, enter text, and Analyze dispatches it to local WebLLM or—optionally—Groq; the resulting fallacy explanations can be presented as an exam-style PDF and analysis history is retained in browser storage. The app also documents reference examples, informational pages, and feedback/support destinations. Edges reflect visible routing, calls, storage operations, or README claims; unsampled component behavior and connections are not inferred.
Main entry points: App.tsx App router · Analyze.tsx Analyze workflow · webllmAnalyzer.ts Local WebLLM · groqAnalyzer.ts Groq fallback
Components 16
App and navigation
- App router
src/App.tsx - Language choice
src/components/LanguageSelect.tsx - Home
src/components/Home.tsx
Reasoning analysis
- Analyze workflow
src/components/Analyze.tsx - Local WebLLM
src/webllmAnalyzer.ts - Groq fallback
src/groqAnalyzer.ts - Model distribution
- Groq service
Results and records
- Exam paper export
src/components/ExamPaper.tsx - Analysis history
src/components/History.tsx - App state and storage
src/store.tsx
Guidance and engagement
- Logic examples
src/components/Samples.tsx - Spiritual feedback
src/components/Spiritual.tsx - About and privacy
src/components/About.tsx - Bilingual text
src/i18n.ts
Other components
- User
Connections 15
- User → App router: opens
README.md - App router → Language choice: selects initially
src/App.tsx - App router → Home: routes to
src/App.tsx - App router → Analyze workflow: routes to
src/App.tsx - App router → Analysis history: routes to
src/App.tsx - App router → Spiritual feedback: routes to
src/App.tsx - App router → About and privacy: routes to
src/App.tsx - App router → Logic examples: routes to
src/App.tsx - Analyze workflow → Local WebLLM: runs analysis
src/components/Analyze.tsx - Analyze workflow → Groq fallback: runs fallback
src/components/Analyze.tsx - Local WebLLM → Model distribution: downloads models
README.md - Groq fallback → Groq service: sends text
README.md - Analyze workflow → Exam paper export: exports PDF
- Analysis history → App state and storage: reads and deletes
src/components/History.tsx - App state and storage → User: persists history
src/store.tsx