How moeflow-com/moeflow works
MoeFlow is a collaborative project-hosting and manga-image translation product. Its user workflow runs from navigating the web app and managing projects/files to working with image translations; team membership and applications support collaboration. The backend exposes API resources and persists domain models, with asynchronous OCR and file-processing capabilities. The excerpts show routing, state composition, application handling, and parts of OCR/storage; many other feature links are documented only by the source index, so unverified runtime connections are omitted or dashed.
Main entry points: ocr.py OCR processing · index.ts API client · factory.py Backend app setup · App.tsx Web app routing
Components 22
Web client
- Web app routing
frontend-v1/src/App.tsx - API client
frontend-v1/src/apis/index.ts - Client state
frontend-v1/src/store/index.ts
Translation workspace
- Project workflow
frontend-v1/src/pages/Project.tsx - Image translation
frontend-v1/src/pages/ImageTranslator.tsx - AI translation tools
frontend-v1/src/components/ai - Hotkey settings
frontend-v1/src/store/hotKey/slice.ts
Collaboration
- Team management
frontend-v1/src/pages/Team.tsx - Join applications
backend-v1/app/apis/application.py - Application records
backend-v1/app/models/application.py
Backend domain
- Backend app setup
backend-v1/app/factory.py - Backend API resources
backend-v1/app/apis - Project and team models
backend-v1/app/models/project.py - File and image data
backend-v1/app/models/file.py - Languages
backend-v1/app/models/language.py - Users
backend-v1/app/models/user.py - MongoDB
Media processing
- OCR processing
backend-v1/app/tasks/ocr.py - Object storage
backend-v1/app/services/oss.py - Vision temp storage
backend-v1/app/services/google_storage.py
Other components
- User
- Google Vision API
Connections 26
- User → Web app routing: uses
frontend-v1/src/App.tsx - Web app routing → Project workflow: routes to
frontend-v1/src/App.tsx - Web app routing → Image translation: routes to
frontend-v1/src/App.tsx - Web app routing → Client state: reads state
frontend-v1/src/App.tsx - Project workflow → API client: requests data
- Image translation → API client: requests data
- API client → Backend API resources: calls API
- Client state → API client: coordinates requests
frontend-v1/src/apis/index.ts - User → Team management: manages teams
- Team management → API client: requests data
- Backend API resources → Join applications: registers
- Join applications → Application records: queries and updates
backend-v1/app/apis/application.py - Join applications → Project and team models: checks permissions
backend-v1/app/apis/application.py - Backend app setup → Backend API resources: registers APIs
backend-v1/app/factory.py - Backend app setup → Project and team models: initializes models
backend-v1/app/factory.py - Backend app setup → Object storage: configures
backend-v1/app/factory.py - Backend app setup → Vision temp storage: configures
backend-v1/app/factory.py - Application records → MongoDB: persists records
backend-v1/app/models/application.py - File and image data → OCR processing: invokes processing
backend-v1/app/models/file.py - OCR processing → File and image data: updates sources
backend-v1/app/tasks/ocr.py - OCR processing → Object storage: downloads images
backend-v1/app/tasks/ocr.py - OCR processing → Vision temp storage: uploads temporary image
- OCR processing → Google Vision API: requests recognition
backend-v1/app/tasks/ocr.py - File and image data → MongoDB: stores file data
- Hotkey settings → User: stores preferences
- AI translation tools → User: assists translation