How aminhizi/lx works
This is a browser-based image/document-to-LaTeX converter. A user selects a file in the workspace, submits it to the backend, and receives generated LaTeX for display and copying. The backend sends uploaded image data and conversion instructions to Google Gemini. The sampled code shows image conversion; text conversion is present only as commented-out code. The README is empty, so broader format support advertised by the UI is not verified. The frontend-to-backend proxy is configured, but its development configuration does not establish the production routing setup.
Main entry points: workSpace.jsx Conversion workspace · server.js Convert API · App.jsx App shell · main.jsx React entry
Components 6
Frontend
- React entry
frontEnd/src/main.jsx - App shell
frontEnd/src/App.jsx - Conversion workspace
frontEnd/src/pages/workSpace.jsx
Conversion backend
- Convert API
backend/server.js
External service
- Google Gemini
Other components
- User
Connections 6
- User → Conversion workspace: selects and submits
frontEnd/src/pages/workSpace.jsx - React entry → App shell: renders
frontEnd/src/main.jsx - App shell → Conversion workspace: renders
frontEnd/src/App.jsx - Conversion workspace → Convert API: posts file
frontEnd/src/pages/workSpace.jsx - Convert API → Google Gemini: requests LaTeX
backend/server.js - Convert API → Conversion workspace: returns LaTeX
backend/server.js