How myahyazahid/autojurnal works
AutoJurnal converts a journal’s DOCX template into an editable rule profile, then checks uploaded manuscripts against that profile and returns annotated DOCX files with a summary. Users manage profiles, run single or batch checks, and review history; admins also manage accounts and optional AI settings. The README documents the wider checking and account capabilities; sampled excerpts show the API’s checking call and upload cleanup, but not every internal dispatch or persistence detail, so uncertain links are omitted.
Main entry points: main.py FastAPI endpoints · App.tsx App and routes · layanan.py Check orchestration · api.ts API client
Components 25
Web interface
- App and routes
frontend/src/App.tsx - Manuscript check
frontend/src/pages/CekNaskah.tsx - Results display
frontend/src/components/HasilCek.tsx - Journal profiles
frontend/src/pages/Jurnal.tsx - History views
frontend/src/pages/Riwayat.tsx - API client
frontend/src/lib/api.ts
Application API
- FastAPI endpoints
backend/app/main.py
Template and checking engine
- Template extraction
backend/app/engine/ekstrak.py - DOCX model
backend/app/engine/docmodel.py - Paragraph classification
backend/app/engine/klasifikasi.py - Rule profile schema
backend/app/engine/profil.py - Check orchestration
backend/app/engine/layanan.py - Rule checks
backend/app/engine/periksa.py - Citation checks
backend/app/engine/referensi.py - Word annotations
backend/app/engine/anotasi.py
Accounts and integrations
- Authentication and roles
backend/app/auth.py - AI template reader
backend/app/ai/ekstrak_ai.py - Narrative AI checks
backend/app/ai/naratif.py - AI client
backend/app/ai/klien.py
Persistent data
- SQLite data
backend/app/db.py - Template files
backend/app/main.py - Annotated files
backend/app/main.py
Other components
- User / admin
- OpenAI-compatible AI
- Google OAuth
Connections 28
- User / admin → App and routes: uses
- App and routes → Manuscript check: routes to
- App and routes → Journal profiles: routes to
- App and routes → History views: routes to
- App and routes → API client: calls
- Manuscript check → API client: submits checks
- Manuscript check → Results display: displays results
- Journal profiles → API client: manages profiles
- History views → API client: loads history
- API client → FastAPI endpoints: HTTP requests
- FastAPI endpoints → Authentication and roles: authenticates
- FastAPI endpoints → SQLite data: reads and writes
- FastAPI endpoints → Template files: reads and writes
- FastAPI endpoints → Annotated files: writes and deletes
- FastAPI endpoints → Template extraction: extracts profile
- FastAPI endpoints → Check orchestration: checks manuscript
- Template extraction → DOCX model: models DOCX
- Template extraction → Paragraph classification: classifies content
- Template extraction → Rule profile schema: produces rules
- Check orchestration → Rule checks: runs rule checks
- Check orchestration → Citation checks: checks citations
- Check orchestration → Word annotations: adds Word comments
- FastAPI endpoints → AI template reader: optionally reads template
- Check orchestration → Narrative AI checks: optionally assesses content
- AI template reader → AI client: requests completion
- Narrative AI checks → AI client: requests completion
- AI client → OpenAI-compatible AI: sends prompts
- Authentication and roles → Google OAuth: OAuth exchange